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

Side by Side Diff: chrome/browser/automation/automation_window_tracker.cc

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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "chrome/browser/automation/automation_window_tracker.h"
6
7 #include "chrome/common/native_window_notification_source.h"
8
9 AutomationWindowTracker::AutomationWindowTracker(
10 IPC::Message::Sender* automation)
11 : AutomationResourceTracker<gfx::NativeWindow>(automation) {
12 }
13
14 AutomationWindowTracker::~AutomationWindowTracker() {
15 }
16
17 void AutomationWindowTracker::AddObserver(gfx::NativeWindow resource) {
18 registrar_.Add(this, NotificationType::WINDOW_CLOSED,
19 Source<gfx::NativeWindow>(resource));
20 }
21
22 void AutomationWindowTracker::RemoveObserver(gfx::NativeWindow resource) {
23 registrar_.Remove(this, NotificationType::WINDOW_CLOSED,
24 Source<gfx::NativeWindow>(resource));
25 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_window_tracker.h ('k') | chrome/browser/automation/testing_automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698