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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.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_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 bool ShouldUseNativeFrame() const override; 92 bool ShouldUseNativeFrame() const override;
93 bool ShouldWindowContentsBeTransparent() const override; 93 bool ShouldWindowContentsBeTransparent() const override;
94 void FrameTypeChanged() override; 94 void FrameTypeChanged() override;
95 void SetFullscreen(bool fullscreen) override; 95 void SetFullscreen(bool fullscreen) override;
96 bool IsFullscreen() const override; 96 bool IsFullscreen() const override;
97 void SetOpacity(float opacity) override; 97 void SetOpacity(float opacity) override;
98 void SetWindowIcons(const gfx::ImageSkia& window_icon, 98 void SetWindowIcons(const gfx::ImageSkia& window_icon,
99 const gfx::ImageSkia& app_icon) override; 99 const gfx::ImageSkia& app_icon) override;
100 void InitModalType(ui::ModalType modal_type) override; 100 void InitModalType(ui::ModalType modal_type) override;
101 void FlashFrame(bool flash_frame) override; 101 void FlashFrame(bool flash_frame) override;
102 void OnRootViewLayout() override;
103 bool IsAnimatingClosed() const override; 102 bool IsAnimatingClosed() const override;
104 bool IsTranslucentWindowOpacitySupported() const override; 103 bool IsTranslucentWindowOpacitySupported() const override;
105 void SizeConstraintsChanged() override; 104 void SizeConstraintsChanged() override;
106 105
107 // Overridden from aura::WindowTreeHost: 106 // Overridden from aura::WindowTreeHost:
108 ui::EventSource* GetEventSource() override; 107 ui::EventSource* GetEventSource() override;
109 gfx::AcceleratedWidget GetAcceleratedWidget() override; 108 gfx::AcceleratedWidget GetAcceleratedWidget() override;
110 void ShowImpl() override; 109 void ShowImpl() override;
111 void HideImpl() override; 110 void HideImpl() override;
112 gfx::Rect GetBounds() const override; 111 gfx::Rect GetBounds() const override;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // Indicates if current window will receive mouse events when should not 263 // Indicates if current window will receive mouse events when should not
265 // become activated. 264 // become activated.
266 bool wants_mouse_events_when_inactive_ = false; 265 bool wants_mouse_events_when_inactive_ = false;
267 266
268 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 267 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
269 }; 268 };
270 269
271 } // namespace views 270 } // namespace views
272 271
273 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 272 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698