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

Side by Side Diff: chrome/browser/chromeos/login/lock/webui_screen_locker.h

Issue 910393002: Disable rendering when suspending on chrome os (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make PowerEventObserver getter cros-specific Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void OnAuthenticate() override; 64 void OnAuthenticate() override;
65 void SetInputEnabled(bool enabled) override; 65 void SetInputEnabled(bool enabled) override;
66 void ShowErrorMessage(int error_msg_id, 66 void ShowErrorMessage(int error_msg_id,
67 HelpAppLauncher::HelpTopic help_topic_id) override; 67 HelpAppLauncher::HelpTopic help_topic_id) override;
68 void ClearErrors() override; 68 void ClearErrors() override;
69 void AnimateAuthenticationSuccess() override; 69 void AnimateAuthenticationSuccess() override;
70 gfx::NativeWindow GetNativeWindow() const override; 70 gfx::NativeWindow GetNativeWindow() const override;
71 content::WebUI* GetAssociatedWebUI() override; 71 content::WebUI* GetAssociatedWebUI() override;
72 void OnLockWebUIReady() override; 72 void OnLockWebUIReady() override;
73 void OnLockBackgroundDisplayed() override; 73 void OnLockBackgroundDisplayed() override;
74 void OnHeaderBarVisible() override;
74 75
75 // LoginDisplay::Delegate: 76 // LoginDisplay::Delegate:
76 void CancelPasswordChangedFlow() override; 77 void CancelPasswordChangedFlow() override;
77 void CreateAccount() override; 78 void CreateAccount() override;
78 void CompleteLogin(const UserContext& user_context) override; 79 void CompleteLogin(const UserContext& user_context) override;
79 base::string16 GetConnectedNetworkName() override; 80 base::string16 GetConnectedNetworkName() override;
80 bool IsSigninInProgress() const override; 81 bool IsSigninInProgress() const override;
81 void Login(const UserContext& user_context, 82 void Login(const UserContext& user_context,
82 const SigninSpecifics& specifics) override; 83 const SigninSpecifics& specifics) override;
83 void MigrateUserData(const std::string& old_password) override; 84 void MigrateUserData(const std::string& old_password) override;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 gfx::Rect keyboard_bounds_; 163 gfx::Rect keyboard_bounds_;
163 164
164 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; 165 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_;
165 166
166 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 167 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
167 }; 168 };
168 169
169 } // namespace chromeos 170 } // namespace chromeos
170 171
171 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ 172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/lock/screen_locker_delegate.h ('k') | chrome/browser/chromeos/login/lock/webui_screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698