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

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

Issue 201573015: Introdcue AshWindowTreeHost and move ash/chrome specific code in WTH to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
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 "ui/aura/window_tree_host.h" 8 #include "ui/aura/window_tree_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual void FlashFrame(bool flash_frame) OVERRIDE; 102 virtual void FlashFrame(bool flash_frame) OVERRIDE;
103 virtual void OnRootViewLayout() const OVERRIDE; 103 virtual void OnRootViewLayout() const OVERRIDE;
104 virtual void OnNativeWidgetFocus() OVERRIDE; 104 virtual void OnNativeWidgetFocus() OVERRIDE;
105 virtual void OnNativeWidgetBlur() OVERRIDE; 105 virtual void OnNativeWidgetBlur() OVERRIDE;
106 virtual bool IsAnimatingClosed() const OVERRIDE; 106 virtual bool IsAnimatingClosed() const OVERRIDE;
107 107
108 // Overridden from aura::WindowTreeHost: 108 // Overridden from aura::WindowTreeHost:
109 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 109 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
110 virtual void Show() OVERRIDE; 110 virtual void Show() OVERRIDE;
111 virtual void Hide() OVERRIDE; 111 virtual void Hide() OVERRIDE;
112 virtual void ToggleFullScreen() OVERRIDE;
113 virtual gfx::Rect GetBounds() const OVERRIDE; 112 virtual gfx::Rect GetBounds() const OVERRIDE;
114 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 113 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
115 virtual gfx::Insets GetInsets() const OVERRIDE;
116 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
117 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 114 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
118 virtual void SetCapture() OVERRIDE; 115 virtual void SetCapture() OVERRIDE;
119 virtual void ReleaseCapture() OVERRIDE; 116 virtual void ReleaseCapture() OVERRIDE;
120 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 117 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
121 virtual bool ConfineCursorToRootWindow() OVERRIDE;
122 virtual void UnConfineCursor() OVERRIDE;
123 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 118 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
124 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 119 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
125 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 120 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
126 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 121 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
127 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 122 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
128 123
129 // Overridden frm ui::EventSource 124 // Overridden frm ui::EventSource
130 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 125 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
131 126
132 // Overridden from aura::client::AnimationHost 127 // Overridden from aura::client::AnimationHost
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 static bool is_cursor_visible_; 270 static bool is_cursor_visible_;
276 271
277 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 272 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
278 273
279 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 274 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
280 }; 275 };
281 276
282 } // namespace views 277 } // namespace views
283 278
284 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 279 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('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