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

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

Issue 8702019: Use callback_forward.h instead of callback.h where possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 9 years 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
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_internal.h" 5 #include "chrome/browser/automation/ui_controls_internal.h"
6 6
7 #include "base/callback.h"
8
7 namespace ui_controls { 9 namespace ui_controls {
8 namespace internal { 10 namespace internal {
9 11
10 void ClickTask(MouseButton button, int state, const base::Closure& followup) { 12 void ClickTask(MouseButton button, int state, const base::Closure& followup) {
11 if (!followup.is_null()) 13 if (!followup.is_null())
12 SendMouseEventsNotifyWhenDone(button, state, followup); 14 SendMouseEventsNotifyWhenDone(button, state, followup);
13 else 15 else
14 SendMouseEvents(button, state); 16 SendMouseEvents(button, state);
15 } 17 }
16 18
17 } // namespace internal 19 } // namespace internal
18 } // namespace ui_controls 20 } // namespace ui_controls
OLDNEW
« no previous file with comments | « chrome/browser/automation/ui_controls_internal.h ('k') | chrome/browser/automation/ui_controls_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698