| 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_AUTOFILL_INFO_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_INFO_BUBBLE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_INFO_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_INFO_BUBBLE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "ui/gfx/insets.h" | 11 #include "ui/gfx/geometry/insets.h" |
| 12 #include "ui/views/bubble/bubble_delegate.h" | 12 #include "ui/views/bubble/bubble_delegate.h" |
| 13 | 13 |
| 14 namespace autofill { | 14 namespace autofill { |
| 15 | 15 |
| 16 class InfoBubbleFrame; | 16 class InfoBubbleFrame; |
| 17 | 17 |
| 18 // Class to create and manage an information bubble for errors or tooltips. | 18 // Class to create and manage an information bubble for errors or tooltips. |
| 19 class InfoBubble : public views::BubbleDelegateView { | 19 class InfoBubble : public views::BubbleDelegateView { |
| 20 public: | 20 public: |
| 21 InfoBubble(views::View* anchor, const base::string16& message); | 21 InfoBubble(views::View* anchor, const base::string16& message); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 // Whether the bubble should be shown above the anchor (default is below). | 68 // Whether the bubble should be shown above the anchor (default is below). |
| 69 bool show_above_anchor_; | 69 bool show_above_anchor_; |
| 70 | 70 |
| 71 DISALLOW_COPY_AND_ASSIGN(InfoBubble); | 71 DISALLOW_COPY_AND_ASSIGN(InfoBubble); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace autofill | 74 } // namespace autofill |
| 75 | 75 |
| 76 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_INFO_BUBBLE_H_ | 76 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_INFO_BUBBLE_H_ |
| OLD | NEW |