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

Side by Side Diff: third_party/WebKit/Source/web/ColorChooserPopupUIController.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 10 matching lines...) Expand all
21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef ColorChooserPopupUIController_h 26 #ifndef ColorChooserPopupUIController_h
27 #define ColorChooserPopupUIController_h 27 #define ColorChooserPopupUIController_h
28 28
29 #include "core/page/PagePopupClient.h" 29 #include "core/page/PagePopupClient.h"
30 #include "web/ColorChooserUIController.h" 30 #include "web/ColorChooserUIController.h"
31 #include "wtf/OwnPtr.h"
31 32
32 namespace blink { 33 namespace blink {
33 34
34 class ChromeClientImpl; 35 class ChromeClientImpl;
35 class ColorChooserClient; 36 class ColorChooserClient;
36 class PagePopup; 37 class PagePopup;
37 38
38 class ColorChooserPopupUIController final : public ColorChooserUIController, pub lic PagePopupClient { 39 class ColorChooserPopupUIController final : public ColorChooserUIController, pub lic PagePopupClient {
39 USING_PRE_FINALIZER(ColorChooserPopupUIController, dispose); 40 USING_PRE_FINALIZER(ColorChooserPopupUIController, dispose);
40 public: 41 public:
(...skipping 29 matching lines...) Expand all
70 void dispose(); 71 void dispose();
71 72
72 Member<ChromeClientImpl> m_chromeClient; 73 Member<ChromeClientImpl> m_chromeClient;
73 PagePopup* m_popup; 74 PagePopup* m_popup;
74 Locale& m_locale; 75 Locale& m_locale;
75 }; 76 };
76 77
77 } // namespace blink 78 } // namespace blink
78 79
79 #endif // ColorChooserPopupUIController_h 80 #endif // ColorChooserPopupUIController_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/ColorChooserUIController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698