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

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

Issue 2761233003: Adds ability for accelerators to add key/value pairs to KeyEvent (Closed)
Patch Set: feedback and compile Created 3 years, 9 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_server_test_base.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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 void ActivateNextWindow() override; 478 void ActivateNextWindow() override;
479 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; 479 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override;
480 void WmResponse(uint32_t change_id, bool response) override; 480 void WmResponse(uint32_t change_id, bool response) override;
481 void WmRequestClose(Id transport_window_id) override; 481 void WmRequestClose(Id transport_window_id) override;
482 void WmSetFrameDecorationValues( 482 void WmSetFrameDecorationValues(
483 mojom::FrameDecorationValuesPtr values) override; 483 mojom::FrameDecorationValuesPtr values) override;
484 void WmSetNonClientCursor(uint32_t window_id, 484 void WmSetNonClientCursor(uint32_t window_id,
485 mojom::Cursor cursor_id) override; 485 mojom::Cursor cursor_id) override;
486 void OnWmCreatedTopLevelWindow(uint32_t change_id, 486 void OnWmCreatedTopLevelWindow(uint32_t change_id,
487 Id transport_window_id) override; 487 Id transport_window_id) override;
488 void OnAcceleratorAck(uint32_t event_id, mojom::EventResult result) override; 488 void OnAcceleratorAck(
489 uint32_t event_id,
490 mojom::EventResult result,
491 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
492 override;
489 493
490 // AccessPolicyDelegate: 494 // AccessPolicyDelegate:
491 bool HasRootForAccessPolicy(const ServerWindow* window) const override; 495 bool HasRootForAccessPolicy(const ServerWindow* window) const override;
492 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override; 496 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override;
493 bool IsWindowRootOfAnotherTreeForAccessPolicy( 497 bool IsWindowRootOfAnotherTreeForAccessPolicy(
494 const ServerWindow* window) const override; 498 const ServerWindow* window) const override;
495 bool IsWindowCreatedByWindowManager( 499 bool IsWindowCreatedByWindowManager(
496 const ServerWindow* window) const override; 500 const ServerWindow* window) const override;
497 501
498 // DragSource: 502 // DragSource:
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 waiting_for_top_level_window_info_; 586 waiting_for_top_level_window_info_;
583 bool embedder_intercepts_events_ = false; 587 bool embedder_intercepts_events_ = false;
584 588
585 DISALLOW_COPY_AND_ASSIGN(WindowTree); 589 DISALLOW_COPY_AND_ASSIGN(WindowTree);
586 }; 590 };
587 591
588 } // namespace ws 592 } // namespace ws
589 } // namespace ui 593 } // namespace ui
590 594
591 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 595 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_server_test_base.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698