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

Side by Side Diff: services/ui/public/cpp/window_tree_client.h

Issue 2118383002: mus: Disregard windows that explicitly set can_accept_events to be false when sending events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments 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 unified diff | Download patch
« no previous file with comments | « services/ui/public/cpp/window.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const gfx::Rect& bounds); 105 const gfx::Rect& bounds);
106 void SetCapture(Window* window); 106 void SetCapture(Window* window);
107 void ReleaseCapture(Window* window); 107 void ReleaseCapture(Window* window);
108 void SetClientArea(Id window_id, 108 void SetClientArea(Id window_id,
109 const gfx::Insets& client_area, 109 const gfx::Insets& client_area,
110 const std::vector<gfx::Rect>& additional_client_areas); 110 const std::vector<gfx::Rect>& additional_client_areas);
111 void SetHitTestMask(Id window_id, const gfx::Rect& mask); 111 void SetHitTestMask(Id window_id, const gfx::Rect& mask);
112 void ClearHitTestMask(Id window_id); 112 void ClearHitTestMask(Id window_id);
113 void SetFocus(Window* window); 113 void SetFocus(Window* window);
114 void SetCanFocus(Id window_id, bool can_focus); 114 void SetCanFocus(Id window_id, bool can_focus);
115 void SetCanAcceptEvents(Id window_id, bool can_accept_events);
115 void SetPredefinedCursor(Id window_id, ui::mojom::Cursor cursor_id); 116 void SetPredefinedCursor(Id window_id, ui::mojom::Cursor cursor_id);
116 void SetVisible(Window* window, bool visible); 117 void SetVisible(Window* window, bool visible);
117 void SetOpacity(Window* window, float opacity); 118 void SetOpacity(Window* window, float opacity);
118 void SetProperty(Window* window, 119 void SetProperty(Window* window,
119 const std::string& name, 120 const std::string& name,
120 mojo::Array<uint8_t> data); 121 mojo::Array<uint8_t> data);
121 void SetWindowTextInputState(Id window_id, mojo::TextInputStatePtr state); 122 void SetWindowTextInputState(Id window_id, mojo::TextInputStatePtr state);
122 void SetImeVisibility(Id window_id, 123 void SetImeVisibility(Id window_id,
123 bool visible, 124 bool visible,
124 mojo::TextInputStatePtr state); 125 mojo::TextInputStatePtr state);
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 base::Callback<void(bool)> on_current_move_finished_; 430 base::Callback<void(bool)> on_current_move_finished_;
430 431
431 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 432 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
432 433
433 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 434 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
434 }; 435 };
435 436
436 } // namespace ui 437 } // namespace ui
437 438
438 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 439 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698