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

Unified Diff: chrome/browser/ui/views/app_list/app_list_dialog_contents_view.h

Issue 405873003: Changed AppListDialogContentsView to extend DialogDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Subclassed DialogDelegate instead Created 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/app_list/app_list_dialog_contents_view.h
diff --git a/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.h b/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.h
index e343a519e971d4688e734f94f7513a546236fe5f..8f9e269a709a464e6bd9d556b89d58635d2148b9 100644
--- a/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.h
+++ b/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_CONTENTS_VIEW_H_
#include "ui/views/controls/button/button.h"
-#include "ui/views/widget/widget_delegate.h"
+#include "ui/views/window/dialog_delegate.h"
class AppListControllerDelegate;
@@ -17,7 +17,7 @@ class Widget;
// The contents view for an App List Dialog, which covers the entire app list
// and adds a close button.
-class AppListDialogContentsView : public views::WidgetDelegateView,
+class AppListDialogContentsView : public views::DialogDelegateView,
public views::ButtonListener {
public:
AppListDialogContentsView(
@@ -48,7 +48,6 @@ class AppListDialogContentsView : public views::WidgetDelegateView,
protected:
// Overridden from views::WidgetDelegate:
virtual ui::ModalType GetModalType() const OVERRIDE;
- virtual ui::AXRole GetAccessibleWindowRole() const OVERRIDE;
sashab 2014/07/22 00:36:50 DialogDelegate's overwrite of this method is fine
virtual void WindowClosing() OVERRIDE;
private:
« no previous file with comments | « no previous file | chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698