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

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

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First version that links (and crashes) Created 9 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/ui_controls_linux.cc
diff --git a/chrome/browser/automation/ui_controls_linux.cc b/chrome/browser/automation/ui_controls_linux.cc
index 9c80f59f40cf87907bf557aceac3addf585aff53..01512feebeb641ecd1102452ea891947df72659a 100644
--- a/chrome/browser/automation/ui_controls_linux.cc
+++ b/chrome/browser/automation/ui_controls_linux.cc
@@ -247,7 +247,7 @@ bool SendMouseClick(MouseButton type) {
#if defined(TOOLKIT_VIEWS)
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && !defined(USE_AURA)
void OnConfigure(GtkWidget* gtk_widget, GdkEvent* event, gpointer data) {
views::Widget* widget = static_cast<views::Widget*>(data);
gfx::Rect actual = widget->GetWindowScreenBounds();
@@ -275,7 +275,7 @@ void SynchronizeWidgetSize(views::Widget* widget) {
void MoveMouseToCenterAndPress(views::View* view, MouseButton button,
int state, Task* task) {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && !defined(USE_AURA)
// X is asynchronous and we need to wait until the window gets
// resized to desired size.
SynchronizeWidgetSize(view->GetWidget());
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_folder_editor_controller.cc » ('j') | chrome/browser/ui/gtk/gtk_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698