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

Unified Diff: ui/wm/public/dispatcher_client.h

Issue 1647933002: ash/wm: Remove dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/wm/core/nested_accelerator_dispatcher_win.cc ('k') | ui/wm/public/dispatcher_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/public/dispatcher_client.h
diff --git a/ui/wm/public/dispatcher_client.h b/ui/wm/public/dispatcher_client.h
deleted file mode 100644
index a301e92dd557d43d7f83f9520f1f60dae32395c0..0000000000000000000000000000000000000000
--- a/ui/wm/public/dispatcher_client.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_WM_PUBLIC_DISPATCHER_CLIENT_H_
-#define UI_WM_PUBLIC_DISPATCHER_CLIENT_H_
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "base/message_loop/message_pump_dispatcher.h"
-#include "ui/aura/aura_export.h"
-
-namespace aura {
-class Window;
-namespace client {
-
-class DispatcherClient;
-
-// A base::RunLoop like object for running a nested message-loop with a
-// specified DispatcherClient and a MessagePumpDispatcher.
-class AURA_EXPORT DispatcherRunLoop {
- public:
- DispatcherRunLoop(DispatcherClient* client,
- base::MessagePumpDispatcher* dispatcher);
- ~DispatcherRunLoop();
-
- void Run();
- base::Closure QuitClosure();
- void Quit();
-
- private:
- base::Closure run_closure_;
- base::Closure quit_closure_;
-
- DISALLOW_COPY_AND_ASSIGN(DispatcherRunLoop);
-};
-
-// An interface implemented by an object which handles nested dispatchers.
-class AURA_EXPORT DispatcherClient {
- public:
- virtual ~DispatcherClient() {}
-
- protected:
- friend class DispatcherRunLoop;
-
- virtual void PrepareNestedLoopClosures(
- base::MessagePumpDispatcher* dispatcher,
- base::Closure* run_closure,
- base::Closure* quit_closure) = 0;
-};
-
-AURA_EXPORT void SetDispatcherClient(Window* root_window,
- DispatcherClient* client);
-AURA_EXPORT DispatcherClient* GetDispatcherClient(Window* root_window);
-
-} // namespace client
-} // namespace aura
-
-#endif // UI_WM_PUBLIC_DISPATCHER_CLIENT_H_
« no previous file with comments | « ui/wm/core/nested_accelerator_dispatcher_win.cc ('k') | ui/wm/public/dispatcher_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698