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

Unified Diff: ash/test/test_shell_delegate.h

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/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.h
diff --git a/ash/test/test_shell_delegate.h b/ash/test/test_shell_delegate.h
index b8f3ead91a5fe18392658ff1e937ca1f329453aa..c070a9b1007650e265a4bf7b94a96efdb9b3aee1 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -59,8 +59,12 @@ class TestShellDelegate : public ShellDelegate {
virtual double GetSavedScreenMagnifierScale() OVERRIDE;
virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE;
virtual aura::client::StackingClient* CreateStackingClient() OVERRIDE;
+ virtual bool IsSearchKeyActingAsFunctionKey() const OVERRIDE;
int num_exit_requests() const { return num_exit_requests_; }
+ void set_is_search_key_acting_as_function_key(bool b) {
+ is_search_key_acting_as_function_key_ = b;
+ }
private:
friend class ash::test::AshTestBase;
@@ -87,6 +91,7 @@ class TestShellDelegate : public ShellDelegate {
bool spoken_feedback_enabled_;
bool user_logged_in_;
bool can_lock_screen_;
+ bool is_search_key_acting_as_function_key_;
int num_exit_requests_;
scoped_ptr<content::BrowserContext> current_browser_context_;
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698