diff options
| author | Ben Murdoch <benm@google.com> | 2010-11-18 18:32:45 +0000 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2010-11-18 18:38:07 +0000 |
| commit | 513209b27ff55e2841eac0e4120199c23acce758 (patch) | |
| tree | aeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/chromeos/frame/bubble_window.h | |
| parent | 164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff) | |
| download | external_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2 | |
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/chromeos/frame/bubble_window.h')
| -rw-r--r-- | chrome/browser/chromeos/frame/bubble_window.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/frame/bubble_window.h b/chrome/browser/chromeos/frame/bubble_window.h index a6afbd7..fca4805 100644 --- a/chrome/browser/chromeos/frame/bubble_window.h +++ b/chrome/browser/chromeos/frame/bubble_window.h @@ -22,8 +22,14 @@ namespace chromeos { // A window that uses BubbleFrameView as its frame. class BubbleWindow : public views::WindowGtk { public: + enum Style { + STYLE_GENERIC = 0, // Default style. + STYLE_XBAR = 1 << 0 // Show close button at the top right (left for RTL). + }; + static views::Window* Create(gfx::NativeWindow parent, const gfx::Rect& bounds, + Style style, views::WindowDelegate* window_delegate); static const SkColor kBackgroundColor; @@ -33,6 +39,8 @@ class BubbleWindow : public views::WindowGtk { // Overidden from views::WindowGtk: virtual void Init(GtkWindow* parent, const gfx::Rect& bounds); + + Style style_; }; } // namespace chromeos |
