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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.h

Issue 2046843005: mash: Migrate shelf menus to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ash_shell_with_content Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "ash/shell_delegate.h" 11 #include "ash/shell_delegate.h"
12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 12 #include "base/macros.h"
14 #include "base/observer_list.h" 13 #include "base/observer_list.h"
15 #include "build/build_config.h" 14 #include "build/build_config.h"
16 #include "chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.h" 15 #include "chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.h"
17 #include "content/public/browser/notification_observer.h" 16 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 17 #include "content/public/browser/notification_registrar.h"
19 18
20 namespace chromeos { 19 namespace chromeos {
21 class DisplayConfigurationObserver; 20 class DisplayConfigurationObserver;
22 } 21 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ash::ShelfDelegate* CreateShelfDelegate(ash::ShelfModel* model) override; 53 ash::ShelfDelegate* CreateShelfDelegate(ash::ShelfModel* model) override;
55 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; 54 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override;
56 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; 55 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override;
57 ash::SessionStateDelegate* CreateSessionStateDelegate() override; 56 ash::SessionStateDelegate* CreateSessionStateDelegate() override;
58 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; 57 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override;
59 ash::NewWindowDelegate* CreateNewWindowDelegate() override; 58 ash::NewWindowDelegate* CreateNewWindowDelegate() override;
60 ash::MediaDelegate* CreateMediaDelegate() override; 59 ash::MediaDelegate* CreateMediaDelegate() override;
61 std::unique_ptr<ash::ContainerDelegate> CreateContainerDelegate() override; 60 std::unique_ptr<ash::ContainerDelegate> CreateContainerDelegate() override;
62 std::unique_ptr<ash::PointerWatcherDelegate> CreatePointerWatcherDelegate() 61 std::unique_ptr<ash::PointerWatcherDelegate> CreatePointerWatcherDelegate()
63 override; 62 override;
64 ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, 63 ui::MenuModel* CreateContextMenu(ash::WmShelf* wm_shelf,
65 const ash::ShelfItem* item) override; 64 const ash::ShelfItem* item) override;
66 ash::GPUSupport* CreateGPUSupport() override; 65 ash::GPUSupport* CreateGPUSupport() override;
67 base::string16 GetProductName() const override; 66 base::string16 GetProductName() const override;
68 void OpenKeyboardShortcutHelpPage() const override; 67 void OpenKeyboardShortcutHelpPage() const override;
69 gfx::Image GetDeprecatedAcceleratorImage() const override; 68 gfx::Image GetDeprecatedAcceleratorImage() const override;
70 void ToggleTouchpad() override; 69 void ToggleTouchpad() override;
71 void ToggleTouchscreen() override; 70 void ToggleTouchscreen() override;
72 71
73 // content::NotificationObserver override: 72 // content::NotificationObserver override:
74 void Observe(int type, 73 void Observe(int type,
(...skipping 13 matching lines...) Expand all
88 // Proxies events from chrome/browser to ash::UserMetricsRecorder. 87 // Proxies events from chrome/browser to ash::UserMetricsRecorder.
89 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_; 88 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_;
90 89
91 std::unique_ptr<chromeos::DisplayConfigurationObserver> 90 std::unique_ptr<chromeos::DisplayConfigurationObserver>
92 display_configuration_observer_; 91 display_configuration_observer_;
93 92
94 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 93 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
95 }; 94 };
96 95
97 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 96 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698