Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / automation / automation_window_tracker.h
blobe0b7f8e01b16600a5a5e771771725b4552e178d0
1 // Copyright (c) 2010 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.
5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_WINDOW_TRACKER_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_WINDOW_TRACKER_H_
8 #include "build/build_config.h"
9 #include "chrome/browser/automation/automation_resource_tracker.h"
10 #include "ui/gfx/native_widget_types.h"
12 class AutomationWindowTracker
13 : public AutomationResourceTracker<gfx::NativeWindow> {
14 public:
15 explicit AutomationWindowTracker(IPC::Sender* automation);
16 virtual ~AutomationWindowTracker();
18 virtual void AddObserver(gfx::NativeWindow resource);
19 virtual void RemoveObserver(gfx::NativeWindow resource);
22 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_WINDOW_TRACKER_H_