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

Side by Side Diff: chrome/browser/automation/ui_controls_linux.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/automation/ui_controls.h ('k') | chrome/browser/blocked_content_container.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/automation/ui_controls.h" 5 #include "chrome/browser/automation/ui_controls.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "chrome/browser/automation/ui_controls_internal.h" 12 #include "chrome/browser/automation/ui_controls_internal.h"
13 #include "chrome/browser/ui/gtk/gtk_util.h" 13 #include "chrome/browser/ui/gtk/gtk_util.h"
14 #include "chrome/common/automation_constants.h" 14 #include "chrome/common/automation_constants.h"
15 #include "gfx/rect.h"
16 #include "ui/base/gtk/event_synthesis_gtk.h" 15 #include "ui/base/gtk/event_synthesis_gtk.h"
16 #include "ui/gfx/rect.h"
17 17
18 #if defined(TOOLKIT_VIEWS) 18 #if defined(TOOLKIT_VIEWS)
19 #include "views/view.h" 19 #include "views/view.h"
20 #include "views/widget/widget.h" 20 #include "views/widget/widget.h"
21 #endif 21 #endif
22 22
23 namespace { 23 namespace {
24 24
25 class EventWaiter : public MessageLoopForUI::Observer { 25 class EventWaiter : public MessageLoopForUI::Observer {
26 public: 26 public:
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 int state, 258 int state,
259 Task* task) { 259 Task* task) {
260 gfx::Rect bounds = gtk_util::GetWidgetScreenBounds(widget); 260 gfx::Rect bounds = gtk_util::GetWidgetScreenBounds(widget);
261 SendMouseMoveNotifyWhenDone(bounds.x() + bounds.width() / 2, 261 SendMouseMoveNotifyWhenDone(bounds.x() + bounds.width() / 2,
262 bounds.y() + bounds.height() / 2, 262 bounds.y() + bounds.height() / 2,
263 new ClickTask(button, state, task)); 263 new ClickTask(button, state, task));
264 } 264 }
265 #endif 265 #endif
266 266
267 } // namespace ui_controls 267 } // namespace ui_controls
OLDNEW
« no previous file with comments | « chrome/browser/automation/ui_controls.h ('k') | chrome/browser/blocked_content_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698