OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 13 matching lines...) Expand all Loading... |
24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #include "web/ChromeClientImpl.h" | 32 #include "web/ChromeClientImpl.h" |
33 | 33 |
| 34 #include <memory> |
34 #include "bindings/core/v8/ScriptController.h" | 35 #include "bindings/core/v8/ScriptController.h" |
35 #include "core/HTMLNames.h" | 36 #include "core/HTMLNames.h" |
36 #include "core/dom/AXObjectCache.h" | 37 #include "core/dom/AXObjectCache.h" |
37 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
38 #include "core/dom/Fullscreen.h" | 39 #include "core/dom/Fullscreen.h" |
39 #include "core/dom/Node.h" | 40 #include "core/dom/Node.h" |
40 #include "core/events/UIEventWithKeyState.h" | 41 #include "core/events/UIEventWithKeyState.h" |
41 #include "core/frame/FrameView.h" | 42 #include "core/frame/FrameView.h" |
42 #include "core/frame/Settings.h" | 43 #include "core/frame/Settings.h" |
43 #include "core/frame/VisualViewport.h" | 44 #include "core/frame/VisualViewport.h" |
(...skipping 22 matching lines...) Expand all Loading... |
66 #include "platform/FileChooser.h" | 67 #include "platform/FileChooser.h" |
67 #include "platform/Histogram.h" | 68 #include "platform/Histogram.h" |
68 #include "platform/KeyboardCodes.h" | 69 #include "platform/KeyboardCodes.h" |
69 #include "platform/RuntimeEnabledFeatures.h" | 70 #include "platform/RuntimeEnabledFeatures.h" |
70 #include "platform/WebFrameScheduler.h" | 71 #include "platform/WebFrameScheduler.h" |
71 #include "platform/animation/CompositorAnimationHost.h" | 72 #include "platform/animation/CompositorAnimationHost.h" |
72 #include "platform/exported/WrappedResourceRequest.h" | 73 #include "platform/exported/WrappedResourceRequest.h" |
73 #include "platform/geometry/IntRect.h" | 74 #include "platform/geometry/IntRect.h" |
74 #include "platform/graphics/GraphicsLayer.h" | 75 #include "platform/graphics/GraphicsLayer.h" |
75 #include "platform/weborigin/SecurityOrigin.h" | 76 #include "platform/weborigin/SecurityOrigin.h" |
| 77 #include "platform/wtf/Optional.h" |
| 78 #include "platform/wtf/PtrUtil.h" |
| 79 #include "platform/wtf/text/CString.h" |
| 80 #include "platform/wtf/text/CharacterNames.h" |
| 81 #include "platform/wtf/text/StringBuilder.h" |
| 82 #include "platform/wtf/text/StringConcatenate.h" |
76 #include "public/platform/WebCursorInfo.h" | 83 #include "public/platform/WebCursorInfo.h" |
77 #include "public/platform/WebFloatRect.h" | 84 #include "public/platform/WebFloatRect.h" |
78 #include "public/platform/WebInputEvent.h" | 85 #include "public/platform/WebInputEvent.h" |
79 #include "public/platform/WebRect.h" | 86 #include "public/platform/WebRect.h" |
80 #include "public/platform/WebURLRequest.h" | 87 #include "public/platform/WebURLRequest.h" |
81 #include "public/platform/WebViewScheduler.h" | 88 #include "public/platform/WebViewScheduler.h" |
82 #include "public/web/WebAXObject.h" | 89 #include "public/web/WebAXObject.h" |
83 #include "public/web/WebAutofillClient.h" | 90 #include "public/web/WebAutofillClient.h" |
84 #include "public/web/WebColorChooser.h" | 91 #include "public/web/WebColorChooser.h" |
85 #include "public/web/WebColorSuggestion.h" | 92 #include "public/web/WebColorSuggestion.h" |
(...skipping 24 matching lines...) Expand all Loading... |
110 #include "web/LocalFileSystemClient.h" | 117 #include "web/LocalFileSystemClient.h" |
111 #include "web/NavigatorContentUtilsClientImpl.h" | 118 #include "web/NavigatorContentUtilsClientImpl.h" |
112 #include "web/PopupMenuImpl.h" | 119 #include "web/PopupMenuImpl.h" |
113 #include "web/WebFileChooserCompletionImpl.h" | 120 #include "web/WebFileChooserCompletionImpl.h" |
114 #include "web/WebFrameWidgetImpl.h" | 121 #include "web/WebFrameWidgetImpl.h" |
115 #include "web/WebInputEventConversion.h" | 122 #include "web/WebInputEventConversion.h" |
116 #include "web/WebLocalFrameImpl.h" | 123 #include "web/WebLocalFrameImpl.h" |
117 #include "web/WebPluginContainerImpl.h" | 124 #include "web/WebPluginContainerImpl.h" |
118 #include "web/WebSettingsImpl.h" | 125 #include "web/WebSettingsImpl.h" |
119 #include "web/WebViewImpl.h" | 126 #include "web/WebViewImpl.h" |
120 #include "wtf/Optional.h" | |
121 #include "wtf/PtrUtil.h" | |
122 #include "wtf/text/CString.h" | |
123 #include "wtf/text/CharacterNames.h" | |
124 #include "wtf/text/StringBuilder.h" | |
125 #include "wtf/text/StringConcatenate.h" | |
126 #include <memory> | |
127 | 127 |
128 namespace blink { | 128 namespace blink { |
129 | 129 |
130 namespace { | 130 namespace { |
131 | 131 |
132 const char* dialogTypeToString(ChromeClient::DialogType dialogType) { | 132 const char* dialogTypeToString(ChromeClient::DialogType dialogType) { |
133 switch (dialogType) { | 133 switch (dialogType) { |
134 case ChromeClient::AlertDialog: | 134 case ChromeClient::AlertDialog: |
135 return "alert"; | 135 return "alert"; |
136 case ChromeClient::ConfirmDialog: | 136 case ChromeClient::ConfirmDialog: |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 if (RuntimeEnabledFeatures::presentationEnabled()) | 1227 if (RuntimeEnabledFeatures::presentationEnabled()) |
1228 PresentationController::provideTo(frame, client->presentationClient()); | 1228 PresentationController::provideTo(frame, client->presentationClient()); |
1229 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1229 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
1230 provideAudioOutputDeviceClientTo(frame, | 1230 provideAudioOutputDeviceClientTo(frame, |
1231 new AudioOutputDeviceClientImpl(frame)); | 1231 new AudioOutputDeviceClientImpl(frame)); |
1232 } | 1232 } |
1233 InstalledAppController::provideTo(frame, client->getRelatedAppsFetcher()); | 1233 InstalledAppController::provideTo(frame, client->getRelatedAppsFetcher()); |
1234 } | 1234 } |
1235 | 1235 |
1236 } // namespace blink | 1236 } // namespace blink |
OLD | NEW |