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

Unified Diff: chrome/browser/ui/views/constrained_window_views.cc

Issue 12184004: Replace DialogFrameView with an enhanced BubbleFrameView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment. Created 7 years, 10 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
« no previous file with comments | « ash/shell.cc ('k') | ui/views/bubble/bubble_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/constrained_window_views.cc
diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
index 120e194fc5938311baf68e2c0a176aa15378b17c..def6fe104233e66a783a8c743115bb13e9faca56 100644
--- a/chrome/browser/ui/views/constrained_window_views.cc
+++ b/chrome/browser/ui/views/constrained_window_views.cc
@@ -41,7 +41,6 @@
#include "ui/views/window/client_view.h"
#include "ui/views/window/dialog_client_view.h"
#include "ui/views/window/dialog_delegate.h"
-#include "ui/views/window/dialog_frame_view.h"
#include "ui/views/window/frame_background.h"
#include "ui/views/window/non_client_view.h"
#include "ui/views/window/window_resources.h"
@@ -635,7 +634,7 @@ gfx::NativeWindow ConstrainedWindowViews::GetNativeWindow() {
views::NonClientFrameView* ConstrainedWindowViews::CreateNonClientFrameView() {
if (views::DialogDelegate::UseNewStyle())
- return new views::DialogFrameView(widget_delegate()->GetWindowTitle());
+ return views::DialogDelegate::CreateNewStyleFrameView(this);
#if defined(USE_ASH)
ConstrainedWindowFrameViewAsh* frame = new ConstrainedWindowFrameViewAsh;
frame->Init(this);
« no previous file with comments | « ash/shell.cc ('k') | ui/views/bubble/bubble_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698