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

Side by Side Diff: chrome/browser/automation/automation_provider.h

Issue 7104029: Automation: fix chrome/browser dependency on chrome/test headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This implements a browser-side endpoint for UI automation activity. 5 // This implements a browser-side endpoint for UI automation activity.
6 // The client-side endpoint is implemented by AutomationProxy. 6 // The client-side endpoint is implemented by AutomationProxy.
7 // The entire lifetime of this object should be contained within that of 7 // The entire lifetime of this object should be contained within that of
8 // the BrowserProcess, and in particular the NotificationService that's 8 // the BrowserProcess, and in particular the NotificationService that's
9 // hung off of it. 9 // hung off of it.
10 10
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 virtual std::string GetProtocolVersion(); 170 virtual std::string GetProtocolVersion();
171 171
172 // Returns the associated view for the tab handle passed in. 172 // Returns the associated view for the tab handle passed in.
173 // Returns NULL on failure. 173 // Returns NULL on failure.
174 RenderViewHost* GetViewForTab(int tab_handle); 174 RenderViewHost* GetViewForTab(int tab_handle);
175 175
176 // Called on IPC message deserialization failure. Prints an error message 176 // Called on IPC message deserialization failure. Prints an error message
177 // and closes the IPC channel. 177 // and closes the IPC channel.
178 void OnMessageDeserializationFailure(); 178 void OnMessageDeserializationFailure();
179 179
180 scoped_ptr<AutomationOmniboxTracker> automation_omnibox_tracker_;
181 scoped_ptr<AutomationBrowserTracker> browser_tracker_; 180 scoped_ptr<AutomationBrowserTracker> browser_tracker_;
182 scoped_ptr<InitialLoadObserver> initial_load_observer_; 181 scoped_ptr<InitialLoadObserver> initial_load_observer_;
183 scoped_ptr<MetricEventDurationObserver> metric_event_duration_observer_; 182 scoped_ptr<MetricEventDurationObserver> metric_event_duration_observer_;
184 scoped_ptr<NavigationControllerRestoredObserver> restore_tracker_; 183 scoped_ptr<NavigationControllerRestoredObserver> restore_tracker_;
185 scoped_ptr<AutomationTabTracker> tab_tracker_; 184 scoped_ptr<AutomationTabTracker> tab_tracker_;
186 scoped_ptr<AutomationWindowTracker> window_tracker_; 185 scoped_ptr<AutomationWindowTracker> window_tracker_;
187 186
188 typedef std::map<NavigationController*, LoginHandler*> LoginHandlerMap; 187 typedef std::map<NavigationController*, LoginHandler*> LoginHandlerMap;
189 LoginHandlerMap login_handler_map_; 188 LoginHandlerMap login_handler_map_;
190 189
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 // True iff the Chrome OS network library finished initialization. 384 // True iff the Chrome OS network library finished initialization.
386 bool network_library_initialized_; 385 bool network_library_initialized_;
387 386
388 // ID of automation channel. 387 // ID of automation channel.
389 std::string channel_id_; 388 std::string channel_id_;
390 389
391 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); 390 DISALLOW_COPY_AND_ASSIGN(AutomationProvider);
392 }; 391 };
393 392
394 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 393 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_omnibox_tracker.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698