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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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
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/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/task.h"
13 #include "ui/base/keycodes/keyboard_codes.h" 12 #include "ui/base/keycodes/keyboard_codes.h"
14 #include "ui/base/keycodes/keyboard_code_conversion_win.h" 13 #include "ui/base/keycodes/keyboard_code_conversion_win.h"
15 14
16 namespace { 15 namespace {
17 16
18 // InputDispatcher ------------------------------------------------------------ 17 // InputDispatcher ------------------------------------------------------------
19 18
20 // InputDispatcher is used to listen for a mouse/keyboard event. When the 19 // InputDispatcher is used to listen for a mouse/keyboard event. When the
21 // appropriate event is received the task is notified. 20 // appropriate event is received the task is notified.
22 class InputDispatcher : public base::RefCounted<InputDispatcher> { 21 class InputDispatcher : public base::RefCounted<InputDispatcher> {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 return false; 321 return false;
323 322
324 if (dispatcher.get()) 323 if (dispatcher.get())
325 dispatcher->AddRef(); 324 dispatcher->AddRef();
326 325
327 return true; 326 return true;
328 } 327 }
329 328
330 } // namespace internal 329 } // namespace internal
331 } // namespace ui_controls 330 } // namespace ui_controls
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/automation/url_request_automation_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698