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

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

Issue 2507403002: Remove Widget::OnRootViewLayout(). (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 bool ShouldUseNativeFrame() const override; 78 bool ShouldUseNativeFrame() const override;
79 bool ShouldWindowContentsBeTransparent() const override; 79 bool ShouldWindowContentsBeTransparent() const override;
80 void FrameTypeChanged() override; 80 void FrameTypeChanged() override;
81 void SetFullscreen(bool fullscreen) override; 81 void SetFullscreen(bool fullscreen) override;
82 bool IsFullscreen() const override; 82 bool IsFullscreen() const override;
83 void SetOpacity(float opacity) override; 83 void SetOpacity(float opacity) override;
84 void SetWindowIcons(const gfx::ImageSkia& window_icon, 84 void SetWindowIcons(const gfx::ImageSkia& window_icon,
85 const gfx::ImageSkia& app_icon) override; 85 const gfx::ImageSkia& app_icon) override;
86 void InitModalType(ui::ModalType modal_type) override; 86 void InitModalType(ui::ModalType modal_type) override;
87 void FlashFrame(bool flash_frame) override; 87 void FlashFrame(bool flash_frame) override;
88 void OnRootViewLayout() override;
89 bool IsAnimatingClosed() const override; 88 bool IsAnimatingClosed() const override;
90 bool IsTranslucentWindowOpacitySupported() const override; 89 bool IsTranslucentWindowOpacitySupported() const override;
91 void SizeConstraintsChanged() override; 90 void SizeConstraintsChanged() override;
92 91
93 // WindowTreeHostMus: 92 // WindowTreeHostMus:
94 void ShowImpl() override; 93 void ShowImpl() override;
95 void HideImpl() override; 94 void HideImpl() override;
96 void SetBounds(const gfx::Rect& bounds_in_pixels) override; 95 void SetBounds(const gfx::Rect& bounds_in_pixels) override;
97 96
98 // aura::EnvObserver: 97 // aura::EnvObserver:
(...skipping 18 matching lines...) Expand all
117 116
118 // Used so that Close() isn't immediate. 117 // Used so that Close() isn't immediate.
119 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; 118 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_;
120 119
121 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); 120 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus);
122 }; 121 };
123 122
124 } // namespace views 123 } // namespace views
125 124
126 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 125 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698