| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_VIEWS_BUBBLE_BORDER_CONTENTS_VIEW_H_ | 5 #ifndef UI_VIEWS_BUBBLE_BORDER_CONTENTS_VIEW_H_ |
| 6 #define UI_VIEWS_BUBBLE_BORDER_CONTENTS_VIEW_H_ | 6 #define UI_VIEWS_BUBBLE_BORDER_CONTENTS_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "views/bubble/bubble_border.h" | |
| 10 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
| 10 #include "ui/views/bubble/bubble_border.h" |
| 11 #include "views/view.h" | 11 #include "views/view.h" |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 | 14 |
| 15 // This is used to paint the border and background of the Bubble. | 15 // This is used to paint the border and background of the Bubble. |
| 16 class VIEWS_EXPORT BorderContentsView : public View { | 16 class VIEWS_EXPORT BorderContentsView : public View { |
| 17 public: | 17 public: |
| 18 BorderContentsView(); | 18 BorderContentsView(); |
| 19 BorderContentsView(int top_margin, | 19 BorderContentsView(int top_margin, |
| 20 int left_margin, | 20 int left_margin, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 // Margins between the content and the inside of the border, in pixels. | 80 // Margins between the content and the inside of the border, in pixels. |
| 81 gfx::Insets content_margins_; | 81 gfx::Insets content_margins_; |
| 82 | 82 |
| 83 DISALLOW_COPY_AND_ASSIGN(BorderContentsView); | 83 DISALLOW_COPY_AND_ASSIGN(BorderContentsView); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 } // namespace views | 86 } // namespace views |
| 87 | 87 |
| 88 #endif // UI_VIEWS_BUBBLE_BORDER_CONTENTS_VIEW_H_ | 88 #endif // UI_VIEWS_BUBBLE_BORDER_CONTENTS_VIEW_H_ |
| OLD | NEW |