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

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

Issue 343080: Revert "Handle GTK enter and leave notification events and pass them to WebKit as " (Closed)
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
« 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 bool* success, gfx::Rect* bounds); 166 bool* success, gfx::Rect* bounds);
167 void WindowSimulateDrag(int handle, 167 void WindowSimulateDrag(int handle,
168 std::vector<gfx::Point> drag_path, 168 std::vector<gfx::Point> drag_path,
169 int flags, 169 int flags,
170 bool press_escape_en_route, 170 bool press_escape_en_route,
171 IPC::Message* reply_message); 171 IPC::Message* reply_message);
172 void WindowSimulateClick(const IPC::Message& message, 172 void WindowSimulateClick(const IPC::Message& message,
173 int handle, 173 int handle,
174 const gfx::Point& click, 174 const gfx::Point& click,
175 int flags); 175 int flags);
176 void WindowSimulateMouseMove(const IPC::Message& message,
177 int handle,
178 const gfx::Point& location);
179 void WindowSimulateKeyPress(const IPC::Message& message, 176 void WindowSimulateKeyPress(const IPC::Message& message,
180 int handle, 177 int handle,
181 int key, 178 int key,
182 int flags); 179 int flags);
183 void GetWindowBounds(int handle, gfx::Rect* bounds, bool* result); 180 void GetWindowBounds(int handle, gfx::Rect* bounds, bool* result);
184 void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result); 181 void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result);
185 void SetWindowVisible(int handle, bool visible, bool* result); 182 void SetWindowVisible(int handle, bool visible, bool* result);
186 void IsWindowActive(int handle, bool* success, bool* is_active); 183 void IsWindowActive(int handle, bool* success, bool* is_active);
187 void ActivateWindow(int handle); 184 void ActivateWindow(int handle);
188 void IsWindowMaximized(int handle, bool* is_maximized, bool* success); 185 void IsWindowMaximized(int handle, bool* is_maximized, bool* success);
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 virtual void Observe(NotificationType type, 580 virtual void Observe(NotificationType type,
584 const NotificationSource& source, 581 const NotificationSource& source,
585 const NotificationDetails& details); 582 const NotificationDetails& details);
586 583
587 void OnRemoveProvider(); // Called via PostTask 584 void OnRemoveProvider(); // Called via PostTask
588 585
589 NotificationRegistrar registrar_; 586 NotificationRegistrar registrar_;
590 }; 587 };
591 588
592 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 589 #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