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

Side by Side Diff: mojo/aura/window_tree_host_mojo.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
« no previous file with comments | « no previous file | mojo/aura/window_tree_host_mojo.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_ 5 #ifndef MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_
6 #define MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_ 6 #define MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_
7 7
8 #include "mojo/services/public/cpp/view_manager/node_observer.h" 8 #include "mojo/services/public/cpp/view_manager/node_observer.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/events/event_source.h" 10 #include "ui/events/event_source.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual ui::EventSource* GetEventSource() OVERRIDE; 46 virtual ui::EventSource* GetEventSource() OVERRIDE;
47 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 47 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
48 virtual void Show() OVERRIDE; 48 virtual void Show() OVERRIDE;
49 virtual void Hide() OVERRIDE; 49 virtual void Hide() OVERRIDE;
50 virtual gfx::Rect GetBounds() const OVERRIDE; 50 virtual gfx::Rect GetBounds() const OVERRIDE;
51 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 51 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
52 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 52 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
53 virtual void SetCapture() OVERRIDE; 53 virtual void SetCapture() OVERRIDE;
54 virtual void ReleaseCapture() OVERRIDE; 54 virtual void ReleaseCapture() OVERRIDE;
55 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 55 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
56 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
57 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 56 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
58 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 57 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
59 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 58 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
60 59
61 // ui::EventSource: 60 // ui::EventSource:
62 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 61 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
63 62
64 // view_manager::NodeObserver: 63 // view_manager::NodeObserver:
65 virtual void OnNodeBoundsChanged( 64 virtual void OnNodeBoundsChanged(
66 view_manager::Node* node, 65 view_manager::Node* node,
67 const gfx::Rect& old_bounds, 66 const gfx::Rect& old_bounds,
68 const gfx::Rect& new_bounds) OVERRIDE; 67 const gfx::Rect& new_bounds) OVERRIDE;
69 68
70 view_manager::Node* node_; 69 view_manager::Node* node_;
71 70
72 gfx::Rect bounds_; 71 gfx::Rect bounds_;
73 72
74 WindowTreeHostMojoDelegate* delegate_; 73 WindowTreeHostMojoDelegate* delegate_;
75 74
76 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMojo); 75 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMojo);
77 }; 76 };
78 77
79 } // namespace mojo 78 } // namespace mojo
80 79
81 #endif // MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_ 80 #endif // MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/aura/window_tree_host_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698