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

Unified Diff: ui/views/window/dialog_delegate.h

Issue 12184004: Replace DialogFrameView with an enhanced BubbleFrameView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 7 years, 11 months 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: ui/views/window/dialog_delegate.h
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index 389f210a92b00fb54e58870e43a2daef66ffce71..174648b5639dff29e8994cd36a9381dcaa594ba2 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -97,6 +97,9 @@ class VIEWS_EXPORT DialogDelegate : public WidgetDelegate {
virtual ClientView* CreateClientView(Widget* widget) OVERRIDE;
virtual NonClientFrameView* CreateNonClientFrameView(Widget* widget) OVERRIDE;
+ // Create a frame view using the new dialog style.
+ static NonClientFrameView* CreateNewStyleFrameView(Widget* widget);
+
// Called when the window has been closed.
virtual void OnClose() {}

Powered by Google App Engine
This is Rietveld 408576698