| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. |
| 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 } | 98 } |
| 99 | 99 |
| 100 #if ENABLE(INPUT_TYPE_COLOR) | 100 #if ENABLE(INPUT_TYPE_COLOR) |
| 101 PassOwnPtr<ColorChooser> EmptyChromeClient::createColorChooser(ColorChooserClien
t*, const Color&) | 101 PassOwnPtr<ColorChooser> EmptyChromeClient::createColorChooser(ColorChooserClien
t*, const Color&) |
| 102 { | 102 { |
| 103 return nullptr; | 103 return nullptr; |
| 104 } | 104 } |
| 105 #endif | 105 #endif |
| 106 | 106 |
| 107 #if ENABLE(CALENDAR_PICKER) | 107 #if ENABLE(CALENDAR_PICKER) |
| 108 PassOwnPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos
erClient*, const DateTimeChooserParameters&) | 108 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos
erClient*, const DateTimeChooserParameters&) |
| 109 { | 109 { |
| 110 return nullptr; | 110 return PassRefPtr<DateTimeChooser>(); |
| 111 } | 111 } |
| 112 #endif | 112 #endif |
| 113 | 113 |
| 114 void EmptyChromeClient::runOpenPanel(Frame*, PassRefPtr<FileChooser>) | 114 void EmptyChromeClient::runOpenPanel(Frame*, PassRefPtr<FileChooser>) |
| 115 { | 115 { |
| 116 } | 116 } |
| 117 | 117 |
| 118 void EmptyFrameLoaderClient::dispatchDecidePolicyForNewWindowAction(FramePolicyF
unction, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState>,
const String&) | 118 void EmptyFrameLoaderClient::dispatchDecidePolicyForNewWindowAction(FramePolicyF
unction, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState>,
const String&) |
| 119 { | 119 { |
| 120 } | 120 } |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 #if ENABLE(CONTEXT_MENUS) | 188 #if ENABLE(CONTEXT_MENUS) |
| 189 #if USE(CROSS_PLATFORM_CONTEXT_MENUS) | 189 #if USE(CROSS_PLATFORM_CONTEXT_MENUS) |
| 190 PassOwnPtr<ContextMenu> EmptyContextMenuClient::customizeMenu(PassOwnPtr<Context
Menu>) | 190 PassOwnPtr<ContextMenu> EmptyContextMenuClient::customizeMenu(PassOwnPtr<Context
Menu>) |
| 191 { | 191 { |
| 192 return nullptr; | 192 return nullptr; |
| 193 } | 193 } |
| 194 #endif | 194 #endif |
| 195 #endif | 195 #endif |
| 196 | 196 |
| 197 } | 197 } |
| OLD | NEW |