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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc

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_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
index cae42deef89384576fd345ff7e8dcf0578e9ac52..f7fd93144f77f799250629588cd13d26f7efcd5c 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
@@ -581,6 +581,10 @@ void DesktopWindowTreeHostX11::SetAlwaysOnTop(bool always_on_top) {
None);
}
+void DesktopWindowTreeHostX11::SetInterceptAllKeys(bool want_all_keys) {
+ // TODO(sriramsr): Need to implement for Linux.
+}
+
bool DesktopWindowTreeHostX11::IsAlwaysOnTop() const {
return is_always_on_top_;
}

Powered by Google App Engine
This is Rietveld 408576698