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

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

Issue 11175077: Fix the low battery notification string from mins -> minutes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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_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 "ash/shell_delegate.h" 8 #include "ash/shell_delegate.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( 48 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate(
49 ash::SystemTray* tray) OVERRIDE; 49 ash::SystemTray* tray) OVERRIDE;
50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
51 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; 51 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE;
52 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; 52 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
53 virtual void OpenFeedbackPage() OVERRIDE; 53 virtual void OpenFeedbackPage() OVERRIDE;
54 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; 54 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE;
55 virtual void HandleMediaNextTrack() OVERRIDE; 55 virtual void HandleMediaNextTrack() OVERRIDE;
56 virtual void HandleMediaPlayPause() OVERRIDE; 56 virtual void HandleMediaPlayPause() OVERRIDE;
57 virtual void HandleMediaPrevTrack() OVERRIDE; 57 virtual void HandleMediaPrevTrack() OVERRIDE;
58 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE;
59 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; 58 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE;
60 virtual double GetSavedScreenMagnifierScale() OVERRIDE; 59 virtual double GetSavedScreenMagnifierScale() OVERRIDE;
61 virtual ui::MenuModel* CreateContextMenu( 60 virtual ui::MenuModel* CreateContextMenu(
62 aura::RootWindow* root_window) OVERRIDE; 61 aura::RootWindow* root_window) OVERRIDE;
63 62
64 private: 63 private:
65 // Used to update Launcher. Owned by main. 64 // Used to update Launcher. Owned by main.
66 WindowWatcher* watcher_; 65 WindowWatcher* watcher_;
67 66
68 LauncherDelegateImpl* launcher_delegate_; 67 LauncherDelegateImpl* launcher_delegate_;
69 68
70 bool locked_; 69 bool locked_;
71 bool spoken_feedback_enabled_; 70 bool spoken_feedback_enabled_;
72 71
73 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 72 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
74 }; 73 };
75 74
76 } // namespace shell 75 } // namespace shell
77 } // namespace ash 76 } // namespace ash
78 77
79 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 78 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698