| OLD | NEW |
| 1 // Copyright (c) 2010 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 CHROME_BROWSER_UI_VIEWS_INFO_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFO_BUBBLE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_INFO_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_INFO_BUBBLE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/animation_delegate.h" | 9 #include "app/animation_delegate.h" |
| 10 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
| 11 #include "views/accelerator.h" | 11 #include "views/accelerator.h" |
| 12 #include "views/view.h" | 12 #include "views/view.h" |
| 13 #include "chrome/browser/views/bubble_border.h" | 13 #include "chrome/browser/ui/views/bubble_border.h" |
| 14 | 14 |
| 15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
| 16 #include "views/widget/widget_win.h" | 16 #include "views/widget/widget_win.h" |
| 17 #elif defined(OS_LINUX) | 17 #elif defined(OS_LINUX) |
| 18 #include "views/widget/widget_gtk.h" | 18 #include "views/widget/widget_gtk.h" |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 // InfoBubble is used to display an arbitrary view above all other windows. | 21 // InfoBubble is used to display an arbitrary view above all other windows. |
| 22 // Think of InfoBubble as a tooltip that allows you to embed an arbitrary view | 22 // Think of InfoBubble as a tooltip that allows you to embed an arbitrary view |
| 23 // in the tooltip. Additionally the InfoBubble renders an arrow pointing at | 23 // in the tooltip. Additionally the InfoBubble renders an arrow pointing at |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 311 |
| 312 gfx::Rect position_relative_to_; | 312 gfx::Rect position_relative_to_; |
| 313 BubbleBorder::ArrowLocation arrow_location_; | 313 BubbleBorder::ArrowLocation arrow_location_; |
| 314 | 314 |
| 315 views::View* contents_; | 315 views::View* contents_; |
| 316 | 316 |
| 317 DISALLOW_COPY_AND_ASSIGN(InfoBubble); | 317 DISALLOW_COPY_AND_ASSIGN(InfoBubble); |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 #endif // CHROME_BROWSER_UI_VIEWS_INFO_BUBBLE_H_ | 320 #endif // CHROME_BROWSER_UI_VIEWS_INFO_BUBBLE_H_ |
| OLD | NEW |