summaryrefslogtreecommitdiffstats
path: root/extensions/browser/app_window
diff options
context:
space:
mode:
authorsriramsr <sriramsr@chromium.org>2015-09-09 11:25:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-09 18:26:32 +0000
commit9daeacae81c70fe055af8d8a333691ca9a9fd181 (patch)
tree97f3598ec903b01e3f86d03c235f52b7a5328f24 /extensions/browser/app_window
parent9b5cfe6a2eb9754671d9b46cfcd208a011877cf0 (diff)
downloadchromium_src-9daeacae81c70fe055af8d8a333691ca9a9fd181.zip
chromium_src-9daeacae81c70fe055af8d8a333691ca9a9fd181.tar.gz
chromium_src-9daeacae81c70fe055af8d8a333691ca9a9fd181.tar.bz2
Remove "API proposal for chrome.app.window to intercept all keys."
This reverts commit c811bb98b489b67a5f85ed79d7acd288533a080d. The commit is reverted as it was decided to not add the API to platform. Disabling presubmit to bypass enum edit check that fails as the enum value is renamed to kDelete_. NOPRESUBMIT=true BUG=166928 Review URL: https://codereview.chromium.org/1316013004 Cr-Commit-Position: refs/heads/master@{#347960}
Diffstat (limited to 'extensions/browser/app_window')
-rw-r--r--extensions/browser/app_window/app_window.cc4
-rw-r--r--extensions/browser/app_window/app_window.h4
-rw-r--r--extensions/browser/app_window/native_app_window.h4
3 files changed, 0 insertions, 12 deletions
diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc
index b6d7754..b2bfeb0 100644
--- a/extensions/browser/app_window/app_window.cc
+++ b/extensions/browser/app_window/app_window.cc
@@ -705,10 +705,6 @@ void AppWindow::RestoreAlwaysOnTop() {
UpdateNativeAlwaysOnTop();
}
-void AppWindow::SetInterceptAllKeys(bool want_all_keys) {
- native_app_window_->SetInterceptAllKeys(want_all_keys);
-}
-
void AppWindow::WindowEventsReady() {
can_send_events_ = true;
SendOnWindowShownIfShown();
diff --git a/extensions/browser/app_window/app_window.h b/extensions/browser/app_window/app_window.h
index 4a06269..f6c330d 100644
--- a/extensions/browser/app_window/app_window.h
+++ b/extensions/browser/app_window/app_window.h
@@ -332,10 +332,6 @@ class AppWindow : public content::WebContentsDelegate,
// Restores the always-on-top property according to |cached_always_on_top_|.
void RestoreAlwaysOnTop();
- // Set whether the window should get even reserved keys (modulo platform
- // restrictions).
- void SetInterceptAllKeys(bool want_all_keys);
-
// Retrieve the current state of the app window as a dictionary, to pass to
// the renderer.
void GetSerializedState(base::DictionaryValue* properties) const;
diff --git a/extensions/browser/app_window/native_app_window.h b/extensions/browser/app_window/native_app_window.h
index 3ad9142..40da368 100644
--- a/extensions/browser/app_window/native_app_window.h
+++ b/extensions/browser/app_window/native_app_window.h
@@ -51,10 +51,6 @@ class NativeAppWindow : public ui::BaseWindow,
// window is restored to the default shape.
virtual void UpdateShape(scoped_ptr<SkRegion> region) = 0;
- // Set whether the window should receive all keyboard events including task
- // switching keys.
- virtual void SetInterceptAllKeys(bool want_all_keys) = 0;
-
// Allows the window to handle unhandled keyboard messages coming back from
// the renderer.
virtual void HandleKeyboardEvent(