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

Side by Side Diff: ash/shell_delegate.h

Issue 10191010: Re-implement the screensaver to use WebView instead of ExtensionDialogHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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 | Annotate | Revision Log
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 ASH_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Invoked when the user uses Ctrl-M to open file manager. 65 // Invoked when the user uses Ctrl-M to open file manager.
66 virtual void OpenFileManager() = 0; 66 virtual void OpenFileManager() = 0;
67 67
68 // Invoked when the user opens Crosh. 68 // Invoked when the user opens Crosh.
69 virtual void OpenCrosh() = 0; 69 virtual void OpenCrosh() = 0;
70 70
71 // Invoked when the user needs to set up mobile networking. 71 // Invoked when the user needs to set up mobile networking.
72 virtual void OpenMobileSetup() = 0; 72 virtual void OpenMobileSetup() = 0;
73 73
74 // Get the current browser context. This will get us the current profile.
75 virtual content::BrowserContext* GetCurrentBrowserContext() = 0;
76
74 // Invoked to create an AppListViewDelegate. Shell takes the ownership of 77 // Invoked to create an AppListViewDelegate. Shell takes the ownership of
75 // the created delegate. 78 // the created delegate.
76 virtual AppListViewDelegate* CreateAppListViewDelegate() = 0; 79 virtual AppListViewDelegate* CreateAppListViewDelegate() = 0;
77 80
78 // Invoked to start taking partial screenshot. 81 // Invoked to start taking partial screenshot.
79 virtual void StartPartialScreenshot( 82 virtual void StartPartialScreenshot(
80 ScreenshotDelegate* screenshot_delegate) = 0; 83 ScreenshotDelegate* screenshot_delegate) = 0;
81 84
82 // Creates a new LauncherDelegate. Shell takes ownership of the returned 85 // Creates a new LauncherDelegate. Shell takes ownership of the returned
83 // value. 86 // value.
84 virtual LauncherDelegate* CreateLauncherDelegate( 87 virtual LauncherDelegate* CreateLauncherDelegate(
85 ash::LauncherModel* model) = 0; 88 ash::LauncherModel* model) = 0;
86 89
87 // Creates a system-tray delegate. Shell takes ownership of the delegate. 90 // Creates a system-tray delegate. Shell takes ownership of the delegate.
88 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0; 91 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0;
89 92
90 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. 93 // Creates a user wallpaper delegate. Shell takes ownership of the delegate.
91 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; 94 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0;
92 }; 95 };
93 96
94 } // namespace ash 97 } // namespace ash
95 98
96 #endif // ASH_SHELL_DELEGATE_H_ 99 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698