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

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

Issue 10823439: Ash: Support "Next Song", "Previous Song", "Play/Pause" Multi Media buttons (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
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 "ash/launcher/launcher_types.h" 8 #include "ash/launcher/launcher_types.h"
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; 51 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE;
52 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; 52 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
53 virtual ash::LauncherDelegate* CreateLauncherDelegate( 53 virtual ash::LauncherDelegate* CreateLauncherDelegate(
54 ash::LauncherModel* model) OVERRIDE; 54 ash::LauncherModel* model) OVERRIDE;
55 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( 55 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate(
56 ash::SystemTray* tray) OVERRIDE; 56 ash::SystemTray* tray) OVERRIDE;
57 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 57 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
58 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; 58 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
59 virtual void OpenFeedbackPage() OVERRIDE; 59 virtual void OpenFeedbackPage() OVERRIDE;
60 virtual void RecordUserMetricsAction(ash::UserMetricsAction action) OVERRIDE; 60 virtual void RecordUserMetricsAction(ash::UserMetricsAction action) OVERRIDE;
61 virtual void HandleMediaNextTrack() OVERRIDE;
62 virtual void HandleMediaPlayPause() OVERRIDE;
63 virtual void HandleMediaPrevTrack() OVERRIDE;
61 64
62 // content::NotificationObserver override: 65 // content::NotificationObserver override:
63 virtual void Observe(int type, 66 virtual void Observe(int type,
64 const content::NotificationSource& source, 67 const content::NotificationSource& source,
65 const content::NotificationDetails& details) OVERRIDE; 68 const content::NotificationDetails& details) OVERRIDE;
66 69
67 private: 70 private:
68 static ChromeShellDelegate* instance_; 71 static ChromeShellDelegate* instance_;
69 72
70 content::NotificationRegistrar registrar_; 73 content::NotificationRegistrar registrar_;
71 74
72 scoped_ptr<WindowPositioner> window_positioner_; 75 scoped_ptr<WindowPositioner> window_positioner_;
73 76
74 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; 77 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_;
75 78
76 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 79 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
77 }; 80 };
78 81
79 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 82 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698