Chromium Code Reviews

Unified Diff: chrome/browser/automation/automation_provider_mac.mm

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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/automation/automation_provider_mac.mm
===================================================================
--- chrome/browser/automation/automation_provider_mac.mm (revision 26702)
+++ chrome/browser/automation/automation_provider_mac.mm (working copy)
@@ -7,6 +7,7 @@
#import <Cocoa/Cocoa.h>
#include "base/gfx/point.h"
#include "base/gfx/rect.h"
+#include "chrome/test/automation/automation_messages.h"
void AutomationProvider::SetWindowBounds(int handle, const gfx::Rect& bounds,
bool* success) {
@@ -52,6 +53,12 @@
void AutomationProvider::ActivateWindow(int handle) { NOTIMPLEMENTED(); }
+void AutomationProvider::IsWindowMaximized(int handle, bool* is_maximized,
+ bool* success) {
+ *success = false;
+ NOTIMPLEMENTED();
+}
+
void AutomationProvider::GetFocusedViewID(int handle, int* view_id) {
NOTIMPLEMENTED();
}
@@ -71,3 +78,24 @@
*animating = false;
NOTIMPLEMENTED();
}
+
+void AutomationProvider::WindowSimulateDrag(int handle,
+ std::vector<gfx::Point> drag_path,
+ int flags,
+ bool press_escape_en_route,
+ IPC::Message* reply_message) {
+ NOTIMPLEMENTED();
+ AutomationMsg_WindowDrag::WriteReplyParams(reply_message, false);
+ Send(reply_message);
+}
+
+void AutomationProvider::TerminateSession(int handle, bool* success) {
+ *success = false;
+ NOTIMPLEMENTED();
+}
+
+void AutomationProvider::GetWindowBounds(int handle, gfx::Rect* bounds,
+ bool* result) {
+ *result = false;
+ NOTIMPLEMENTED();
+}

Powered by Google App Engine