| 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_BUBBLE_BORDER_H_ | 5 #ifndef UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ |
| 6 #define UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ | 6 #define UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "views/background.h" | 10 #include "ui/views/background.h" |
| 11 #include "views/border.h" | 11 #include "ui/views/border.h" |
| 12 | 12 |
| 13 class SkBitmap; | 13 class SkBitmap; |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 | 16 |
| 17 // Renders a border, with optional arrow, and a custom dropshadow. | 17 // Renders a border, with optional arrow, and a custom dropshadow. |
| 18 // This can be used to produce floating "bubble" objects with rounded corners. | 18 // This can be used to produce floating "bubble" objects with rounded corners. |
| 19 class VIEWS_EXPORT BubbleBorder : public views::Border { | 19 class VIEWS_EXPORT BubbleBorder : public views::Border { |
| 20 public: | 20 public: |
| 21 // Possible locations for the (optional) arrow. | 21 // Possible locations for the (optional) arrow. |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 private: | 180 private: |
| 181 BubbleBorder* border_; | 181 BubbleBorder* border_; |
| 182 | 182 |
| 183 DISALLOW_COPY_AND_ASSIGN(BubbleBackground); | 183 DISALLOW_COPY_AND_ASSIGN(BubbleBackground); |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 } // namespace views | 186 } // namespace views |
| 187 | 187 |
| 188 #endif // UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ | 188 #endif // UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ |
| OLD | NEW |