MacViews: Get c/b/ui/views/tabs to build on Mac
[chromium-blink-merge.git] / ui / views / widget / desktop_aura / desktop_dispatcher_client.h
blob5e5ec0192048a31476ff525f88c0305b8de7e8c3
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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_
8 #include "base/basictypes.h"
9 #include "base/callback.h"
10 #include "ui/views/views_export.h"
11 #include "ui/wm/public/dispatcher_client.h"
13 namespace views {
15 // TODO(erg): I won't lie to you; I have no idea what this is or what it does.
16 class VIEWS_EXPORT DesktopDispatcherClient
17 : public aura::client::DispatcherClient {
18 public:
19 DesktopDispatcherClient();
20 virtual ~DesktopDispatcherClient();
22 virtual void PrepareNestedLoopClosures(
23 base::MessagePumpDispatcher* dispatcher,
24 base::Closure* run_closure,
25 base::Closure* quit_closure) override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient);
31 } // namespace views
33 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_