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

Unified Diff: chrome/browser/ui/ash/event_rewriter.h

Issue 11280153: Add Search-. as a shortcut for the Insert key when Search is acting as a Function key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a , 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
Index: chrome/browser/ui/ash/event_rewriter.h
diff --git a/chrome/browser/ui/ash/event_rewriter.h b/chrome/browser/ui/ash/event_rewriter.h
index 2cb279c70ca5dd1ceeaa816c741d356cc4a73502..69f57ebf313c138e071ec07106f3cea1c76dfcb4 100644
--- a/chrome/browser/ui/ash/event_rewriter.h
+++ b/chrome/browser/ui/ash/event_rewriter.h
@@ -173,9 +173,10 @@ class EventRewriter : public ash::EventRewriterDelegate,
// * Search+Up -> Prior (aka PageUp)
// * Search+Down -> Next (aka PageDown)
// * Search+Left -> Home
- // * Search+right -> End
+ // * Search+Right -> End
+ // * Search+. -> Insert
// Returns true when the |event| is rewritten.
- bool RewriteBackspaceAndArrowKeys(ui::KeyEvent* event);
+ bool RewriteBackspacePeriodAndArrowKeys(ui::KeyEvent* event);
// When the Search key acts as a function key, it remaps Search+1
// through Search+= to F1 through F12. Returns true when the |event| is

Powered by Google App Engine
This is Rietveld 408576698