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

Unified Diff: chrome/browser/ui/views/web_dialog_view.h

Issue 10795005: views: Inherit from views::WidgetDelegateView in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: chrome/browser/ui/views/web_dialog_view.h
diff --git a/chrome/browser/ui/views/web_dialog_view.h b/chrome/browser/ui/views/web_dialog_view.h
index 96bf4a8663e38c969baaf497a68754eb70044859..45b123f5dd2dbaa80c03e5cf62c90a2e4e740b40 100644
--- a/chrome/browser/ui/views/web_dialog_view.h
+++ b/chrome/browser/ui/views/web_dialog_view.h
@@ -40,7 +40,7 @@ class WebView;
class WebDialogView : public views::ClientView,
public WebDialogWebContentsDelegate,
public ui::WebDialogDelegate,
- public views::WidgetDelegate {
+ public views::WidgetDelegateView {
Ben Goodger (Google) 2012/07/23 21:17:55 wrong
public:
WebDialogView(content::BrowserContext* context,
ui::WebDialogDelegate* delegate);
@@ -58,7 +58,7 @@ class WebDialogView : public views::ClientView,
views::View* child) OVERRIDE;
virtual bool CanClose() OVERRIDE;
- // Overridden from views::WidgetDelegate:
+ // Overridden from views::WidgetDelegateView:
virtual bool CanResize() const OVERRIDE;
virtual ui::ModalType GetModalType() const OVERRIDE;
virtual string16 GetWindowTitle() const OVERRIDE;
@@ -68,8 +68,6 @@ class WebDialogView : public views::ClientView,
virtual ClientView* CreateClientView(views::Widget* widget) OVERRIDE;
virtual views::View* GetInitiallyFocusedView() OVERRIDE;
virtual bool ShouldShowWindowTitle() const OVERRIDE;
- virtual views::Widget* GetWidget() OVERRIDE;
- virtual const views::Widget* GetWidget() const OVERRIDE;
// Overridden from ui::WebDialogDelegate:
virtual ui::ModalType GetDialogModalType() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698