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

Side by Side Diff: ash/mus/window_manager.h

Issue 2183163002: mus: Change PointerWatcher to observe all pointer events, with moves optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 | « ash/common/system/tray/tray_event_filter.cc ('k') | ash/mus/window_manager.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ASH_MUS_WINDOW_MANAGER_H_ 5 #ifndef ASH_MUS_WINDOW_MANAGER_H_
6 #define ASH_MUS_WINDOW_MANAGER_H_ 6 #define ASH_MUS_WINDOW_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ui::Window* window, 86 ui::Window* window,
87 const display::Display& display); 87 const display::Display& display);
88 88
89 // ui::WindowObserver: 89 // ui::WindowObserver:
90 void OnWindowDestroying(ui::Window* window) override; 90 void OnWindowDestroying(ui::Window* window) override;
91 void OnWindowDestroyed(ui::Window* window) override; 91 void OnWindowDestroyed(ui::Window* window) override;
92 92
93 // WindowTreeClientDelegate: 93 // WindowTreeClientDelegate:
94 void OnEmbed(ui::Window* root) override; 94 void OnEmbed(ui::Window* root) override;
95 void OnDidDestroyClient(ui::WindowTreeClient* client) override; 95 void OnDidDestroyClient(ui::WindowTreeClient* client) override;
96 void OnEventObserved(const ui::Event& event, ui::Window* target) override; 96 void OnPointerEventObserved(const ui::PointerEvent& event,
97 ui::Window* target) override;
97 98
98 // WindowManagerDelegate: 99 // WindowManagerDelegate:
99 void SetWindowManagerClient(ui::WindowManagerClient* client) override; 100 void SetWindowManagerClient(ui::WindowManagerClient* client) override;
100 bool OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override; 101 bool OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override;
101 bool OnWmSetProperty( 102 bool OnWmSetProperty(
102 ui::Window* window, 103 ui::Window* window,
103 const std::string& name, 104 const std::string& name,
104 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 105 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
105 ui::Window* OnWmCreateTopLevelWindow( 106 ui::Window* OnWmCreateTopLevelWindow(
106 std::map<std::string, std::vector<uint8_t>>* properties) override; 107 std::map<std::string, std::vector<uint8_t>>* properties) override;
(...skipping 30 matching lines...) Expand all
137 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; 138 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_;
138 uint16_t next_accelerator_namespace_id_ = 0u; 139 uint16_t next_accelerator_namespace_id_ = 0u;
139 140
140 DISALLOW_COPY_AND_ASSIGN(WindowManager); 141 DISALLOW_COPY_AND_ASSIGN(WindowManager);
141 }; 142 };
142 143
143 } // namespace mus 144 } // namespace mus
144 } // namespace ash 145 } // namespace ash
145 146
146 #endif // ASH_MUS_WINDOW_MANAGER_H_ 147 #endif // ASH_MUS_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/tray_event_filter.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698