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

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

Issue 115740: Move download shelf from per-tab to per-window (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void CancelAuth(int tab_handle, IPC::Message* reply_message); 208 void CancelAuth(int tab_handle, IPC::Message* reply_message);
209 void NeedsAuth(int tab_handle, bool* needs_auth); 209 void NeedsAuth(int tab_handle, bool* needs_auth);
210 void GetRedirectsFrom(int tab_handle, 210 void GetRedirectsFrom(int tab_handle,
211 const GURL& source_url, 211 const GURL& source_url,
212 IPC::Message* reply_message); 212 IPC::Message* reply_message);
213 void ExecuteJavascript(int handle, 213 void ExecuteJavascript(int handle,
214 const std::wstring& frame_xpath, 214 const std::wstring& frame_xpath,
215 const std::wstring& script, 215 const std::wstring& script,
216 IPC::Message* reply_message); 216 IPC::Message* reply_message);
217 void GetShelfVisibility(int handle, bool* visible); 217 void GetShelfVisibility(int handle, bool* visible);
218 void SetShelfVisibility(int handle, bool visible);
218 void SetFilteredInet(const IPC::Message& message, bool enabled); 219 void SetFilteredInet(const IPC::Message& message, bool enabled);
219 void SetProxyConfig(const std::string& new_proxy_config); 220 void SetProxyConfig(const std::string& new_proxy_config);
220 221
221 #if defined(OS_WIN) 222 #if defined(OS_WIN)
222 // TODO(port): Replace POINT. 223 // TODO(port): Replace POINT.
223 void ScheduleMouseEvent(views::View* view, 224 void ScheduleMouseEvent(views::View* view,
224 views::Event::EventType type, 225 views::Event::EventType type,
225 POINT point, 226 POINT point,
226 int flags); 227 int flags);
227 #endif // defined(OS_WIN) 228 #endif // defined(OS_WIN)
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 virtual void Observe(NotificationType type, 534 virtual void Observe(NotificationType type,
534 const NotificationSource& source, 535 const NotificationSource& source,
535 const NotificationDetails& details); 536 const NotificationDetails& details);
536 537
537 void OnRemoveProvider(); // Called via PostTask 538 void OnRemoveProvider(); // Called via PostTask
538 539
539 NotificationRegistrar registrar_; 540 NotificationRegistrar registrar_;
540 }; 541 };
541 542
542 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 543 #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