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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 2541163006: Wire up CursorManager for DesktopWindowTreeHostMus (Closed)
Patch Set: Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool IsFullscreen() const override; 98 bool IsFullscreen() const override;
99 void SetOpacity(float opacity) override; 99 void SetOpacity(float opacity) override;
100 void SetWindowIcons(const gfx::ImageSkia& window_icon, 100 void SetWindowIcons(const gfx::ImageSkia& window_icon,
101 const gfx::ImageSkia& app_icon) override; 101 const gfx::ImageSkia& app_icon) override;
102 void InitModalType(ui::ModalType modal_type) override; 102 void InitModalType(ui::ModalType modal_type) override;
103 void FlashFrame(bool flash_frame) override; 103 void FlashFrame(bool flash_frame) override;
104 bool IsAnimatingClosed() const override; 104 bool IsAnimatingClosed() const override;
105 bool IsTranslucentWindowOpacitySupported() const override; 105 bool IsTranslucentWindowOpacitySupported() const override;
106 void SizeConstraintsChanged() override; 106 void SizeConstraintsChanged() override;
107 bool ShouldUpdateWindowTransparency() const override; 107 bool ShouldUpdateWindowTransparency() const override;
108 bool ShouldUseDesktopNativeCursorManager() const override;
108 109
109 // Overridden from aura::WindowTreeHost: 110 // Overridden from aura::WindowTreeHost:
110 ui::EventSource* GetEventSource() override; 111 ui::EventSource* GetEventSource() override;
111 gfx::AcceleratedWidget GetAcceleratedWidget() override; 112 gfx::AcceleratedWidget GetAcceleratedWidget() override;
112 void ShowImpl() override; 113 void ShowImpl() override;
113 void HideImpl() override; 114 void HideImpl() override;
114 gfx::Rect GetBoundsInPixels() const override; 115 gfx::Rect GetBoundsInPixels() const override;
115 void SetBoundsInPixels(const gfx::Rect& bounds) override; 116 void SetBoundsInPixels(const gfx::Rect& bounds) override;
116 gfx::Point GetLocationOnScreenInPixels() const override; 117 gfx::Point GetLocationOnScreenInPixels() const override;
117 void SetCapture() override; 118 void SetCapture() override;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // Indicates if current window will receive mouse events when should not 268 // Indicates if current window will receive mouse events when should not
268 // become activated. 269 // become activated.
269 bool wants_mouse_events_when_inactive_ = false; 270 bool wants_mouse_events_when_inactive_ = false;
270 271
271 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 272 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
272 }; 273 };
273 274
274 } // namespace views 275 } // namespace views
275 276
276 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 277 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698