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

Side by Side Diff: components/mus/ws/window_manager_state.h

Issue 1881253002: mus: Implement ScreenMus::GetCursorScreenPoint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with tot Created 4 years, 7 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ 5 #ifndef COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_
6 #define COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ 6 #define COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 const ui::Event& event, 153 const ui::Event& event,
154 base::WeakPtr<Accelerator> accelerator); 154 base::WeakPtr<Accelerator> accelerator);
155 155
156 // EventDispatcherDelegate: 156 // EventDispatcherDelegate:
157 void OnAccelerator(uint32_t accelerator_id, const ui::Event& event) override; 157 void OnAccelerator(uint32_t accelerator_id, const ui::Event& event) override;
158 void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override; 158 void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override;
159 ServerWindow* GetFocusedWindowForEventDispatcher() override; 159 ServerWindow* GetFocusedWindowForEventDispatcher() override;
160 void SetNativeCapture() override; 160 void SetNativeCapture() override;
161 void ReleaseNativeCapture() override; 161 void ReleaseNativeCapture() override;
162 void OnServerWindowCaptureLost(ServerWindow* window) override; 162 void OnServerWindowCaptureLost(ServerWindow* window) override;
163 void OnMouseCursorLocationChanged(const gfx::Point& point) override;
163 void DispatchInputEventToWindow(ServerWindow* target, 164 void DispatchInputEventToWindow(ServerWindow* target,
164 bool in_nonclient_area, 165 bool in_nonclient_area,
165 const ui::Event& event, 166 const ui::Event& event,
166 Accelerator* accelerator) override; 167 Accelerator* accelerator) override;
167 void OnEventTargetNotFound(const ui::Event& event) override; 168 void OnEventTargetNotFound(const ui::Event& event) override;
168 169
169 Display* display_; 170 Display* display_;
170 PlatformDisplay* platform_display_; 171 PlatformDisplay* platform_display_;
171 // If this was created implicitly by a call 172 // If this was created implicitly by a call
172 // WindowTreeHostFactory::CreateWindowTreeHost(), then |is_user_id_valid_| 173 // WindowTreeHostFactory::CreateWindowTreeHost(), then |is_user_id_valid_|
(...skipping 17 matching lines...) Expand all
190 191
191 EventDispatcher event_dispatcher_; 192 EventDispatcher event_dispatcher_;
192 193
193 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); 194 DISALLOW_COPY_AND_ASSIGN(WindowManagerState);
194 }; 195 };
195 196
196 } // namespace ws 197 } // namespace ws
197 } // namespace mus 198 } // namespace mus
198 199
199 #endif // COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ 200 #endif // COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_
OLDNEW
« no previous file with comments | « components/mus/ws/user_display_manager_unittest.cc ('k') | components/mus/ws/window_manager_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698