1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_AUTOCOMPLETE_EDIT_TRACKER_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_AUTOCOMPLETE_EDIT_TRACKER_H_ 7 #pragma once 8 9 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" 10 #include "chrome/browser/automation/automation_resource_tracker.h" 11 12 class AutomationAutocompleteEditTracker 13 : public AutomationResourceTracker<AutocompleteEditView*> { 14 public: 15 explicit AutomationAutocompleteEditTracker(IPC::Message::Sender* automation); 16 virtual ~AutomationAutocompleteEditTracker(); 17 virtual void AddObserver(AutocompleteEditView* resource); 18 virtual void RemoveObserver(AutocompleteEditView* resource); 19 }; 20 21 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_AUTOCOMPLETE_EDIT_TRACKER_H_ 22