| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTEXT_MENU_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTEXT_MENU_H_ |
| 7 | 7 |
| 8 #include "ash/launcher/launcher_alignment_menu.h" | 8 #include "ash/launcher/launcher_alignment_menu.h" |
| 9 #include "ash/launcher/launcher_types.h" | 9 #include "ash/launcher/launcher_types.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 MENU_CLOSE, | 64 MENU_CLOSE, |
| 65 MENU_PIN, | 65 MENU_PIN, |
| 66 LAUNCH_TYPE_PINNED_TAB, | 66 LAUNCH_TYPE_PINNED_TAB, |
| 67 LAUNCH_TYPE_REGULAR_TAB, | 67 LAUNCH_TYPE_REGULAR_TAB, |
| 68 LAUNCH_TYPE_FULLSCREEN, | 68 LAUNCH_TYPE_FULLSCREEN, |
| 69 LAUNCH_TYPE_WINDOW, | 69 LAUNCH_TYPE_WINDOW, |
| 70 MENU_AUTO_HIDE, | 70 MENU_AUTO_HIDE, |
| 71 MENU_NEW_WINDOW, | 71 MENU_NEW_WINDOW, |
| 72 MENU_NEW_INCOGNITO_WINDOW, | 72 MENU_NEW_INCOGNITO_WINDOW, |
| 73 MENU_ALIGNMENT_MENU, | 73 MENU_ALIGNMENT_MENU, |
| 74 #if defined(OS_CHROMEOS) && defined(OFFICIAL_BUILD) | 74 #if defined(OS_CHROMEOS) && defined(GOOGLE_CHROME_BUILD) |
| 75 MENU_CHANGE_WALLPAPER, | 75 MENU_CHANGE_WALLPAPER, |
| 76 #endif | 76 #endif |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 // Does |item_| represent a valid item? See description of constructor for | 79 // Does |item_| represent a valid item? See description of constructor for |
| 80 // details on why it may not be valid. | 80 // details on why it may not be valid. |
| 81 bool is_valid_item() const { return item_.id != 0; } | 81 bool is_valid_item() const { return item_.id != 0; } |
| 82 | 82 |
| 83 ChromeLauncherController* controller_; | 83 ChromeLauncherController* controller_; |
| 84 | 84 |
| 85 ash::LauncherItem item_; | 85 ash::LauncherItem item_; |
| 86 | 86 |
| 87 ash::LauncherAlignmentMenu launcher_alignment_menu_; | 87 ash::LauncherAlignmentMenu launcher_alignment_menu_; |
| 88 | 88 |
| 89 scoped_ptr<extensions::ContextMenuMatcher> extension_items_; | 89 scoped_ptr<extensions::ContextMenuMatcher> extension_items_; |
| 90 | 90 |
| 91 aura::RootWindow* root_window_; | 91 aura::RootWindow* root_window_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(LauncherContextMenu); | 93 DISALLOW_COPY_AND_ASSIGN(LauncherContextMenu); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTEXT_MENU_H_ | 96 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTEXT_MENU_H_ |
| OLD | NEW |