| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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_OMNIBOX_TRACKER_H_ | |
| 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_OMNIBOX_TRACKER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "chrome/browser/automation/automation_resource_tracker.h" | |
| 10 #include "chrome/browser/ui/omnibox/omnibox_view.h" | |
| 11 | |
| 12 class AutomationOmniboxTracker | |
| 13 : public AutomationResourceTracker<OmniboxView*> { | |
| 14 public: | |
| 15 explicit AutomationOmniboxTracker(IPC::Message::Sender* automation); | |
| 16 virtual ~AutomationOmniboxTracker(); | |
| 17 virtual void AddObserver(OmniboxView* resource); | |
| 18 virtual void RemoveObserver(OmniboxView* resource); | |
| 19 }; | |
| 20 | |
| 21 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_OMNIBOX_TRACKER_H_ | |
| OLD | NEW |