OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |