Remove support for specifying version on command line.
[chromium-blink-merge.git] / ui / aura / client / dispatcher_client.h
blobf2d1ff8bcb3c6e0e75a1c5284284bce34a9d5bdd
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.
5 #ifndef UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
6 #define UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
8 #include "base/message_loop/message_loop.h"
9 #include "ui/aura/aura_export.h"
10 #include "ui/aura/window.h"
12 namespace aura {
13 class Window;
14 namespace client {
16 // An interface implemented by an object which handles nested dispatchers.
17 class AURA_EXPORT DispatcherClient {
18 public:
19 virtual void RunWithDispatcher(base::MessageLoop::Dispatcher* dispatcher,
20 aura::Window* associated_window,
21 bool nestable_tasks_allowed) = 0;
24 AURA_EXPORT void SetDispatcherClient(Window* root_window,
25 DispatcherClient* client);
26 AURA_EXPORT DispatcherClient* GetDispatcherClient(Window* root_window);
28 } // namespace client
29 } // namespace aura
31 #endif // UI_AURA_CLIENT_DISPATCHER_CLIENT_H_