summaryrefslogtreecommitdiffstats
path: root/extensions/shell
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/shell
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/shell')
-rw-r--r--extensions/shell/browser/shell_native_app_window.cc4
-rw-r--r--extensions/shell/browser/shell_native_app_window.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/extensions/shell/browser/shell_native_app_window.cc b/extensions/shell/browser/shell_native_app_window.cc
index 9113556..83e76a7 100644
--- a/extensions/shell/browser/shell_native_app_window.cc
+++ b/extensions/shell/browser/shell_native_app_window.cc
@@ -136,10 +136,6 @@ void ShellNativeAppWindow::UpdateShape(scoped_ptr<SkRegion> region) {
NOTIMPLEMENTED();
}
-void ShellNativeAppWindow::SetInterceptAllKeys(bool want_all_keys) {
- NOTIMPLEMENTED();
-}
-
void ShellNativeAppWindow::HandleKeyboardEvent(
const content::NativeWebKeyboardEvent& event) {
// No special handling. The WebContents will handle it.
diff --git a/extensions/shell/browser/shell_native_app_window.h b/extensions/shell/browser/shell_native_app_window.h
index 2dabbfe..a63248e 100644
--- a/extensions/shell/browser/shell_native_app_window.h
+++ b/extensions/shell/browser/shell_native_app_window.h
@@ -52,7 +52,6 @@ class ShellNativeAppWindow : public NativeAppWindow {
const std::vector<DraggableRegion>& regions) override;
SkRegion* GetDraggableRegion() override;
void UpdateShape(scoped_ptr<SkRegion> region) override;
- void SetInterceptAllKeys(bool want_all_keys) override;
void HandleKeyboardEvent(
const content::NativeWebKeyboardEvent& event) override;
bool IsFrameless() const override;