OLD | NEW |
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_FRAME_HEADER_VIEW_H_ | 5 #ifndef ASH_FRAME_HEADER_VIEW_H_ |
6 #define ASH_FRAME_HEADER_VIEW_H_ | 6 #define ASH_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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 SkColor GetInactiveFrameColor() const; | 67 SkColor GetInactiveFrameColor() const; |
68 | 68 |
69 // views::View: | 69 // views::View: |
70 void Layout() override; | 70 void Layout() override; |
71 void OnPaint(gfx::Canvas* canvas) override; | 71 void OnPaint(gfx::Canvas* canvas) override; |
72 void ChildPreferredSizeChanged(views::View* child) override; | 72 void ChildPreferredSizeChanged(views::View* child) override; |
73 | 73 |
74 // ShellObserver: | 74 // ShellObserver: |
75 void OnOverviewModeStarting() override; | 75 void OnOverviewModeStarting() override; |
76 void OnOverviewModeEnded() override; | 76 void OnOverviewModeEnded() override; |
77 void OnMaximizeModeStarted() override; | 77 void OnTabletModeStarted() override; |
78 void OnMaximizeModeEnded() override; | 78 void OnTabletModeEnded() override; |
79 | 79 |
80 FrameCaptionButtonContainerView* caption_button_container() { | 80 FrameCaptionButtonContainerView* caption_button_container() { |
81 return caption_button_container_; | 81 return caption_button_container_; |
82 } | 82 } |
83 | 83 |
84 views::View* avatar_icon() const; | 84 views::View* avatar_icon() const; |
85 | 85 |
86 private: | 86 private: |
87 // ImmersiveFullscreenControllerDelegate: | 87 // ImmersiveFullscreenControllerDelegate: |
88 void OnImmersiveRevealStarted() override; | 88 void OnImmersiveRevealStarted() override; |
(...skipping 21 matching lines...) Expand all Loading... |
110 bool is_immersive_delegate_ = true; | 110 bool is_immersive_delegate_ = true; |
111 | 111 |
112 bool did_layout_ = false; | 112 bool did_layout_ = false; |
113 | 113 |
114 DISALLOW_COPY_AND_ASSIGN(HeaderView); | 114 DISALLOW_COPY_AND_ASSIGN(HeaderView); |
115 }; | 115 }; |
116 | 116 |
117 } // namespace ash | 117 } // namespace ash |
118 | 118 |
119 #endif // ASH_FRAME_HEADER_VIEW_H_ | 119 #endif // ASH_FRAME_HEADER_VIEW_H_ |
OLD | NEW |