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

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

Issue 113482: Adding the ability to alter Chrome's proxy settings via the automation interf... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 void NeedsAuth(int tab_handle, bool* needs_auth); 194 void NeedsAuth(int tab_handle, bool* needs_auth);
195 void GetRedirectsFrom(int tab_handle, 195 void GetRedirectsFrom(int tab_handle,
196 const GURL& source_url, 196 const GURL& source_url,
197 IPC::Message* reply_message); 197 IPC::Message* reply_message);
198 void ExecuteJavascript(int handle, 198 void ExecuteJavascript(int handle,
199 const std::wstring& frame_xpath, 199 const std::wstring& frame_xpath,
200 const std::wstring& script, 200 const std::wstring& script,
201 IPC::Message* reply_message); 201 IPC::Message* reply_message);
202 void GetShelfVisibility(int handle, bool* visible); 202 void GetShelfVisibility(int handle, bool* visible);
203 void SetFilteredInet(const IPC::Message& message, bool enabled); 203 void SetFilteredInet(const IPC::Message& message, bool enabled);
204 void SetProxyConfig(const std::string& new_proxy_config);
204 205
205 #if defined(OS_WIN) 206 #if defined(OS_WIN)
206 // TODO(port): Replace POINT. 207 // TODO(port): Replace POINT.
207 void ScheduleMouseEvent(views::View* view, 208 void ScheduleMouseEvent(views::View* view,
208 views::Event::EventType type, 209 views::Event::EventType type,
209 POINT point, 210 POINT point,
210 int flags); 211 int flags);
211 #endif // defined(OS_WIN) 212 #endif // defined(OS_WIN)
212 void GetFocusedViewID(int handle, int* view_id); 213 void GetFocusedViewID(int handle, int* view_id);
213 214
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 514
514 private: 515 private:
515 virtual void Observe(NotificationType type, 516 virtual void Observe(NotificationType type,
516 const NotificationSource& source, 517 const NotificationSource& source,
517 const NotificationDetails& details); 518 const NotificationDetails& details);
518 519
519 void OnRemoveProvider(); // Called via PostTask 520 void OnRemoveProvider(); // Called via PostTask
520 }; 521 };
521 522
522 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 523 #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