blob: a6afbd78b00ef61514c31b74d53d644246c9257e (
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
39
40
|
// Copyright (c) 2010 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 "third_party/skia/include/core/SkColor.h"
#include "views/window/window_gtk.h"
namespace gfx {
class Rect;
}
namespace views {
class WindowDelegate;
}
namespace chromeos {
// A window that uses BubbleFrameView as its frame.
class BubbleWindow : public views::WindowGtk {
public:
static views::Window* Create(gfx::NativeWindow parent,
const gfx::Rect& bounds,
views::WindowDelegate* window_delegate);
static const SkColor kBackgroundColor;
protected:
explicit BubbleWindow(views::WindowDelegate* window_delegate);
// Overidden from views::WindowGtk:
virtual void Init(GtkWindow* parent, const gfx::Rect& bounds);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_H_
|