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

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

Issue 2795503002: mash: Don't synthesize extra key press events in the window server (Closed)
Patch Set: remove InputMethodBridge workaround Created 3 years, 8 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/BUILD.gn ('k') | services/ui/ws/display.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 SERVICES_UI_WS_DISPLAY_H_ 5 #ifndef SERVICES_UI_WS_DISPLAY_H_
6 #define SERVICES_UI_WS_DISPLAY_H_ 6 #define SERVICES_UI_WS_DISPLAY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 // Creates the root ServerWindow for this display, where |size| is in physical 177 // Creates the root ServerWindow for this display, where |size| is in physical
178 // pixels. 178 // pixels.
179 void CreateRootWindow(const gfx::Size& size); 179 void CreateRootWindow(const gfx::Size& size);
180 180
181 // PlatformDisplayDelegate: 181 // PlatformDisplayDelegate:
182 ServerWindow* GetRootWindow() override; 182 ServerWindow* GetRootWindow() override;
183 EventSink* GetEventSink() override; 183 EventSink* GetEventSink() override;
184 void OnAcceleratedWidgetAvailable() override; 184 void OnAcceleratedWidgetAvailable() override;
185 void OnNativeCaptureLost() override; 185 void OnNativeCaptureLost() override;
186 OzonePlatform* GetOzonePlatform() override;
186 187
187 // FocusControllerDelegate: 188 // FocusControllerDelegate:
188 bool CanHaveActiveChildren(ServerWindow* window) const override; 189 bool CanHaveActiveChildren(ServerWindow* window) const override;
189 190
190 // FocusControllerObserver: 191 // FocusControllerObserver:
191 void OnActivationChanged(ServerWindow* old_active_window, 192 void OnActivationChanged(ServerWindow* old_active_window,
192 ServerWindow* new_active_window) override; 193 ServerWindow* new_active_window) override;
193 void OnFocusChanged(FocusControllerChangeSource change_source, 194 void OnFocusChanged(FocusControllerChangeSource change_source,
194 ServerWindow* old_focused_window, 195 ServerWindow* old_focused_window,
195 ServerWindow* new_focused_window) override; 196 ServerWindow* new_focused_window) override;
(...skipping 27 matching lines...) Expand all
223 224
224 WindowManagerDisplayRootMap window_manager_display_root_map_; 225 WindowManagerDisplayRootMap window_manager_display_root_map_;
225 226
226 DISALLOW_COPY_AND_ASSIGN(Display); 227 DISALLOW_COPY_AND_ASSIGN(Display);
227 }; 228 };
228 229
229 } // namespace ws 230 } // namespace ws
230 } // namespace ui 231 } // namespace ui
231 232
232 #endif // SERVICES_UI_WS_DISPLAY_H_ 233 #endif // SERVICES_UI_WS_DISPLAY_H_
OLDNEW
« no previous file with comments | « services/ui/ws/BUILD.gn ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698