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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.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
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_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <X11/extensions/shape.h> 10 #include <X11/extensions/shape.h>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool ShouldUseNativeFrame() const override; 140 bool ShouldUseNativeFrame() const override;
141 bool ShouldWindowContentsBeTransparent() const override; 141 bool ShouldWindowContentsBeTransparent() const override;
142 void FrameTypeChanged() override; 142 void FrameTypeChanged() override;
143 void SetFullscreen(bool fullscreen) override; 143 void SetFullscreen(bool fullscreen) override;
144 bool IsFullscreen() const override; 144 bool IsFullscreen() const override;
145 void SetOpacity(float opacity) override; 145 void SetOpacity(float opacity) override;
146 void SetWindowIcons(const gfx::ImageSkia& window_icon, 146 void SetWindowIcons(const gfx::ImageSkia& window_icon,
147 const gfx::ImageSkia& app_icon) override; 147 const gfx::ImageSkia& app_icon) override;
148 void InitModalType(ui::ModalType modal_type) override; 148 void InitModalType(ui::ModalType modal_type) override;
149 void FlashFrame(bool flash_frame) override; 149 void FlashFrame(bool flash_frame) override;
150 void OnRootViewLayout() override;
151 bool IsAnimatingClosed() const override; 150 bool IsAnimatingClosed() const override;
152 bool IsTranslucentWindowOpacitySupported() const override; 151 bool IsTranslucentWindowOpacitySupported() const override;
153 void SizeConstraintsChanged() override; 152 void SizeConstraintsChanged() override;
154 153
155 // Overridden from aura::WindowTreeHost: 154 // Overridden from aura::WindowTreeHost:
156 gfx::Transform GetRootTransform() const override; 155 gfx::Transform GetRootTransform() const override;
157 ui::EventSource* GetEventSource() override; 156 ui::EventSource* GetEventSource() override;
158 gfx::AcceleratedWidget GetAcceleratedWidget() override; 157 gfx::AcceleratedWidget GetAcceleratedWidget() override;
159 void ShowImpl() override; 158 void ShowImpl() override;
160 void HideImpl() override; 159 void HideImpl() override;
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 425
427 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; 426 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
428 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; 427 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_;
429 428
430 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 429 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
431 }; 430 };
432 431
433 } // namespace views 432 } // namespace views
434 433
435 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 434 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698