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

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: 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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const gfx::ImageSkia& app_icon) override; 87 const gfx::ImageSkia& app_icon) override;
88 void InitModalType(ui::ModalType modal_type) override; 88 void InitModalType(ui::ModalType modal_type) override;
89 void FlashFrame(bool flash_frame) override; 89 void FlashFrame(bool flash_frame) override;
90 bool IsAnimatingClosed() const override; 90 bool IsAnimatingClosed() const override;
91 bool IsTranslucentWindowOpacitySupported() const override; 91 bool IsTranslucentWindowOpacitySupported() const override;
92 void SizeConstraintsChanged() override; 92 void SizeConstraintsChanged() override;
93 93
94 // WindowTreeHostMus: 94 // WindowTreeHostMus:
95 void ShowImpl() override; 95 void ShowImpl() override;
96 void HideImpl() override; 96 void HideImpl() override;
97 void SetBounds(const gfx::Rect& bounds_in_pixels) override; 97 void SetBoundsInPixel(const gfx::Rect& bounds_in_pixels) override;
98 98
99 // aura::EnvObserver: 99 // aura::EnvObserver:
100 void OnWindowInitialized(aura::Window* window) override; 100 void OnWindowInitialized(aura::Window* window) override;
101 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client, 101 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client,
102 aura::Window* window) override; 102 aura::Window* window) override;
103 103
104 internal::NativeWidgetDelegate* native_widget_delegate_; 104 internal::NativeWidgetDelegate* native_widget_delegate_;
105 105
106 DesktopNativeWidgetAura* desktop_native_widget_aura_; 106 DesktopNativeWidgetAura* desktop_native_widget_aura_;
107 107
(...skipping 10 matching lines...) Expand all
118 118
119 // Used so that Close() isn't immediate. 119 // Used so that Close() isn't immediate.
120 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; 120 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); 122 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus);
123 }; 123 };
124 124
125 } // namespace views 125 } // namespace views
126 126
127 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 127 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698