OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 #include "modules/storage/DOMWindowStorageController.h" | 66 #include "modules/storage/DOMWindowStorageController.h" |
67 #include "modules/vr/NavigatorVR.h" | 67 #include "modules/vr/NavigatorVR.h" |
68 #include "platform/Histogram.h" | 68 #include "platform/Histogram.h" |
69 #include "platform/RuntimeEnabledFeatures.h" | 69 #include "platform/RuntimeEnabledFeatures.h" |
70 #include "platform/UserGestureIndicator.h" | 70 #include "platform/UserGestureIndicator.h" |
71 #include "platform/exported/WrappedResourceRequest.h" | 71 #include "platform/exported/WrappedResourceRequest.h" |
72 #include "platform/exported/WrappedResourceResponse.h" | 72 #include "platform/exported/WrappedResourceResponse.h" |
73 #include "platform/network/HTTPParsers.h" | 73 #include "platform/network/HTTPParsers.h" |
74 #include "platform/network/mime/MIMETypeRegistry.h" | 74 #include "platform/network/mime/MIMETypeRegistry.h" |
75 #include "platform/plugins/PluginData.h" | 75 #include "platform/plugins/PluginData.h" |
| 76 #include "platform/wtf/PtrUtil.h" |
| 77 #include "platform/wtf/StringExtras.h" |
| 78 #include "platform/wtf/text/CString.h" |
| 79 #include "platform/wtf/text/WTFString.h" |
76 #include "public/platform/Platform.h" | 80 #include "public/platform/Platform.h" |
77 #include "public/platform/WebApplicationCacheHost.h" | 81 #include "public/platform/WebApplicationCacheHost.h" |
78 #include "public/platform/WebMediaPlayerSource.h" | 82 #include "public/platform/WebMediaPlayerSource.h" |
79 #include "public/platform/WebRTCPeerConnectionHandler.h" | 83 #include "public/platform/WebRTCPeerConnectionHandler.h" |
80 #include "public/platform/WebSecurityOrigin.h" | 84 #include "public/platform/WebSecurityOrigin.h" |
81 #include "public/platform/WebURL.h" | 85 #include "public/platform/WebURL.h" |
82 #include "public/platform/WebURLError.h" | 86 #include "public/platform/WebURLError.h" |
83 #include "public/platform/WebVector.h" | 87 #include "public/platform/WebVector.h" |
84 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" | 88 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" |
85 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" | 89 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" |
86 #include "public/web/WebAutofillClient.h" | 90 #include "public/web/WebAutofillClient.h" |
87 #include "public/web/WebDOMEvent.h" | 91 #include "public/web/WebDOMEvent.h" |
88 #include "public/web/WebDocument.h" | 92 #include "public/web/WebDocument.h" |
89 #include "public/web/WebFormElement.h" | 93 #include "public/web/WebFormElement.h" |
90 #include "public/web/WebFrameClient.h" | 94 #include "public/web/WebFrameClient.h" |
91 #include "public/web/WebNode.h" | 95 #include "public/web/WebNode.h" |
92 #include "public/web/WebPlugin.h" | 96 #include "public/web/WebPlugin.h" |
93 #include "public/web/WebPluginParams.h" | 97 #include "public/web/WebPluginParams.h" |
94 #include "public/web/WebViewClient.h" | 98 #include "public/web/WebViewClient.h" |
95 #include "v8/include/v8.h" | 99 #include "v8/include/v8.h" |
96 #include "web/DevToolsEmulator.h" | 100 #include "web/DevToolsEmulator.h" |
97 #include "web/SharedWorkerRepositoryClientImpl.h" | 101 #include "web/SharedWorkerRepositoryClientImpl.h" |
98 #include "web/WebDataSourceImpl.h" | 102 #include "web/WebDataSourceImpl.h" |
99 #include "web/WebDevToolsAgentImpl.h" | 103 #include "web/WebDevToolsAgentImpl.h" |
100 #include "web/WebDevToolsFrontendImpl.h" | 104 #include "web/WebDevToolsFrontendImpl.h" |
101 #include "web/WebLocalFrameImpl.h" | 105 #include "web/WebLocalFrameImpl.h" |
102 #include "web/WebPluginContainerImpl.h" | 106 #include "web/WebPluginContainerImpl.h" |
103 #include "web/WebViewImpl.h" | 107 #include "web/WebViewImpl.h" |
104 #include "wtf/PtrUtil.h" | |
105 #include "wtf/StringExtras.h" | |
106 #include "wtf/text/CString.h" | |
107 #include "wtf/text/WTFString.h" | |
108 | 108 |
109 #include <memory> | 109 #include <memory> |
110 | 110 |
111 namespace blink { | 111 namespace blink { |
112 | 112 |
113 namespace { | 113 namespace { |
114 | 114 |
115 // Convenience helper for frame tree helpers in FrameClient to reduce the amount | 115 // Convenience helper for frame tree helpers in FrameClient to reduce the amount |
116 // of null-checking boilerplate code. Since the frame tree is maintained in the | 116 // of null-checking boilerplate code. Since the frame tree is maintained in the |
117 // web/ layer, the frame tree helpers often have to deal with null WebFrames: | 117 // web/ layer, the frame tree helpers often have to deal with null WebFrames: |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 void LocalFrameClientImpl::abortClientNavigation() { | 966 void LocalFrameClientImpl::abortClientNavigation() { |
967 if (m_webFrame->client()) | 967 if (m_webFrame->client()) |
968 m_webFrame->client()->abortClientNavigation(); | 968 m_webFrame->client()->abortClientNavigation(); |
969 } | 969 } |
970 | 970 |
971 TextCheckerClient& LocalFrameClientImpl::textCheckerClient() const { | 971 TextCheckerClient& LocalFrameClientImpl::textCheckerClient() const { |
972 return m_webFrame->textCheckerClient(); | 972 return m_webFrame->textCheckerClient(); |
973 } | 973 } |
974 | 974 |
975 } // namespace blink | 975 } // namespace blink |
OLD | NEW |