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

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

Issue 274071: When Chrome hands off a URL to be opened by the external host by the ViewHost... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('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 // 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 int* tab_handle); 296 int* tab_handle);
297 297
298 void ConnectExternalTab(intptr_t cookie, 298 void ConnectExternalTab(intptr_t cookie,
299 gfx::NativeWindow* tab_container_window, 299 gfx::NativeWindow* tab_container_window,
300 gfx::NativeWindow* tab_window, 300 gfx::NativeWindow* tab_window,
301 int* tab_handle); 301 int* tab_handle);
302 302
303 void OnSetPageFontSize(int tab_handle, int font_size); 303 void OnSetPageFontSize(int tab_handle, int font_size);
304 304
305 void NavigateInExternalTab( 305 void NavigateInExternalTab(
306 int handle, const GURL& url, 306 int handle, const GURL& url, const GURL& referrer,
307 AutomationMsg_NavigationResponseValues* status); 307 AutomationMsg_NavigationResponseValues* status);
308 void NavigateExternalTabAtIndex( 308 void NavigateExternalTabAtIndex(
309 int handle, int index, AutomationMsg_NavigationResponseValues* status); 309 int handle, int index, AutomationMsg_NavigationResponseValues* status);
310 310
311 // TODO(port): remove windowisms. 311 // TODO(port): remove windowisms.
312 #if defined(OS_WIN) 312 #if defined(OS_WIN)
313 // The container of an externally hosted tab calls this to reflect any 313 // The container of an externally hosted tab calls this to reflect any
314 // accelerator keys that it did not process. This gives the tab a chance 314 // accelerator keys that it did not process. This gives the tab a chance
315 // to handle the keys 315 // to handle the keys
316 void ProcessUnhandledAccelerator(const IPC::Message& message, int handle, 316 void ProcessUnhandledAccelerator(const IPC::Message& message, int handle,
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 virtual void Observe(NotificationType type, 569 virtual void Observe(NotificationType type,
570 const NotificationSource& source, 570 const NotificationSource& source,
571 const NotificationDetails& details); 571 const NotificationDetails& details);
572 572
573 void OnRemoveProvider(); // Called via PostTask 573 void OnRemoveProvider(); // Called via PostTask
574 574
575 NotificationRegistrar registrar_; 575 NotificationRegistrar registrar_;
576 }; 576 };
577 577
578 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 578 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698