| OLD | NEW |
| 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 29 matching lines...) Expand all Loading... |
| 40 virtual views::Widget* GetWidget() OVERRIDE; | 40 virtual views::Widget* GetWidget() OVERRIDE; |
| 41 virtual const views::Widget* GetWidget() const OVERRIDE; | 41 virtual const views::Widget* GetWidget() const OVERRIDE; |
| 42 virtual views::View* GetContentsView() OVERRIDE; | 42 virtual views::View* GetContentsView() OVERRIDE; |
| 43 virtual base::string16 GetDialogButtonLabel( | 43 virtual base::string16 GetDialogButtonLabel( |
| 44 ui::DialogButton button) const OVERRIDE; | 44 ui::DialogButton button) const OVERRIDE; |
| 45 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 45 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 46 virtual ui::ModalType GetModalType() const OVERRIDE; | 46 virtual ui::ModalType GetModalType() const OVERRIDE; |
| 47 virtual views::View* CreateExtraView() OVERRIDE; | 47 virtual views::View* CreateExtraView() 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 98 |
| 101 // True if the user has pressed accept. | 99 // True if the user has pressed accept. |
| 102 bool accepted_; | 100 bool accepted_; |
| 103 | 101 |
| 104 scoped_ptr<views::MenuRunner> context_menu_runner_; | 102 scoped_ptr<views::MenuRunner> context_menu_runner_; |
| 105 | 103 |
| 106 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); | 104 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); |
| 107 }; | 105 }; |
| 108 | 106 |
| 109 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ | 107 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ |
| OLD | NEW |