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

Side by Side Diff: services/ui/ws/window_tree.h

Issue 2667073002: mash: changes can_accept_events to an enum (Closed)
Patch Set: merge Created 3 years, 10 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/ws/window_manager_display_root.cc ('k') | services/ui/ws/window_tree.cc » ('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_WS_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_
6 #define SERVICES_UI_WS_WINDOW_TREE_H_ 6 #define SERVICES_UI_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 void AttachCompositorFrameSink( 418 void AttachCompositorFrameSink(
419 Id transport_window_id, 419 Id transport_window_id,
420 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, 420 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
421 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; 421 cc::mojom::MojoCompositorFrameSinkClientPtr client) override;
422 void Embed(Id transport_window_id, 422 void Embed(Id transport_window_id,
423 mojom::WindowTreeClientPtr client, 423 mojom::WindowTreeClientPtr client,
424 uint32_t flags, 424 uint32_t flags,
425 const EmbedCallback& callback) override; 425 const EmbedCallback& callback) override;
426 void SetFocus(uint32_t change_id, Id transport_window_id) override; 426 void SetFocus(uint32_t change_id, Id transport_window_id) override;
427 void SetCanFocus(Id transport_window_id, bool can_focus) override; 427 void SetCanFocus(Id transport_window_id, bool can_focus) override;
428 void SetCanAcceptEvents(Id transport_window_id, 428 void SetEventTargetingPolicy(Id transport_window_id,
429 bool can_accept_events) override; 429 mojom::EventTargetingPolicy policy) override;
430 void SetPredefinedCursor(uint32_t change_id, 430 void SetPredefinedCursor(uint32_t change_id,
431 Id transport_window_id, 431 Id transport_window_id,
432 ui::mojom::Cursor cursor_id) override; 432 ui::mojom::Cursor cursor_id) override;
433 void SetWindowTextInputState(Id transport_window_id, 433 void SetWindowTextInputState(Id transport_window_id,
434 mojo::TextInputStatePtr state) override; 434 mojo::TextInputStatePtr state) override;
435 void SetImeVisibility(Id transport_window_id, 435 void SetImeVisibility(Id transport_window_id,
436 bool visible, 436 bool visible,
437 mojo::TextInputStatePtr state) override; 437 mojo::TextInputStatePtr state) override;
438 void OnWindowInputEventAck(uint32_t event_id, 438 void OnWindowInputEventAck(uint32_t event_id,
439 mojom::EventResult result) override; 439 mojom::EventResult result) override;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 waiting_for_top_level_window_info_; 581 waiting_for_top_level_window_info_;
582 bool embedder_intercepts_events_ = false; 582 bool embedder_intercepts_events_ = false;
583 583
584 DISALLOW_COPY_AND_ASSIGN(WindowTree); 584 DISALLOW_COPY_AND_ASSIGN(WindowTree);
585 }; 585 };
586 586
587 } // namespace ws 587 } // namespace ws
588 } // namespace ui 588 } // namespace ui
589 589
590 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 590 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_display_root.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698