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

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

Issue 3037044: FBTF: Remove unneeded headers from base/ (part 3) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « base/keyboard_codes_win.h ('k') | chrome/browser/browser.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gdk/gdkkeysyms.h> 8 #include <gdk/gdkkeysyms.h>
9 9
10 #include "gfx/rect.h" 10 #include "gfx/rect.h"
11 #include "base/event_synthesis_gtk.h" 11 #include "base/event_synthesis_gtk.h"
12 #include "base/keyboard_code_conversion_gtk.h"
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "base/message_loop.h" 13 #include "base/message_loop.h"
15 #include "chrome/browser/automation/ui_controls_internal.h" 14 #include "chrome/browser/automation/ui_controls_internal.h"
16 #include "chrome/browser/gtk/gtk_util.h" 15 #include "chrome/browser/gtk/gtk_util.h"
17 #include "chrome/test/automation/automation_constants.h" 16 #include "chrome/test/automation/automation_constants.h"
18 17
19 #if defined(TOOLKIT_VIEWS) 18 #if defined(TOOLKIT_VIEWS)
20 #include "views/view.h" 19 #include "views/view.h"
21 #include "views/widget/widget.h" 20 #include "views/widget/widget.h"
22 #endif 21 #endif
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 int state, 259 int state,
261 Task* task) { 260 Task* task) {
262 gfx::Rect bounds = gtk_util::GetWidgetScreenBounds(widget); 261 gfx::Rect bounds = gtk_util::GetWidgetScreenBounds(widget);
263 SendMouseMoveNotifyWhenDone(bounds.x() + bounds.width() / 2, 262 SendMouseMoveNotifyWhenDone(bounds.x() + bounds.width() / 2,
264 bounds.y() + bounds.height() / 2, 263 bounds.y() + bounds.height() / 2,
265 new ClickTask(button, state, task)); 264 new ClickTask(button, state, task));
266 } 265 }
267 #endif 266 #endif
268 267
269 } // namespace ui_controls 268 } // namespace ui_controls
OLDNEW
« no previous file with comments | « base/keyboard_codes_win.h ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698