OLD | NEW |
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) = 0; | 168 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) = 0; |
169 | 169 |
170 virtual PassOwnPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChoose
rClient*, const Color&) = 0; | 170 virtual PassOwnPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChoose
rClient*, const Color&) = 0; |
171 | 171 |
172 // This function is used for: | 172 // This function is used for: |
173 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 173 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
174 // - Date/time choosers for types for which RenderTheme::supportsCalendarPi
cker | 174 // - Date/time choosers for types for which RenderTheme::supportsCalendarPi
cker |
175 // returns true, if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 175 // returns true, if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
176 // - <datalist> UI for date/time input types regardless of | 176 // - <datalist> UI for date/time input types regardless of |
177 // ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 177 // ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
178 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien
t*, const DateTimeChooserParameters&) = 0; | 178 virtual PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTime
ChooserClient*, const DateTimeChooserParameters&) = 0; |
179 | 179 |
180 virtual void openTextDataListChooser(HTMLInputElement&) = 0; | 180 virtual void openTextDataListChooser(HTMLInputElement&) = 0; |
181 | 181 |
182 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) = 0; | 182 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) = 0; |
183 | 183 |
184 // Asychronous request to enumerate all files in a directory chosen by the u
ser. | 184 // Asychronous request to enumerate all files in a directory chosen by the u
ser. |
185 virtual void enumerateChosenDirectory(FileChooser*) = 0; | 185 virtual void enumerateChosenDirectory(FileChooser*) = 0; |
186 | 186 |
187 // Allows ports to customize the type of graphics layers created by this pag
e. | 187 // Allows ports to customize the type of graphics layers created by this pag
e. |
188 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } | 188 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 239 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
240 | 240 |
241 virtual bool usesGpuRasterization() = 0; | 241 virtual bool usesGpuRasterization() = 0; |
242 | 242 |
243 protected: | 243 protected: |
244 virtual ~ChromeClient() { } | 244 virtual ~ChromeClient() { } |
245 }; | 245 }; |
246 | 246 |
247 } | 247 } |
248 #endif // ChromeClient_h | 248 #endif // ChromeClient_h |
OLD | NEW |