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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class Browser; 46 class Browser;
47 class Extension; 47 class Extension;
48 class ExtensionTestResultNotificationObserver; 48 class ExtensionTestResultNotificationObserver;
49 class ExternalTabContainer; 49 class ExternalTabContainer;
50 class FilePath; 50 class FilePath;
51 class InitialLoadObserver; 51 class InitialLoadObserver;
52 class LoginHandler; 52 class LoginHandler;
53 class MetricEventDurationObserver; 53 class MetricEventDurationObserver;
54 class NavigationControllerRestoredObserver; 54 class NavigationControllerRestoredObserver;
55 class Profile; 55 class Profile;
56 class RenderViewHost;
57 class TabContents; 56 class TabContents;
58 struct AutomationMsg_Find_Params; 57 struct AutomationMsg_Find_Params;
59 struct Reposition_Params; 58 struct Reposition_Params;
60 struct ExternalTabSettings; 59 struct ExternalTabSettings;
61 60
62 namespace IPC { 61 namespace IPC {
63 class ChannelProxy; 62 class ChannelProxy;
64 } 63 }
65 64
66 namespace content { 65 namespace content {
67 class NavigationController; 66 class NavigationController;
67 class RenderViewHost;
68 } 68 }
69 69
70 namespace base { 70 namespace base {
71 class DictionaryValue; 71 class DictionaryValue;
72 } 72 }
73 73
74 namespace content { 74 namespace content {
75 class DownloadItem; 75 class DownloadItem;
76 class WebContents; 76 class WebContents;
77 } 77 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // to the tab is also returned. Returns NULL in case of failure or if the tab 187 // to the tab is also returned. Returns NULL in case of failure or if the tab
188 // is not of the WebContents type. 188 // is not of the WebContents type.
189 content::WebContents* GetWebContentsForHandle( 189 content::WebContents* GetWebContentsForHandle(
190 int handle, content::NavigationController** tab); 190 int handle, content::NavigationController** tab);
191 191
192 // Returns the protocol version which typically is the module version. 192 // Returns the protocol version which typically is the module version.
193 virtual std::string GetProtocolVersion(); 193 virtual std::string GetProtocolVersion();
194 194
195 // Returns the associated view for the tab handle passed in. 195 // Returns the associated view for the tab handle passed in.
196 // Returns NULL on failure. 196 // Returns NULL on failure.
197 RenderViewHost* GetViewForTab(int tab_handle); 197 content::RenderViewHost* GetViewForTab(int tab_handle);
198 198
199 // Called on IPC message deserialization failure. Prints an error message 199 // Called on IPC message deserialization failure. Prints an error message
200 // and closes the IPC channel. 200 // and closes the IPC channel.
201 void OnMessageDeserializationFailure(); 201 void OnMessageDeserializationFailure();
202 202
203 scoped_ptr<AutomationBrowserTracker> browser_tracker_; 203 scoped_ptr<AutomationBrowserTracker> browser_tracker_;
204 scoped_ptr<InitialLoadObserver> initial_load_observer_; 204 scoped_ptr<InitialLoadObserver> initial_load_observer_;
205 scoped_ptr<MetricEventDurationObserver> metric_event_duration_observer_; 205 scoped_ptr<MetricEventDurationObserver> metric_event_duration_observer_;
206 scoped_ptr<NavigationControllerRestoredObserver> restore_tracker_; 206 scoped_ptr<NavigationControllerRestoredObserver> restore_tracker_;
207 scoped_ptr<AutomationTabTracker> tab_tracker_; 207 scoped_ptr<AutomationTabTracker> tab_tracker_;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 std::string channel_id_; 430 std::string channel_id_;
431 431
432 // Trace data that has been collected but not flushed to the automation 432 // Trace data that has been collected but not flushed to the automation
433 // client. 433 // client.
434 TracingData tracing_data_; 434 TracingData tracing_data_;
435 435
436 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); 436 DISALLOW_COPY_AND_ASSIGN(AutomationProvider);
437 }; 437 };
438 438
439 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 439 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698