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

Side by Side Diff: ui/aura/client/dispatcher_client.h

Issue 9224001: Fixes issue with accelerators when a menu is open (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nicer diff Created 8 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
6 #define UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
7 #pragma once
8
9 #include "ui/aura/aura_export.h"
10 #include "base/message_loop.h"
11
12 namespace aura {
13
14 namespace client {
15
16 // A property key to store the nested dispatcher controller. The type of the
17 // value is |aura::client::DispatcherClient*|.
18 AURA_EXPORT extern const char kDispatcherClient[];
oshima 2012/01/31 18:19:52 I think you don't need to export this. I know some
19
20 // An interface implemented by an object which handles nested dispatchers.
21 class AURA_EXPORT DispatcherClient {
22 public:
23 virtual void RunWithDispatcher(MessageLoop::Dispatcher* dispatcher,
24 bool nestable_tasks_allowed) = 0;
25 };
26
27 AURA_EXPORT void SetDispatcherClient(DispatcherClient* client);
28 AURA_EXPORT DispatcherClient* GetDispatcherClient();
29
30 } // namespace client
31 } // namespace aura
32
33 #endif // UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698