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

Side by Side Diff: ash/mus/bridge/wm_window_mus.h

Issue 2336673002: Reland of [ash-md] Fades overview header in and out (Closed)
Patch Set: Fixes use-after-free for the views that get destroyed synchronously in tests Created 4 years, 3 months 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 | « ash/common/wm_window_property.h ('k') | ash/mus/bridge/wm_window_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 ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/shell_window_ids.h" 10 #include "ash/common/shell_window_ids.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; 128 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override;
129 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; 129 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override;
130 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; 130 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override;
131 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; 131 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override;
132 gfx::Size GetMinimumSize() const override; 132 gfx::Size GetMinimumSize() const override;
133 gfx::Size GetMaximumSize() const override; 133 gfx::Size GetMaximumSize() const override;
134 bool GetTargetVisibility() const override; 134 bool GetTargetVisibility() const override;
135 bool IsVisible() const override; 135 bool IsVisible() const override;
136 void SetOpacity(float opacity) override; 136 void SetOpacity(float opacity) override;
137 float GetTargetOpacity() const override; 137 float GetTargetOpacity() const override;
138 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override;
138 void SetTransform(const gfx::Transform& transform) override; 139 void SetTransform(const gfx::Transform& transform) override;
139 gfx::Transform GetTargetTransform() const override; 140 gfx::Transform GetTargetTransform() const override;
140 bool IsSystemModal() const override; 141 bool IsSystemModal() const override;
141 bool GetBoolProperty(WmWindowProperty key) override; 142 bool GetBoolProperty(WmWindowProperty key) override;
143 SkColor GetColorProperty(WmWindowProperty key) override;
144 void SetColorProperty(WmWindowProperty key, SkColor value) override;
142 int GetIntProperty(WmWindowProperty key) override; 145 int GetIntProperty(WmWindowProperty key) override;
143 void SetIntProperty(WmWindowProperty key, int value) override; 146 void SetIntProperty(WmWindowProperty key, int value) override;
144 ShelfItemDetails* GetShelfItemDetails() override; 147 ShelfItemDetails* GetShelfItemDetails() override;
145 void SetShelfItemDetails(const ShelfItemDetails& details) override; 148 void SetShelfItemDetails(const ShelfItemDetails& details) override;
146 void ClearShelfItemDetails() override; 149 void ClearShelfItemDetails() override;
147 const wm::WindowState* GetWindowState() const override; 150 const wm::WindowState* GetWindowState() const override;
148 WmWindow* GetToplevelWindow() override; 151 WmWindow* GetToplevelWindow() override;
149 WmWindow* GetToplevelWindowForFocus() override; 152 WmWindow* GetToplevelWindowForFocus() override;
150 void SetParentUsingContext(WmWindow* context, 153 void SetParentUsingContext(WmWindow* context,
151 const gfx::Rect& screen_bounds) override; 154 const gfx::Rect& screen_bounds) override;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Set to true if set_window_type() is called. 297 // Set to true if set_window_type() is called.
295 bool is_wm_window_type_set_ = false; 298 bool is_wm_window_type_set_ = false;
296 299
297 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 300 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
298 }; 301 };
299 302
300 } // namespace mus 303 } // namespace mus
301 } // namespace ash 304 } // namespace ash
302 305
303 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 306 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_window_property.h ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698