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

Unified Diff: ui/views/widget/widget.h

Issue 297123002: API proposal for chrome.app.window to intercept all keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix permission check in code after rename Created 6 years, 5 months 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: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 02911b9aa18bdbc3f7f80d04df5efdcbdfedc6d3..ecc3d6c7b017b0e24e36df309daf977adbc0398e 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -488,6 +488,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Sets the widget to be visible on all work spaces.
void SetVisibleOnAllWorkspaces(bool always_visible);
+ // Sets whether all the keyboard events should be intercepted.
+ void SetInterceptAllKeys(bool want_all_keys);
+
// Maximizes/minimizes/restores the window.
void Maximize();
void Minimize();

Powered by Google App Engine
This is Rietveld 408576698