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

Unified Diff: services/ui/ws/server_window.h

Issue 2092343002: Touch HUD app for mustash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change window manager connection unittest to original Created 4 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
« no previous file with comments | « services/ui/public/interfaces/window_tree.mojom ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window.h
diff --git a/services/ui/ws/server_window.h b/services/ui/ws/server_window.h
index c59efd8a90f0bd6163cb8d2f864c1573ee266721..4eea395be54a7f5eced15526ee22c770b652ed87 100644
--- a/services/ui/ws/server_window.h
+++ b/services/ui/ws/server_window.h
@@ -181,6 +181,9 @@ class ServerWindow {
ServerWindowDelegate* delegate() { return delegate_; }
+ void SetAcceptEvents(bool accept_events) { accept_events_ = accept_events; }
+ bool AcceptEvents() { return accept_events_; }
+
#if !defined(NDEBUG)
std::string GetDebugWindowHierarchy() const;
void BuildDebugInfo(const std::string& depth, std::string* result) const;
@@ -225,6 +228,7 @@ class ServerWindow {
bool can_focus_;
gfx::Transform transform_;
ui::TextInputState text_input_state_;
+ bool accept_events_;
Properties properties_;
« no previous file with comments | « services/ui/public/interfaces/window_tree.mojom ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698