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

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

Issue 11740023: Remove unused includes of view_id_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/automation_provider.h" 5 #include "chrome/browser/automation/automation_provider.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/automation/automation_browser_tracker.h" 13 #include "chrome/browser/automation/automation_browser_tracker.h"
14 #include "chrome/browser/automation/automation_window_tracker.h" 14 #include "chrome/browser/automation/automation_window_tracker.h"
15 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
16 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 16 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
17 #include "chrome/browser/ui/gtk/view_id_util.h"
18 #include "chrome/common/automation_messages.h" 17 #include "chrome/common/automation_messages.h"
19 #include "ui/gfx/point.h" 18 #include "ui/gfx/point.h"
20 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
21 #include "ui/ui_controls/ui_controls.h" 20 #include "ui/ui_controls/ui_controls.h"
22 21
23 namespace { 22 namespace {
24 23
25 // This function sends a WindowDragResponse message with the appropriate routing 24 // This function sends a WindowDragResponse message with the appropriate routing
26 // ID to the automation proxy. 25 // ID to the automation proxy.
27 void SendWindowDragResponse(AutomationProvider* provider, 26 void SendWindowDragResponse(AutomationProvider* provider,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ui_controls::LEFT, ui_controls::DOWN, move_chain_cb); 77 ui_controls::LEFT, ui_controls::DOWN, move_chain_cb);
79 78
80 ui_controls::SendMouseMoveNotifyWhenDone(x + drag_path[0].x(), 79 ui_controls::SendMouseMoveNotifyWhenDone(x + drag_path[0].x(),
81 y + drag_path[0].y(), 80 y + drag_path[0].y(),
82 move_chain_cb); 81 move_chain_cb);
83 } else { 82 } else {
84 AutomationMsg_WindowDrag::WriteReplyParams(reply_message, false); 83 AutomationMsg_WindowDrag::WriteReplyParams(reply_message, false);
85 Send(reply_message); 84 Send(reply_message);
86 } 85 }
87 } 86 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698