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

Side by Side Diff: trunk/src/ash/accelerators/accelerator_dispatcher_win.cc

Issue 300093002: Revert 272740 "Refactor and move ash independent accelerator han..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ash/accelerators/accelerator_dispatcher.h" 5 #include "ash/accelerators/accelerator_dispatcher.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/message_loop/message_pump_dispatcher.h" 8 #include "base/message_loop/message_pump_dispatcher.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "ui/events/event.h" 10 #include "ui/events/event.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 DISALLOW_COPY_AND_ASSIGN(AcceleratorDispatcherWin); 55 DISALLOW_COPY_AND_ASSIGN(AcceleratorDispatcherWin);
56 }; 56 };
57 57
58 scoped_ptr<AcceleratorDispatcher> AcceleratorDispatcher::Create( 58 scoped_ptr<AcceleratorDispatcher> AcceleratorDispatcher::Create(
59 MessagePumpDispatcher* nested_dispatcher) { 59 MessagePumpDispatcher* nested_dispatcher) {
60 return scoped_ptr<AcceleratorDispatcher>( 60 return scoped_ptr<AcceleratorDispatcher>(
61 new AcceleratorDispatcherWin(nested_dispatcher)); 61 new AcceleratorDispatcherWin(nested_dispatcher));
62 } 62 }
63 63
64 } // namespace ash 64 } // namespace ash
OLDNEW
« no previous file with comments | « trunk/src/ash/accelerators/accelerator_dispatcher_linux.cc ('k') | trunk/src/ash/accelerators/nested_accelerator_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698