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

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

Issue 389663003: aura: Remove WindowTreeHost::OnDeviceScaleFactorChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual ui::EventSource* GetEventSource() OVERRIDE; 108 virtual ui::EventSource* GetEventSource() OVERRIDE;
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 gfx::Rect GetBounds() const OVERRIDE; 112 virtual gfx::Rect GetBounds() const OVERRIDE;
113 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 113 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
114 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 114 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
115 virtual void SetCapture() OVERRIDE; 115 virtual void SetCapture() OVERRIDE;
116 virtual void ReleaseCapture() OVERRIDE; 116 virtual void ReleaseCapture() OVERRIDE;
117 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 117 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
118 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
119 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 118 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
120 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 119 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
121 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 120 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
122 121
123 // Overridden frm ui::EventSource 122 // Overridden frm ui::EventSource
124 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 123 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
125 124
126 // Overridden from aura::client::AnimationHost 125 // Overridden from aura::client::AnimationHost
127 virtual void SetHostTransitionOffsets( 126 virtual void SetHostTransitionOffsets(
128 const gfx::Vector2d& top_left_delta, 127 const gfx::Vector2d& top_left_delta,
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 static bool is_cursor_visible_; 265 static bool is_cursor_visible_;
267 266
268 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 267 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
269 268
270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
271 }; 270 };
272 271
273 } // namespace views 272 } // namespace views
274 273
275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_x11.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