| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" | 5 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "ash/common/shelf/shelf_model.h" | 9 #include "ash/shelf/shelf_model.h" |
| 10 #include "ash/common/shelf/wm_shelf.h" | 10 #include "ash/shelf/wm_shelf.h" |
| 11 #include "ash/common/wallpaper/wallpaper_delegate.h" | |
| 12 #include "ash/common/wm_shell.h" | |
| 13 #include "ash/common/wm_window.h" | |
| 14 #include "ash/strings/grit/ash_strings.h" | 11 #include "ash/strings/grit/ash_strings.h" |
| 12 #include "ash/wallpaper/wallpaper_delegate.h" |
| 13 #include "ash/wm_shell.h" |
| 14 #include "ash/wm_window.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" | 16 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
| 17 #include "chrome/browser/fullscreen.h" | 17 #include "chrome/browser/fullscreen.h" |
| 18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
| 19 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 19 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
| 20 #include "chrome/browser/ui/app_list/arc/arc_app_utils.h" | 20 #include "chrome/browser/ui/app_list/arc/arc_app_utils.h" |
| 21 #include "chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h" | 21 #include "chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h" |
| 22 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h" | 22 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h" |
| 23 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h" | 23 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h" |
| 24 #include "chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h" | 24 #include "chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h" |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 case MENU_PIN: | 199 case MENU_PIN: |
| 200 case MENU_AUTO_HIDE: | 200 case MENU_AUTO_HIDE: |
| 201 case MENU_ALIGNMENT_MENU: | 201 case MENU_ALIGNMENT_MENU: |
| 202 case MENU_CHANGE_WALLPAPER: | 202 case MENU_CHANGE_WALLPAPER: |
| 203 LauncherContextMenu::ExecuteCommand(command_id, event_flags); | 203 LauncherContextMenu::ExecuteCommand(command_id, event_flags); |
| 204 return true; | 204 return true; |
| 205 default: | 205 default: |
| 206 return false; | 206 return false; |
| 207 } | 207 } |
| 208 } | 208 } |
| OLD | NEW |