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

Unified Diff: ui/views/widget/desktop_aura/desktop_dispatcher_client.cc

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
Index: ui/views/widget/desktop_aura/desktop_dispatcher_client.cc
diff --git a/ui/views/widget/desktop_aura/desktop_dispatcher_client.cc b/ui/views/widget/desktop_aura/desktop_dispatcher_client.cc
deleted file mode 100644
index 409057da5f05f1ad9dcf1f3cb92a609fd0b6c9d3..0000000000000000000000000000000000000000
--- a/ui/views/widget/desktop_aura/desktop_dispatcher_client.cc
+++ /dev/null
@@ -1,34 +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.
-
-#include "ui/views/widget/desktop_aura/desktop_dispatcher_client.h"
-
-#include "base/auto_reset.h"
-#include "base/bind.h"
-#include "base/run_loop.h"
-#include "build/build_config.h"
-
-namespace views {
-
-DesktopDispatcherClient::DesktopDispatcherClient() {
-}
-
-DesktopDispatcherClient::~DesktopDispatcherClient() {
-}
-
-void DesktopDispatcherClient::PrepareNestedLoopClosures(
- base::MessagePumpDispatcher* dispatcher,
- base::Closure* run_closure,
- base::Closure* quit_closure) {
-#if defined(OS_WIN)
- scoped_ptr<base::RunLoop> run_loop(new base::RunLoop(dispatcher));
-#else
- scoped_ptr<base::RunLoop> run_loop(new base::RunLoop());
-#endif
- *quit_closure = run_loop->QuitClosure();
- *run_closure =
- base::Bind(&base::RunLoop::Run, base::Owned(run_loop.release()));
-}
-
-} // namespace views
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_dispatcher_client.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698