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

Side by Side Diff: chrome/test/automation/automation_proxy.h

Issue 339009: GMocking Externaltab tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/automation/automation_proxy_uitest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "app/message_box_flags.h" 10 #include "app/message_box_flags.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 #endif 207 #endif
208 208
209 // AutomationMessageSender implementations. 209 // AutomationMessageSender implementations.
210 virtual bool Send(IPC::Message* message); 210 virtual bool Send(IPC::Message* message);
211 virtual bool SendWithTimeout(IPC::Message* message, int timeout, 211 virtual bool SendWithTimeout(IPC::Message* message, int timeout,
212 bool* is_timeout); 212 bool* is_timeout);
213 213
214 // Wrapper over AutomationHandleTracker::InvalidateHandle. Receives the 214 // Wrapper over AutomationHandleTracker::InvalidateHandle. Receives the
215 // message from AutomationProxy, unpacks the messages and routes that call to 215 // message from AutomationProxy, unpacks the messages and routes that call to
216 // the tracker. 216 // the tracker.
217 void InvalidateHandle(const IPC::Message& message); 217 virtual void InvalidateHandle(const IPC::Message& message);
218 218
219 // Creates a tab that can hosted in an external process. The function 219 // Creates a tab that can hosted in an external process. The function
220 // returns a TabProxy representing the tab as well as a window handle 220 // returns a TabProxy representing the tab as well as a window handle
221 // that can be reparented in another process. 221 // that can be reparented in another process.
222 scoped_refptr<TabProxy> CreateExternalTab( 222 scoped_refptr<TabProxy> CreateExternalTab(
223 const IPC::ExternalTabSettings& settings, 223 const IPC::ExternalTabSettings& settings,
224 gfx::NativeWindow* external_tab_container, 224 gfx::NativeWindow* external_tab_container,
225 gfx::NativeWindow* tab); 225 gfx::NativeWindow* tab);
226 226
227 int command_execution_timeout_ms() const { 227 int command_execution_timeout_ms() const {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // a version resource. 274 // a version resource.
275 bool perform_version_check_; 275 bool perform_version_check_;
276 276
277 // Delay to let the browser execute the command. 277 // Delay to let the browser execute the command.
278 base::TimeDelta command_execution_timeout_; 278 base::TimeDelta command_execution_timeout_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); 280 DISALLOW_COPY_AND_ASSIGN(AutomationProxy);
281 }; 281 };
282 282
283 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ 283 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/automation/automation_proxy_uitest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698