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

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

Issue 12095074: Media Galleries: Keep media gallery permission dialogs in sync with the gallery (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix nit 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 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 15 matching lines...) Expand all
26 public views::DialogDelegate, 26 public views::DialogDelegate,
27 public views::ButtonListener { 27 public views::ButtonListener {
28 public: 28 public:
29 explicit MediaGalleriesDialogViews( 29 explicit MediaGalleriesDialogViews(
30 MediaGalleriesDialogController* controller); 30 MediaGalleriesDialogController* controller);
31 virtual ~MediaGalleriesDialogViews(); 31 virtual ~MediaGalleriesDialogViews();
32 32
33 // MediaGalleriesDialog implementation: 33 // MediaGalleriesDialog implementation:
34 virtual void UpdateGallery(const MediaGalleryPrefInfo* gallery, 34 virtual void UpdateGallery(const MediaGalleryPrefInfo* gallery,
35 bool permitted) OVERRIDE; 35 bool permitted) OVERRIDE;
36 virtual void ForgetGallery(const MediaGalleryPrefInfo* gallery);
36 37
37 // views::DialogDelegate implementation: 38 // views::DialogDelegate implementation:
38 virtual string16 GetWindowTitle() const OVERRIDE; 39 virtual string16 GetWindowTitle() const OVERRIDE;
39 virtual bool ShouldShowWindowTitle() const OVERRIDE; 40 virtual bool ShouldShowWindowTitle() const OVERRIDE;
40 virtual void DeleteDelegate() OVERRIDE; 41 virtual void DeleteDelegate() OVERRIDE;
41 virtual views::Widget* GetWidget() OVERRIDE; 42 virtual views::Widget* GetWidget() OVERRIDE;
42 virtual const views::Widget* GetWidget() const OVERRIDE; 43 virtual const views::Widget* GetWidget() const OVERRIDE;
43 virtual views::View* GetContentsView() OVERRIDE; 44 virtual views::View* GetContentsView() OVERRIDE;
44 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 45 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
45 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 46 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 83
83 // True if the user has pressed accept. 84 // True if the user has pressed accept.
84 bool accepted_; 85 bool accepted_;
85 86
86 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); 87 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews);
87 }; 88 };
88 89
89 } // namespace chrome 90 } // namespace chrome
90 91
91 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ 92 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698