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

Unified Diff: chrome/browser/chromeos/frame/bubble_window.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: Change base url and merge trunk. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/frame/bubble_window.h
diff --git a/chrome/browser/chromeos/frame/bubble_window.h b/chrome/browser/chromeos/frame/bubble_window.h
index 2ad6e923950fb905a1b6a29c833db7963792896a..5d3ca04afa0bf772b08190cdec098510680af056 100644
--- a/chrome/browser/chromeos/frame/bubble_window.h
+++ b/chrome/browser/chromeos/frame/bubble_window.h
@@ -7,6 +7,7 @@
#pragma once
#include "chrome/browser/chromeos/frame/bubble_window_style.h"
+#include "chrome/browser/ui/dialog_style.h"
#if defined(TOOLKIT_USES_GTK)
// TODO(msw): While I dislike the includes and code to be mixed into the same
@@ -29,11 +30,11 @@ namespace chromeos {
class BubbleWindow : public views::NativeWidgetGtk {
public:
static views::Widget* Create(gfx::NativeWindow parent,
- BubbleWindowStyle style,
+ DialogStyle style,
views::WidgetDelegate* widget_delegate);
protected:
- BubbleWindow(views::Widget* window, BubbleWindowStyle style);
+ BubbleWindow(views::Widget* window, DialogStyle style);
// Overridden from views::NativeWidgetGtk:
virtual void InitNativeWidget(
@@ -41,7 +42,7 @@ class BubbleWindow : public views::NativeWidgetGtk {
virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
private:
- BubbleWindowStyle style_;
+ DialogStyle style_;
DISALLOW_COPY_AND_ASSIGN(BubbleWindow);
};
@@ -55,7 +56,7 @@ namespace chromeos {
class BubbleWindow {
public:
static views::Widget* Create(gfx::NativeWindow parent,
- BubbleWindowStyle style,
+ DialogStyle style,
views::WidgetDelegate* widget_delegate) {
NOTIMPLEMENTED();
return NULL;
« no previous file with comments | « chrome/browser/chromeos/frame/bubble_frame_view.cc ('k') | chrome/browser/chromeos/frame/bubble_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698