| Index: ash/launcher/launcher_alignment_menu.h
|
| diff --git a/ash/launcher/launcher_alignment_menu.h b/ash/launcher/launcher_alignment_menu.h
|
| deleted file mode 100644
|
| index f5e551f34cbaaf7bec87b2f49458652e4c09afb6..0000000000000000000000000000000000000000
|
| --- a/ash/launcher/launcher_alignment_menu.h
|
| +++ /dev/null
|
| @@ -1,48 +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_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_
|
| -#define ASH_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_
|
| -
|
| -#include "ash/ash_export.h"
|
| -#include "base/basictypes.h"
|
| -#include "ui/base/models/simple_menu_model.h"
|
| -
|
| -namespace aura {
|
| -class RootWindow;
|
| -}
|
| -
|
| -namespace ash {
|
| -
|
| -// Submenu for choosing the alignment of the launcher.
|
| -class ASH_EXPORT LauncherAlignmentMenu : public ui::SimpleMenuModel,
|
| - public ui::SimpleMenuModel::Delegate {
|
| - public:
|
| - explicit LauncherAlignmentMenu(aura::RootWindow* root);
|
| - virtual ~LauncherAlignmentMenu();
|
| -
|
| - // ui::SimpleMenuModel::Delegate overrides:
|
| - virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
|
| - virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
|
| - virtual bool GetAcceleratorForCommandId(
|
| - int command_id,
|
| - ui::Accelerator* accelerator) OVERRIDE;
|
| - virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
|
| -
|
| - private:
|
| - enum MenuItem {
|
| - // Offset so as not to interfere with other menus.
|
| - MENU_ALIGN_LEFT = 500,
|
| - MENU_ALIGN_RIGHT,
|
| - MENU_ALIGN_BOTTOM,
|
| - };
|
| -
|
| - aura::RootWindow* root_window_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(LauncherAlignmentMenu);
|
| -};
|
| -
|
| -} // namespace ash
|
| -
|
| -#endif // ASH_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_
|
|
|