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

Side by Side Diff: ash/shell/shell_delegate_impl.h

Issue 48523010: [Refactor] Introduce MediaDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_SHELL_DELEGATE_IMPL_H_ 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 28 matching lines...) Expand all
39 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; 39 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE;
40 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; 40 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
41 virtual ash::LauncherDelegate* CreateLauncherDelegate( 41 virtual ash::LauncherDelegate* CreateLauncherDelegate(
42 ash::LauncherModel* model) OVERRIDE; 42 ash::LauncherModel* model) OVERRIDE;
43 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; 43 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE;
44 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 44 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
45 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; 45 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE;
46 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; 46 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE;
47 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; 47 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE;
48 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; 48 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE;
49 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE;
49 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; 50 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
50 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; 51 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE;
51 virtual void HandleMediaNextTrack() OVERRIDE;
52 virtual void HandleMediaPlayPause() OVERRIDE;
53 virtual void HandleMediaPrevTrack() OVERRIDE;
54 virtual ui::MenuModel* CreateContextMenu( 52 virtual ui::MenuModel* CreateContextMenu(
55 aura::Window* root_window) OVERRIDE; 53 aura::Window* root_window) OVERRIDE;
56 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; 54 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE;
57 virtual base::string16 GetProductName() const OVERRIDE; 55 virtual base::string16 GetProductName() const OVERRIDE;
58 56
59 private: 57 private:
60 // Used to update Launcher. Owned by main. 58 // Used to update Launcher. Owned by main.
61 WindowWatcher* watcher_; 59 WindowWatcher* watcher_;
62 60
63 LauncherDelegateImpl* launcher_delegate_; 61 LauncherDelegateImpl* launcher_delegate_;
64 62
65 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 63 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
66 }; 64 };
67 65
68 } // namespace shell 66 } // namespace shell
69 } // namespace ash 67 } // namespace ash
70 68
71 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 69 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW
« ash/media_delegate.h ('K') | « ash/shell.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698