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 CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/bubble/border_contents_view.h" | 9 #include "ui/views/bubble/border_contents_view.h" |
10 | 10 |
11 // This is used to paint the border of the Bubble. Windows uses this via | 11 // This is used to paint the border of the Bubble. Windows uses this via |
12 // BorderWidgetWin, while others can use it directly in the bubble. | 12 // BorderWidgetWin, while others can use it directly in the bubble. |
13 class BorderContents : public views::BorderContentsView { | 13 class BorderContents : public views::BorderContentsView { |
14 public: | 14 public: |
15 BorderContents(); | 15 BorderContents(); |
16 | 16 |
17 protected: | 17 protected: |
18 virtual ~BorderContents() { } | 18 virtual ~BorderContents() { } |
19 | 19 |
20 // views::BorderContentsView overrides: | 20 // views::BorderContentsView overrides: |
21 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect) OVERRIDE; | 21 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect) OVERRIDE; |
22 | 22 |
23 private: | 23 private: |
24 DISALLOW_COPY_AND_ASSIGN(BorderContents); | 24 DISALLOW_COPY_AND_ASSIGN(BorderContents); |
25 }; | 25 }; |
26 | 26 |
27 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ | 27 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ |
OLD | NEW |