| OLD | NEW |
| 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 CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" | 9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" |
| 10 #include "ui/views/layout/layout_manager.h" | 10 #include "ui/views/layout/layout_manager.h" |
| 11 #include "ui/views/window/frame_buttons.h" | 11 #include "ui/views/window/frame_buttons.h" |
| 12 | 12 |
| 13 class NewAvatarButton; | |
| 14 class OpaqueBrowserFrameViewLayoutDelegate; | 13 class OpaqueBrowserFrameViewLayoutDelegate; |
| 15 | 14 |
| 16 namespace views { | 15 namespace views { |
| 17 class ImageButton; | 16 class ImageButton; |
| 18 class Label; | 17 class Label; |
| 19 } | 18 } |
| 20 | 19 |
| 21 // Calculates the position of the widgets in the opaque browser frame view. | 20 // Calculates the position of the widgets in the opaque browser frame view. |
| 22 // | 21 // |
| 23 // This is separated out for testing reasons. OpaqueBrowserFrameView has tight | 22 // This is separated out for testing reasons. OpaqueBrowserFrameView has tight |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 views::View* incognito_icon_; | 196 views::View* incognito_icon_; |
| 198 views::View* new_avatar_button_; | 197 views::View* new_avatar_button_; |
| 199 | 198 |
| 200 std::vector<views::FrameButton> leading_buttons_; | 199 std::vector<views::FrameButton> leading_buttons_; |
| 201 std::vector<views::FrameButton> trailing_buttons_; | 200 std::vector<views::FrameButton> trailing_buttons_; |
| 202 | 201 |
| 203 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameViewLayout); | 202 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameViewLayout); |
| 204 }; | 203 }; |
| 205 | 204 |
| 206 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ | 205 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ |
| OLD | NEW |