blob: 4a3bf9446558ac59020962981bef05156ccef1a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_H_
#define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_H_
#pragma once
#include "chrome/browser/ui/dialog_style.h"
#include "ui/views/widget/widget.h"
namespace chromeos {
extern const SkColor kBubbleWindowBackgroundColor;
// A window that uses BubbleFrameView as its frame.
class BubbleWindow : public views::Widget {
public:
static views::Widget* Create(gfx::NativeWindow parent,
DialogStyle style,
views::WidgetDelegate* widget_delegate);
virtual ~BubbleWindow();
// Overridden from views::Widget:
virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
private:
explicit BubbleWindow(DialogStyle style);
DialogStyle style_;
DISALLOW_COPY_AND_ASSIGN(BubbleWindow);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_H_
|