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

Unified Diff: chrome/browser/automation/testing_automation_provider_gtk.cc

Issue 10388175: Remove all the unnused automation IPCs. These were used by UI tests that have been converted to bro… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/testing_automation_provider_gtk.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider_gtk.cc (revision 137438)
+++ chrome/browser/automation/testing_automation_provider_gtk.cc (working copy)
@@ -12,17 +12,6 @@
#include "chrome/browser/ui/gtk/view_id_util.h"
#include "ui/base/gtk/gtk_screen_util.h"
-void TestingAutomationProvider::ActivateWindow(int handle) {
- NOTIMPLEMENTED();
-}
-
-void TestingAutomationProvider::IsWindowMaximized(int handle,
- bool* is_maximized,
- bool* success) {
- *success = false;
- NOTIMPLEMENTED();
-}
-
void TestingAutomationProvider::TerminateSession(int handle, bool* success) {
*success = false;
NOTIMPLEMENTED();
@@ -59,13 +48,6 @@
}
}
-void TestingAutomationProvider::GetWindowBounds(int handle,
- gfx::Rect* bounds,
- bool* result) {
- *result = false;
- NOTIMPLEMENTED();
-}
-
void TestingAutomationProvider::SetWindowBounds(int handle,
const gfx::Rect& bounds,
bool* success) {
@@ -77,24 +59,3 @@
*success = true;
}
}
-
-void TestingAutomationProvider::SetWindowVisible(int handle,
- bool visible,
- bool* result) {
- *result = false;
- GtkWindow* window = window_tracker_->GetResource(handle);
- if (window) {
- if (visible) {
- gtk_window_present(window);
- } else {
- gtk_widget_hide(GTK_WIDGET(window));
- }
- *result = true;
- }
-}
-
-void TestingAutomationProvider::GetWindowTitle(int handle, string16* text) {
- gfx::NativeWindow window = window_tracker_->GetResource(handle);
- const gchar* title = gtk_window_get_title(window);
- text->assign(UTF8ToUTF16(title));
-}

Powered by Google App Engine
This is Rietveld 408576698