| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_UI_VIEWS_FRAME_WEB_APP_LEFT_HEADER_VIEW_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_WEB_APP_LEFT_HEADER_VIEW_ASH_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_WEB_APP_LEFT_HEADER_VIEW_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_WEB_APP_LEFT_HEADER_VIEW_ASH_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "ui/views/controls/button/button.h" | 10 #include "ui/views/controls/button/button.h" |
| 11 | 11 |
| 12 class BrowserView; | 12 class BrowserView; |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 class FrameCaptionButton; | 15 class FrameCaptionButton; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace views { | |
| 19 class ImageButton; | |
| 20 } | |
| 21 | |
| 22 // WebAppLeftHeaderView is a container view for any icons on the left of the | 18 // WebAppLeftHeaderView is a container view for any icons on the left of the |
| 23 // frame used for web app style windows. It contains a back button and a | 19 // frame used for web app style windows. It contains a back button and a |
| 24 // location icon. | 20 // location icon. |
| 25 class WebAppLeftHeaderView : public views::View, | 21 class WebAppLeftHeaderView : public views::View, |
| 26 public views::ButtonListener { | 22 public views::ButtonListener { |
| 27 public: | 23 public: |
| 28 static const char kViewClassName[]; | 24 static const char kViewClassName[]; |
| 29 | 25 |
| 30 explicit WebAppLeftHeaderView(BrowserView* browser_view); | 26 explicit WebAppLeftHeaderView(BrowserView* browser_view); |
| 31 ~WebAppLeftHeaderView() override; | 27 ~WebAppLeftHeaderView() override; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 61 ash::FrameCaptionButton* back_button_; | 57 ash::FrameCaptionButton* back_button_; |
| 62 | 58 |
| 63 // The location icon indicator. Shows the connection security status and | 59 // The location icon indicator. Shows the connection security status and |
| 64 // allows the user to bring up the website settings dialog. | 60 // allows the user to bring up the website settings dialog. |
| 65 ash::FrameCaptionButton* location_icon_; | 61 ash::FrameCaptionButton* location_icon_; |
| 66 | 62 |
| 67 DISALLOW_COPY_AND_ASSIGN(WebAppLeftHeaderView); | 63 DISALLOW_COPY_AND_ASSIGN(WebAppLeftHeaderView); |
| 68 }; | 64 }; |
| 69 | 65 |
| 70 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_WEB_APP_LEFT_HEADER_VIEW_ASH_H_ | 66 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_WEB_APP_LEFT_HEADER_VIEW_ASH_H_ |
| OLD | NEW |