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

Unified Diff: chrome/browser/automation/automation_provider.h

Issue 211033: Automated ui test porting + cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: all green\! Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/automation_provider.h
===================================================================
--- chrome/browser/automation/automation_provider.h (revision 26702)
+++ chrome/browser/automation/automation_provider.h (working copy)
@@ -36,7 +36,6 @@
struct AutomationMsg_Find_Params;
namespace IPC {
-struct Reposition_Params;
struct ExternalTabSettings;
}
@@ -157,23 +156,17 @@
void FindNormalBrowserWindow(int* handle);
void GetLastActiveBrowserWindow(int* handle);
void GetActiveWindow(int* handle);
-#if defined(OS_WIN)
- // TODO(port): Replace HWND.
- void GetWindowHWND(int handle, HWND* win32_handle);
-#endif // defined(OS_WIN)
void ExecuteBrowserCommandAsync(int handle, int command, bool* success);
void ExecuteBrowserCommand(int handle, int command,
IPC::Message* reply_message);
+ void TerminateSession(int handle, bool* success);
void WindowGetViewBounds(int handle, int view_id, bool screen_coordinates,
bool* success, gfx::Rect* bounds);
-#if defined(OS_WIN)
- // TODO(port): Replace POINT.
void WindowSimulateDrag(int handle,
- std::vector<POINT> drag_path,
+ std::vector<gfx::Point> drag_path,
int flags,
bool press_escape_en_route,
IPC::Message* reply_message);
-#endif // defined(OS_WIN)
void WindowSimulateClick(const IPC::Message& message,
int handle,
const gfx::Point& click,
@@ -182,10 +175,12 @@
int handle,
wchar_t key,
int flags);
+ void GetWindowBounds(int handle, gfx::Rect* bounds, bool* result);
void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result);
void SetWindowVisible(int handle, bool visible, bool* result);
void IsWindowActive(int handle, bool* success, bool* is_active);
void ActivateWindow(int handle);
+ void IsWindowMaximized(int handle, bool* is_maximized, bool* success);
void GetTabCount(int handle, int* tab_count);
void GetTab(int win_handle, int tab_index, int* tab_handle);
@@ -326,8 +321,6 @@
// TODO(port): remove windowisms.
#if defined(OS_WIN)
- void OnTabReposition(int tab_handle,
- const IPC::Reposition_Params& params);
void OnForwardContextMenuCommandToChrome(int tab_handle, int command);
#endif // defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/test/automation/browser_proxy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698