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

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: Updated based on sky's comments 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 d4770b5fb3874f3b2c96d7687c4555c81e00938e..d4873a958c3091e3daa1dfc4c18cd12ee2b83657 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -491,6 +491,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