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

Side by Side Diff: ash/common/frame/header_view.h

Issue 2239233002: [ash-md] Fades overview header in and out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Fades overview header in and out (fixed a new test assertion) 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/frame/default_header_painter.cc ('k') | ash/common/frame/header_view.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_COMMON_FRAME_HEADER_VIEW_H_ 5 #ifndef ASH_COMMON_FRAME_HEADER_VIEW_H_
6 #define ASH_COMMON_FRAME_HEADER_VIEW_H_ 6 #define ASH_COMMON_FRAME_HEADER_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 int GetPreferredHeight() const; 53 int GetPreferredHeight() const;
54 54
55 // Returns the view's minimum width. 55 // Returns the view's minimum width.
56 int GetMinimumWidth() const; 56 int GetMinimumWidth() const;
57 57
58 void UpdateAvatarIcon(); 58 void UpdateAvatarIcon();
59 59
60 void SizeConstraintsChanged(); 60 void SizeConstraintsChanged();
61 61
62 void SetFrameColors(SkColor active_frame_color, SkColor inactive_frame_color); 62 void SetFrameColors(SkColor active_frame_color, SkColor inactive_frame_color);
63 SkColor GetActiveFrameColor() const;
64 SkColor GetInactiveFrameColor() const;
63 65
64 // views::View: 66 // views::View:
65 void Layout() override; 67 void Layout() override;
66 void OnPaint(gfx::Canvas* canvas) override; 68 void OnPaint(gfx::Canvas* canvas) override;
67 void ChildPreferredSizeChanged(views::View* child) override; 69 void ChildPreferredSizeChanged(views::View* child) override;
68 70
69 // ShellObserver: 71 // ShellObserver:
70 void OnOverviewModeStarting() override; 72 void OnOverviewModeStarting() override;
71 void OnOverviewModeEnded() override; 73 void OnOverviewModeEnded() override;
72 void OnMaximizeModeStarted() override; 74 void OnMaximizeModeStarted() override;
(...skipping 30 matching lines...) Expand all
103 105
104 // Has this instance been set as the ImmersiveFullscreenControllerDelegate? 106 // Has this instance been set as the ImmersiveFullscreenControllerDelegate?
105 bool is_immersive_delegate_ = true; 107 bool is_immersive_delegate_ = true;
106 108
107 DISALLOW_COPY_AND_ASSIGN(HeaderView); 109 DISALLOW_COPY_AND_ASSIGN(HeaderView);
108 }; 110 };
109 111
110 } // namespace ash 112 } // namespace ash
111 113
112 #endif // ASH_COMMON_FRAME_HEADER_VIEW_H_ 114 #endif // ASH_COMMON_FRAME_HEADER_VIEW_H_
OLDNEW
« no previous file with comments | « ash/common/frame/default_header_painter.cc ('k') | ash/common/frame/header_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698