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

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

Issue 10282: Only block alert() requests from blocked popups; not all popups.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 int tab_handle, 98 int tab_handle,
99 bool wait_until_closed); 99 bool wait_until_closed);
100 100
101 void GetActiveTabIndex(const IPC::Message& message, int handle); 101 void GetActiveTabIndex(const IPC::Message& message, int handle);
102 void GetCookies(const IPC::Message& message, const GURL& url, int handle); 102 void GetCookies(const IPC::Message& message, const GURL& url, int handle);
103 void SetCookie(const IPC::Message& message, 103 void SetCookie(const IPC::Message& message,
104 const GURL& url, 104 const GURL& url,
105 const std::string value, 105 const std::string value,
106 int handle); 106 int handle);
107 void GetBrowserWindowCount(const IPC::Message& message); 107 void GetBrowserWindowCount(const IPC::Message& message);
108 void GetShowingAppModalDialog(const IPC::Message& message);
108 void GetBrowserWindow(const IPC::Message& message, int index); 109 void GetBrowserWindow(const IPC::Message& message, int index);
109 void GetLastActiveBrowserWindow(const IPC::Message& message); 110 void GetLastActiveBrowserWindow(const IPC::Message& message);
110 void GetActiveWindow(const IPC::Message& message); 111 void GetActiveWindow(const IPC::Message& message);
111 void GetWindowHWND(const IPC::Message& message, int handle); 112 void GetWindowHWND(const IPC::Message& message, int handle);
112 void ExecuteBrowserCommand(const IPC::Message& message, 113 void ExecuteBrowserCommand(const IPC::Message& message,
113 int handle, 114 int handle,
114 int command); 115 int command);
115 void WindowGetViewBounds(const IPC::Message& message, 116 void WindowGetViewBounds(const IPC::Message& message,
116 int handle, 117 int handle,
117 int view_id, 118 int view_id,
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 virtual void OnChannelError(); 404 virtual void OnChannelError();
404 405
405 private: 406 private:
406 virtual void Observe(NotificationType type, 407 virtual void Observe(NotificationType type,
407 const NotificationSource& source, 408 const NotificationSource& source,
408 const NotificationDetails& details); 409 const NotificationDetails& details);
409 410
410 void OnRemoveProvider(); // Called via PostTask 411 void OnRemoveProvider(); // Called via PostTask
411 }; 412 };
412 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 413 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
413
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/browser/web_contents.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698