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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 9788001: Remove stops_event_propagation from Window, since it's broken. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/event_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
===================================================================
--- ash/test/test_shell_delegate.cc (revision 128508)
+++ ash/test/test_shell_delegate.cc (working copy)
@@ -15,7 +15,7 @@
namespace ash {
namespace test {
-TestShellDelegate::TestShellDelegate() {
+TestShellDelegate::TestShellDelegate() : locked_(false) {
}
TestShellDelegate::~TestShellDelegate() {
@@ -29,11 +29,18 @@
return true;
}
-#if defined(OS_CHROMEOS)
void TestShellDelegate::LockScreen() {
+ locked_ = true;
}
-#endif
+void TestShellDelegate::UnlockScreen() {
+ locked_ = false;
+}
+
+bool TestShellDelegate::IsScreenLocked() const {
+ return locked_;
+}
+
void TestShellDelegate::Exit() {
}
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/event_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698