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

Unified Diff: chrome/browser/ui/views/app_menu_button_win.cc

Issue 138943006: Remove a bunch of dead files after the win aura switch. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 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 | « chrome/browser/ui/views/app_menu_button_win.h ('k') | chrome/browser/ui/views/dropdown_bar_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/app_menu_button_win.cc
===================================================================
--- chrome/browser/ui/views/app_menu_button_win.cc (revision 244941)
+++ chrome/browser/ui/views/app_menu_button_win.cc (working copy)
@@ -1,22 +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 "chrome/browser/ui/views/app_menu_button_win.h"
-
-#include "ui/events/event.h"
-#include "ui/gfx/win/hwnd_util.h"
-#include "ui/views/widget/widget.h"
-
-AppMenuButtonWin::AppMenuButtonWin(views::MenuButtonListener* listener)
- : WrenchToolbarButton(listener) {
-}
-
-bool AppMenuButtonWin::OnKeyPressed(const ui::KeyEvent& event) {
- if (event.key_code() == ui::VKEY_SPACE) {
- // Explicitly show the system menu at a good location on [Alt]+[Space].
- gfx::ShowSystemMenu(GetWidget()->GetNativeView());
- return false;
- }
- return views::MenuButton::OnKeyPressed(event);
-}
« no previous file with comments | « chrome/browser/ui/views/app_menu_button_win.h ('k') | chrome/browser/ui/views/dropdown_bar_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698