| 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
|
|
|