From 750508d57a355c3f65ae61af4ae527bb9fcf4046 Mon Sep 17 00:00:00 2001
From: "danakj@chromium.org"
 <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 18 Dec 2012 00:52:58 +0000
Subject: Enable Search-key modifiers for extended key shortcuts.

We use the Search-key as a modifier to disable existing shortcuts that
do not use the Search key. So Alt+Backspace still generates a Delete, but
Search+Alt+Backspace generates Alt+Backspace. And, Search+Backspace will
also generate Delete.

Search acts as a modifier for accessing all of the extended keys: Home,
End, Delete, Page up, Page down, Insert.

This removes the command line flag entirely, making everything work
in a way that does not need a flag or a preference option.

Tests:
unit_tests:EventRewriterTest.TestRewriteExtendedKeys
unit_tests:EventRewriterTest.TestRewriteFunctionKeys
unit_tests:EventRewriterTest.TestRewriteExtendedKeysWithSearchRemapped

BUG=162268
NOTRY=true

Review URL: https://codereview.chromium.org/11578044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173607 0039d316-1c4b-4281-b951-d872f2087c98
---
 ash/shell_delegate.h | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'ash/shell_delegate.h')

diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index e6fc43f..bdd3958 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -216,10 +216,6 @@ class ASH_EXPORT ShellDelegate {
   // Creates the stacking client. Shell takes ownership of the object.
   virtual aura::client::StackingClient* CreateStackingClient() = 0;
 
-  // True if the user's preferences have the Search key acting as a Function key
-  // modifier for accessing extended keyboard shortcuts.
-  virtual bool IsSearchKeyActingAsFunctionKey() const = 0;
-
   // Creates a root window host factory. Shell takes ownership of the returned
   // value.
   virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
-- 
cgit v1.1