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

Unified Diff: ash/shell_context_menu.h

Issue 11092034: Add Wallpaper option to launcher context menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace, Null Check, Comment Update Created 8 years, 2 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 | « ash/shell.cc ('k') | ash/shell_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_context_menu.h
diff --git a/ash/shell_context_menu.h b/ash/shell_context_menu.h
deleted file mode 100644
index cd9482807b412e8f903e2dcd4b8c9a86eb2be8b9..0000000000000000000000000000000000000000
--- a/ash/shell_context_menu.h
+++ /dev/null
@@ -1,53 +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 ASH_SHELL_CONTEXT_MENU_H_
-#define ASH_SHELL_CONTEXT_MENU_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "ui/base/models/simple_menu_model.h"
-
-namespace gfx {
-class Point;
-class Size;
-}
-
-namespace views {
-class MenuRunner;
-class Widget;
-}
-
-namespace ash {
-namespace internal {
-
-class ShellContextMenu : public ui::SimpleMenuModel::Delegate {
- public:
- ShellContextMenu();
- virtual ~ShellContextMenu();
-
- // Shows the context menu when right click on background.
- void ShowMenu(views::Widget* widget, const gfx::Point& location);
-
- // ui::SimpleMenuModel::Delegate overrides:
- virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
- virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
- virtual void ExecuteCommand(int command_id) OVERRIDE;
- virtual bool GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) OVERRIDE;
-
- private:
- enum MenuItem {
- MENU_CHANGE_WALLPAPER,
- };
-
- scoped_ptr<views::MenuRunner> menu_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(ShellContextMenu);
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_SHELL_CONTEXT_MENU_H_
« no previous file with comments | « ash/shell.cc ('k') | ash/shell_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698