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

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

Issue 109623005: Cleanup: Remove deprecated version of views::CreateDialogFrameView(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SCAN_RESULT_DIALOG_VI EWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_SCAN_RESULT_DIALOG_VI EWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_SCAN_RESULT_DIALOG_VI EWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_SCAN_RESULT_DIALOG_VI EWS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 29 matching lines...) Expand all
40 virtual base::string16 GetWindowTitle() const OVERRIDE; 40 virtual base::string16 GetWindowTitle() const OVERRIDE;
41 virtual void DeleteDelegate() OVERRIDE; 41 virtual void DeleteDelegate() OVERRIDE;
42 virtual views::Widget* GetWidget() OVERRIDE; 42 virtual views::Widget* GetWidget() OVERRIDE;
43 virtual const views::Widget* GetWidget() const OVERRIDE; 43 virtual const views::Widget* GetWidget() const OVERRIDE;
44 virtual views::View* GetContentsView() OVERRIDE; 44 virtual views::View* GetContentsView() OVERRIDE;
45 virtual base::string16 GetDialogButtonLabel( 45 virtual base::string16 GetDialogButtonLabel(
46 ui::DialogButton button) const OVERRIDE; 46 ui::DialogButton button) const OVERRIDE;
47 virtual ui::ModalType GetModalType() const OVERRIDE; 47 virtual ui::ModalType GetModalType() const OVERRIDE;
48 virtual bool Cancel() OVERRIDE; 48 virtual bool Cancel() OVERRIDE;
49 virtual bool Accept() OVERRIDE; 49 virtual bool Accept() OVERRIDE;
50 virtual views::NonClientFrameView* CreateNonClientFrameView(
51 views::Widget* widget) OVERRIDE;
52 50
53 // views::ButtonListener implementation: 51 // views::ButtonListener implementation:
54 virtual void ButtonPressed(views::Button* sender, 52 virtual void ButtonPressed(views::Button* sender,
55 const ui::Event& event) OVERRIDE; 53 const ui::Event& event) OVERRIDE;
56 54
57 // views::ContextMenuController implementation: 55 // views::ContextMenuController implementation:
58 virtual void ShowContextMenuForView(views::View* source, 56 virtual void ShowContextMenuForView(views::View* source,
59 const gfx::Point& point, 57 const gfx::Point& point,
60 ui::MenuSourceType source_type) OVERRIDE; 58 ui::MenuSourceType source_type) OVERRIDE;
61 59
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 91
94 // True if the user has pressed accept. 92 // True if the user has pressed accept.
95 bool accepted_; 93 bool accepted_;
96 94
97 scoped_ptr<views::MenuRunner> context_menu_runner_; 95 scoped_ptr<views::MenuRunner> context_menu_runner_;
98 96
99 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesScanResultDialogViews); 97 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesScanResultDialogViews);
100 }; 98 };
101 99
102 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_SCAN_RESULT_DIALOG _VIEWS_H_ 100 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_SCAN_RESULT_DIALOG _VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698