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 #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/desktop_background/user_wallpaper_delegate.h" | 9 #include "ash/desktop_background/user_wallpaper_delegate.h" |
10 #include "ash/root_window_controller.h" | 10 #include "ash/root_window_controller.h" |
11 #include "ash/shelf/shelf_widget.h" | 11 #include "ash/shelf/shelf_widget.h" |
12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
13 #include "ash/shell_delegate.h" | 13 #include "ash/shell_delegate.h" |
14 #include "ash/wm/property_util.h" | |
15 #include "base/bind.h" | 14 #include "base/bind.h" |
16 #include "base/command_line.h" | 15 #include "base/command_line.h" |
17 #include "base/prefs/pref_service.h" | 16 #include "base/prefs/pref_service.h" |
18 #include "chrome/browser/extensions/context_menu_matcher.h" | 17 #include "chrome/browser/extensions/context_menu_matcher.h" |
19 #include "chrome/browser/extensions/extension_prefs.h" | 18 #include "chrome/browser/extensions/extension_prefs.h" |
20 #include "chrome/browser/fullscreen.h" | 19 #include "chrome/browser/fullscreen.h" |
21 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 20 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
22 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
23 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" | 22 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" |
24 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" | 23 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 case MENU_CHANGE_WALLPAPER: | 277 case MENU_CHANGE_WALLPAPER: |
279 ash::Shell::GetInstance()->user_wallpaper_delegate()-> | 278 ash::Shell::GetInstance()->user_wallpaper_delegate()-> |
280 OpenSetWallpaperPage(); | 279 OpenSetWallpaperPage(); |
281 break; | 280 break; |
282 #endif | 281 #endif |
283 default: | 282 default: |
284 extension_items_->ExecuteCommand(command_id, NULL, | 283 extension_items_->ExecuteCommand(command_id, NULL, |
285 content::ContextMenuParams()); | 284 content::ContextMenuParams()); |
286 } | 285 } |
287 } | 286 } |
OLD | NEW |