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