Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Side by Side Diff: chrome/browser/chromeos/frame/bubble_window_views.h

Issue 8469006: Promote bubble_window_style to more general dialog_style. (Closed) Base URL: /usr/local/google/home/bshe/NoTouchChromium/../TouchChromium/src/@trunk
Patch Set: Add comments. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698