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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 1432243003: Oilpan: move DateTimeChooser to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 virtual void annotatedRegionsChanged() = 0; 161 virtual void annotatedRegionsChanged() = 0;
162 162
163 virtual PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, C olorChooserClient*, const Color&) = 0; 163 virtual PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, C olorChooserClient*, const Color&) = 0;
164 164
165 // This function is used for: 165 // This function is used for:
166 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI) 166 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI)
167 // - Date/time choosers for types for which LayoutTheme::supportsCalendarPi cker 167 // - Date/time choosers for types for which LayoutTheme::supportsCalendarPi cker
168 // returns true, if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 168 // returns true, if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
169 // - <datalist> UI for date/time input types regardless of 169 // - <datalist> UI for date/time input types regardless of
170 // ENABLE(INPUT_MULTIPLE_FIELDS_UI) 170 // ENABLE(INPUT_MULTIPLE_FIELDS_UI)
171 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien t*, const DateTimeChooserParameters&) = 0; 171 virtual PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTime ChooserClient*, const DateTimeChooserParameters&) = 0;
172 172
173 virtual void openTextDataListChooser(HTMLInputElement&)= 0; 173 virtual void openTextDataListChooser(HTMLInputElement&)= 0;
174 174
175 virtual void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) = 0; 175 virtual void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) = 0;
176 176
177 // Asychronous request to enumerate all files in a directory chosen by the u ser. 177 // Asychronous request to enumerate all files in a directory chosen by the u ser.
178 virtual void enumerateChosenDirectory(FileChooser*) = 0; 178 virtual void enumerateChosenDirectory(FileChooser*) = 0;
179 179
180 // Allows ports to customize the type of graphics layers created by this pag e. 180 // Allows ports to customize the type of graphics layers created by this pag e.
181 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return nullptr; } 181 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return nullptr; }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 virtual void printDelegate(LocalFrame*) = 0; 268 virtual void printDelegate(LocalFrame*) = 0;
269 269
270 private: 270 private:
271 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); 271 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message);
272 void setToolTip(const HitTestResult&); 272 void setToolTip(const HitTestResult&);
273 }; 273 };
274 274
275 } // namespace blink 275 } // namespace blink
276 276
277 #endif // ChromeClient_h 277 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698