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

Side by Side Diff: chrome/browser/ui/views/extensions/media_galleries_dialog_views.h

Issue 63343004: Remove DialogDelegate::UseNewStyle and unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Additional cleanup; sync and rebase. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 22 matching lines...) Expand all
33 public: 33 public:
34 explicit MediaGalleriesDialogViews( 34 explicit MediaGalleriesDialogViews(
35 MediaGalleriesDialogController* controller); 35 MediaGalleriesDialogController* controller);
36 virtual ~MediaGalleriesDialogViews(); 36 virtual ~MediaGalleriesDialogViews();
37 37
38 // MediaGalleriesDialog implementation: 38 // MediaGalleriesDialog implementation:
39 virtual void UpdateGalleries() OVERRIDE; 39 virtual void UpdateGalleries() OVERRIDE;
40 40
41 // views::DialogDelegate implementation: 41 // views::DialogDelegate implementation:
42 virtual string16 GetWindowTitle() const OVERRIDE; 42 virtual string16 GetWindowTitle() const OVERRIDE;
43 virtual bool ShouldShowWindowTitle() const OVERRIDE;
44 virtual void DeleteDelegate() OVERRIDE; 43 virtual void DeleteDelegate() OVERRIDE;
45 virtual views::Widget* GetWidget() OVERRIDE; 44 virtual views::Widget* GetWidget() OVERRIDE;
46 virtual const views::Widget* GetWidget() const OVERRIDE; 45 virtual const views::Widget* GetWidget() const OVERRIDE;
47 virtual views::View* GetContentsView() OVERRIDE; 46 virtual views::View* GetContentsView() OVERRIDE;
48 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 47 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
49 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 48 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
50 virtual ui::ModalType GetModalType() const OVERRIDE; 49 virtual ui::ModalType GetModalType() const OVERRIDE;
51 virtual views::View* CreateExtraView() OVERRIDE; 50 virtual views::View* CreateExtraView() OVERRIDE;
52 virtual bool Cancel() OVERRIDE; 51 virtual bool Cancel() OVERRIDE;
53 virtual bool Accept() OVERRIDE; 52 virtual bool Accept() OVERRIDE;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 103
105 // True if the user has pressed accept. 104 // True if the user has pressed accept.
106 bool accepted_; 105 bool accepted_;
107 106
108 scoped_ptr<views::MenuRunner> context_menu_runner_; 107 scoped_ptr<views::MenuRunner> context_menu_runner_;
109 108
110 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); 109 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews);
111 }; 110 };
112 111
113 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ 112 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698