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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 11421055: Add power-user keyboard mode for ChromeOS with Search key acting as a typical Fn key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SkyNits Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index 0f81bde0d57022027198a6cf42f86cca6496aa31..e679c5dfceefb6d0663f0b365e0b5cb2937e1329 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -24,6 +24,7 @@ TestShellDelegate::TestShellDelegate()
spoken_feedback_enabled_(false),
user_logged_in_(true),
can_lock_screen_(true),
+ is_search_key_acting_as_function_key_(false),
num_exit_requests_(0) {
}
@@ -171,6 +172,10 @@ aura::client::StackingClient* TestShellDelegate::CreateStackingClient() {
return new StackingController;
}
+bool TestShellDelegate::IsSearchKeyActingAsFunctionKey() const {
+ return is_search_key_acting_as_function_key_;
+}
+
void TestShellDelegate::SetSessionStarted(bool session_started) {
session_started_ = session_started;
if (session_started)
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698