Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: chrome/browser/automation/automation_window_tracker.h

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/automation_window_tracker.h
diff --git a/chrome/browser/automation/automation_window_tracker.h b/chrome/browser/automation/automation_window_tracker.h
index e73b169b7e4450f374413869fb266fc6378eba55..7483f1d522e331a61982ad077b7e7aeb9ffa31a1 100644
--- a/chrome/browser/automation/automation_window_tracker.h
+++ b/chrome/browser/automation/automation_window_tracker.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,26 +8,16 @@
#include "build/build_config.h"
#include "chrome/browser/automation/automation_resource_tracker.h"
-#include "chrome/common/native_window_notification_source.h"
#include "gfx/native_widget_types.h"
class AutomationWindowTracker
: public AutomationResourceTracker<gfx::NativeWindow> {
public:
- explicit AutomationWindowTracker(IPC::Message::Sender* automation)
- : AutomationResourceTracker<gfx::NativeWindow>(automation) { }
- virtual ~AutomationWindowTracker() {
- }
+ explicit AutomationWindowTracker(IPC::Message::Sender* automation);
+ virtual ~AutomationWindowTracker();
- virtual void AddObserver(gfx::NativeWindow resource) {
- registrar_.Add(this, NotificationType::WINDOW_CLOSED,
- Source<gfx::NativeWindow>(resource));
- }
-
- virtual void RemoveObserver(gfx::NativeWindow resource) {
- registrar_.Remove(this, NotificationType::WINDOW_CLOSED,
- Source<gfx::NativeWindow>(resource));
- }
+ virtual void AddObserver(gfx::NativeWindow resource);
+ virtual void RemoveObserver(gfx::NativeWindow resource);
};
#endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_WINDOW_TRACKER_H_
« no previous file with comments | « chrome/browser/automation/automation_tab_tracker.cc ('k') | chrome/browser/automation/automation_window_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698