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

Side by Side Diff: ash/frame/caption_buttons/frame_caption_button_container_view.h

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_ 5 #ifndef ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_
6 #define ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_ 6 #define ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 25 matching lines...) Expand all
36 static const char kViewClassName[]; 36 static const char kViewClassName[];
37 37
38 // |frame| is the views::Widget that the caption buttons act on. 38 // |frame| is the views::Widget that the caption buttons act on.
39 explicit FrameCaptionButtonContainerView(views::Widget* frame); 39 explicit FrameCaptionButtonContainerView(views::Widget* frame);
40 ~FrameCaptionButtonContainerView() override; 40 ~FrameCaptionButtonContainerView() override;
41 41
42 // For testing. 42 // For testing.
43 class ASH_EXPORT TestApi { 43 class ASH_EXPORT TestApi {
44 public: 44 public:
45 explicit TestApi(FrameCaptionButtonContainerView* container_view) 45 explicit TestApi(FrameCaptionButtonContainerView* container_view)
46 : container_view_(container_view) { 46 : container_view_(container_view) {}
47 }
48 47
49 void EndAnimations(); 48 void EndAnimations();
50 49
51 FrameCaptionButton* minimize_button() const { 50 FrameCaptionButton* minimize_button() const {
52 return container_view_->minimize_button_; 51 return container_view_->minimize_button_;
53 } 52 }
54 53
55 FrameCaptionButton* size_button() const { 54 FrameCaptionButton* size_button() const {
56 return container_view_->size_button_; 55 return container_view_->size_button_;
57 } 56 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Animation that affects the position of |minimize_button_| and the 148 // Animation that affects the position of |minimize_button_| and the
150 // visibility of |size_button_|. 149 // visibility of |size_button_|.
151 std::unique_ptr<gfx::SlideAnimation> maximize_mode_animation_; 150 std::unique_ptr<gfx::SlideAnimation> maximize_mode_animation_;
152 151
153 DISALLOW_COPY_AND_ASSIGN(FrameCaptionButtonContainerView); 152 DISALLOW_COPY_AND_ASSIGN(FrameCaptionButtonContainerView);
154 }; 153 };
155 154
156 } // namespace ash 155 } // namespace ash
157 156
158 #endif // ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_ 157 #endif // ASH_FRAME_CAPTION_BUTTONS_FRAME_CAPTION_BUTTON_CONTAINER_VIEW_H_
OLDNEW
« no previous file with comments | « ash/frame/caption_buttons/frame_caption_button.cc ('k') | ash/frame/caption_buttons/frame_caption_button_container_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698