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

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

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // Returns NULL on failure. 182 // Returns NULL on failure.
183 content::RenderViewHost* GetViewForTab(int tab_handle); 183 content::RenderViewHost* GetViewForTab(int tab_handle);
184 184
185 // Called on IPC message deserialization failure. Prints an error message 185 // Called on IPC message deserialization failure. Prints an error message
186 // and closes the IPC channel. 186 // and closes the IPC channel.
187 void OnMessageDeserializationFailure(); 187 void OnMessageDeserializationFailure();
188 188
189 scoped_ptr<AutomationBrowserTracker> browser_tracker_; 189 scoped_ptr<AutomationBrowserTracker> browser_tracker_;
190 scoped_ptr<InitialLoadObserver> initial_load_observer_; 190 scoped_ptr<InitialLoadObserver> initial_load_observer_;
191 scoped_ptr<MetricEventDurationObserver> metric_event_duration_observer_; 191 scoped_ptr<MetricEventDurationObserver> metric_event_duration_observer_;
192 scoped_ptr<NavigationControllerRestoredObserver> restore_tracker_;
193 scoped_ptr<AutomationTabTracker> tab_tracker_; 192 scoped_ptr<AutomationTabTracker> tab_tracker_;
194 scoped_ptr<AutomationWindowTracker> window_tracker_; 193 scoped_ptr<AutomationWindowTracker> window_tracker_;
195 194
196 Profile* profile_; 195 Profile* profile_;
197 196
198 // A pointer to reply message used when we do asynchronous processing in the 197 // A pointer to reply message used when we do asynchronous processing in the
199 // message handler. 198 // message handler.
200 // TODO(phajdan.jr): Remove |reply_message_|, it is error-prone. 199 // TODO(phajdan.jr): Remove |reply_message_|, it is error-prone.
201 IPC::Message* reply_message_; 200 IPC::Message* reply_message_;
202 201
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 std::string channel_id_; 365 std::string channel_id_;
367 366
368 // Trace data that has been collected but not flushed to the automation 367 // Trace data that has been collected but not flushed to the automation
369 // client. 368 // client.
370 TracingData tracing_data_; 369 TracingData tracing_data_;
371 370
372 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); 371 DISALLOW_COPY_AND_ASSIGN(AutomationProvider);
373 }; 372 };
374 373
375 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 374 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698