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

Side by Side Diff: ui/views/mus/desktop_window_tree_host_mus.h

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (Closed)
Patch Set: rebase 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
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MUS_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool IsAnimatingClosed() const override; 101 bool IsAnimatingClosed() const override;
102 bool IsTranslucentWindowOpacitySupported() const override; 102 bool IsTranslucentWindowOpacitySupported() const override;
103 void SizeConstraintsChanged() override; 103 void SizeConstraintsChanged() override;
104 104
105 // MusClientObserver: 105 // MusClientObserver:
106 void OnWindowManagerFrameValuesChanged() override; 106 void OnWindowManagerFrameValuesChanged() override;
107 107
108 // WindowTreeHostMus: 108 // WindowTreeHostMus:
109 void ShowImpl() override; 109 void ShowImpl() override;
110 void HideImpl() override; 110 void HideImpl() override;
111 void SetBounds(const gfx::Rect& bounds_in_pixels) override; 111 void SetBoundsInPixels(const gfx::Rect& bounds_in_pixels) override;
112 112
113 // aura::EnvObserver: 113 // aura::EnvObserver:
114 void OnWindowInitialized(aura::Window* window) override; 114 void OnWindowInitialized(aura::Window* window) override;
115 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client, 115 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client,
116 aura::Window* window) override; 116 aura::Window* window) override;
117 117
118 internal::NativeWidgetDelegate* native_widget_delegate_; 118 internal::NativeWidgetDelegate* native_widget_delegate_;
119 119
120 DesktopNativeWidgetAura* desktop_native_widget_aura_; 120 DesktopNativeWidgetAura* desktop_native_widget_aura_;
121 121
(...skipping 10 matching lines...) Expand all
132 132
133 // Used so that Close() isn't immediate. 133 // Used so that Close() isn't immediate.
134 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; 134 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); 136 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus);
137 }; 137 };
138 138
139 } // namespace views 139 } // namespace views
140 140
141 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 141 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698