diff options
Diffstat (limited to 'chromium/ui/views/controls/menu/menu_controller_win.cc')
-rw-r--r-- | chromium/ui/views/controls/menu/menu_controller_win.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/chromium/ui/views/controls/menu/menu_controller_win.cc b/chromium/ui/views/controls/menu/menu_controller_win.cc deleted file mode 100644 index bbf7e9b1366..00000000000 --- a/chromium/ui/views/controls/menu/menu_controller_win.cc +++ /dev/null @@ -1,27 +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/controls/menu/menu_controller.h" - -#include "base/run_loop.h" -#include "ui/gfx/screen.h" - -namespace views { - -void MenuController::RunMessageLoop(bool nested_menu) { - base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); - base::MessageLoop::ScopedNestableTaskAllower allow(loop); - base::RunLoop run_loop(this); - run_loop.Run(); -} - -bool MenuController::ShouldQuitNow() const { - return true; -} - -gfx::Screen* MenuController::GetScreen() { - return gfx::Screen::GetNativeScreen(); -} - -} // namespace views |