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_CHROMEOS_FRAME_BUBBLE_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_VIEWS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/chromeos/frame/bubble_window_style.h" | 9 #include "chrome/browser/ui/dialog_style.h" |
10 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
11 #include "views/widget/widget.h" | 11 #include "views/widget/widget.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 class WidgetDelegate; | 14 class WidgetDelegate; |
15 } | 15 } |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 // A window that uses BubbleFrameView as its frame. | 19 // A window that uses BubbleFrameView as its frame. |
20 class BubbleWindowViews : public views::Widget { | 20 class BubbleWindowViews : public views::Widget { |
21 public: | 21 public: |
22 void SetBackgroundColor(); | 22 void SetBackgroundColor(); |
23 | 23 |
24 protected: | 24 protected: |
25 explicit BubbleWindowViews(BubbleWindowStyle style); | 25 explicit BubbleWindowViews(DialogStyle style); |
26 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 26 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
27 | 27 |
28 private: | 28 private: |
29 friend class BubbleWindow; | 29 friend class BubbleWindow; |
30 BubbleWindowStyle style_; | 30 DialogStyle style_; |
31 | 31 |
32 DISALLOW_COPY_AND_ASSIGN(BubbleWindowViews); | 32 DISALLOW_COPY_AND_ASSIGN(BubbleWindowViews); |
33 }; | 33 }; |
34 | 34 |
35 } // namespace chromeos | 35 } // namespace chromeos |
36 | 36 |
37 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_VIEWS_H_ | 37 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_VIEWS_H_ |
OLD | NEW |