Chromium Code Reviews| Index: services/ui/ws/server_window.h |
| diff --git a/services/ui/ws/server_window.h b/services/ui/ws/server_window.h |
| index 6d66668f0114c40c7c87e8a59a56d247a7213a90..961bd56070a7617b2e9965ff88ce74ed9f06fca8 100644 |
| --- a/services/ui/ws/server_window.h |
| +++ b/services/ui/ws/server_window.h |
| @@ -151,6 +151,9 @@ class ServerWindow { |
| void set_can_focus(bool can_focus) { can_focus_ = can_focus; } |
| bool can_focus() const { return can_focus_; } |
| + void set_accept_events(bool accept_events) { accept_events_ = accept_events; } |
|
sky
2016/07/08 20:35:00
can_accept. The reason I'm requesting the 'can' is
riajiang
2016/07/11 15:48:38
Done.
|
| + bool accept_events() const { return accept_events_; } |
| + |
| // Returns true if this window is attached to a root and all ancestors are |
| // visible. |
| bool IsDrawn() const; |
| @@ -223,6 +226,7 @@ class ServerWindow { |
| bool can_focus_; |
| gfx::Transform transform_; |
| ui::TextInputState text_input_state_; |
| + bool accept_events_; |
| Properties properties_; |