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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host.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: Return if there is no windows with keyboard focus. Created 6 years, 4 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/desktop_aura/desktop_window_tree_host.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host.h b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
index a78158a1fd02444a9db162d937e540679a9123ea..ba5be6c934f00304478f57c3625a5bb8bd54cfec 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
@@ -111,6 +111,8 @@ class VIEWS_EXPORT DesktopWindowTreeHost {
virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
+ virtual void SetInterceptAllKeys(bool want_all_keys) = 0;
+
// Returns true if the title changed.
virtual bool SetWindowTitle(const base::string16& title) = 0;

Powered by Google App Engine
This is Rietveld 408576698