OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/render_frame_impl.h" | 5 #include "content/renderer/render_frame_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 #include "content/public/renderer/render_frame_observer.h" | 60 #include "content/public/renderer/render_frame_observer.h" |
61 #include "content/public/renderer/renderer_ppapi_host.h" | 61 #include "content/public/renderer/renderer_ppapi_host.h" |
62 #include "content/renderer/accessibility/renderer_accessibility.h" | 62 #include "content/renderer/accessibility/renderer_accessibility.h" |
63 #include "content/renderer/browser_plugin/browser_plugin.h" | 63 #include "content/renderer/browser_plugin/browser_plugin.h" |
64 #include "content/renderer/browser_plugin/browser_plugin_manager.h" | 64 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
65 #include "content/renderer/child_frame_compositing_helper.h" | 65 #include "content/renderer/child_frame_compositing_helper.h" |
66 #include "content/renderer/context_menu_params_builder.h" | 66 #include "content/renderer/context_menu_params_builder.h" |
67 #include "content/renderer/devtools/devtools_agent.h" | 67 #include "content/renderer/devtools/devtools_agent.h" |
68 #include "content/renderer/dom_automation_controller.h" | 68 #include "content/renderer/dom_automation_controller.h" |
69 #include "content/renderer/dom_utils.h" | 69 #include "content/renderer/dom_utils.h" |
| 70 #include "content/renderer/durable_dispatcher.h" |
70 #include "content/renderer/external_popup_menu.h" | 71 #include "content/renderer/external_popup_menu.h" |
71 #include "content/renderer/geolocation_dispatcher.h" | 72 #include "content/renderer/geolocation_dispatcher.h" |
72 #include "content/renderer/gpu/gpu_benchmarking_extension.h" | 73 #include "content/renderer/gpu/gpu_benchmarking_extension.h" |
73 #include "content/renderer/history_controller.h" | 74 #include "content/renderer/history_controller.h" |
74 #include "content/renderer/history_serialization.h" | 75 #include "content/renderer/history_serialization.h" |
75 #include "content/renderer/image_loading_helper.h" | 76 #include "content/renderer/image_loading_helper.h" |
76 #include "content/renderer/ime_event_guard.h" | 77 #include "content/renderer/ime_event_guard.h" |
77 #include "content/renderer/internal_document_state_data.h" | 78 #include "content/renderer/internal_document_state_data.h" |
78 #include "content/renderer/manifest/manifest_manager.h" | 79 #include "content/renderer/manifest/manifest_manager.h" |
79 #include "content/renderer/media/audio_renderer_mixer_manager.h" | 80 #include "content/renderer/media/audio_renderer_mixer_manager.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 #include "net/base/data_url.h" | 117 #include "net/base/data_url.h" |
117 #include "net/base/net_errors.h" | 118 #include "net/base/net_errors.h" |
118 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 119 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
119 #include "net/http/http_util.h" | 120 #include "net/http/http_util.h" |
120 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" | 121 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" |
121 #include "third_party/WebKit/public/platform/WebString.h" | 122 #include "third_party/WebKit/public/platform/WebString.h" |
122 #include "third_party/WebKit/public/platform/WebURL.h" | 123 #include "third_party/WebKit/public/platform/WebURL.h" |
123 #include "third_party/WebKit/public/platform/WebURLError.h" | 124 #include "third_party/WebKit/public/platform/WebURLError.h" |
124 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 125 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
125 #include "third_party/WebKit/public/platform/WebVector.h" | 126 #include "third_party/WebKit/public/platform/WebVector.h" |
| 127 #include "third_party/WebKit/public/platform/modules/quota/WebDurableStorageDisp
atcher.h" |
126 #include "third_party/WebKit/public/web/WebColorSuggestion.h" | 128 #include "third_party/WebKit/public/web/WebColorSuggestion.h" |
127 #include "third_party/WebKit/public/web/WebDocument.h" | 129 #include "third_party/WebKit/public/web/WebDocument.h" |
128 #include "third_party/WebKit/public/web/WebFrameWidget.h" | 130 #include "third_party/WebKit/public/web/WebFrameWidget.h" |
129 #include "third_party/WebKit/public/web/WebGlyphCache.h" | 131 #include "third_party/WebKit/public/web/WebGlyphCache.h" |
130 #include "third_party/WebKit/public/web/WebKit.h" | 132 #include "third_party/WebKit/public/web/WebKit.h" |
131 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 133 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
132 #include "third_party/WebKit/public/web/WebMediaStreamRegistry.h" | 134 #include "third_party/WebKit/public/web/WebMediaStreamRegistry.h" |
133 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" | 135 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" |
134 #include "third_party/WebKit/public/web/WebPlugin.h" | 136 #include "third_party/WebKit/public/web/WebPlugin.h" |
135 #include "third_party/WebKit/public/web/WebPluginParams.h" | 137 #include "third_party/WebKit/public/web/WebPluginParams.h" |
(...skipping 3621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3757 | 3759 |
3758 blink::WebAppBannerClient* RenderFrameImpl::appBannerClient() { | 3760 blink::WebAppBannerClient* RenderFrameImpl::appBannerClient() { |
3759 if (!app_banner_client_) { | 3761 if (!app_banner_client_) { |
3760 app_banner_client_ = | 3762 app_banner_client_ = |
3761 GetContentClient()->renderer()->CreateAppBannerClient(this); | 3763 GetContentClient()->renderer()->CreateAppBannerClient(this); |
3762 } | 3764 } |
3763 | 3765 |
3764 return app_banner_client_.get(); | 3766 return app_banner_client_.get(); |
3765 } | 3767 } |
3766 | 3768 |
| 3769 blink::WebDurableStorageDispatcher* |
| 3770 RenderFrameImpl::durableStorageDispatcher() { |
| 3771 if (!durable_storage_dispatcher_) { |
| 3772 durable_storage_dispatcher_.reset(new DurableStorageDispatcher(this)); |
| 3773 } |
| 3774 return durable_storage_dispatcher_.get(); |
| 3775 } |
| 3776 |
3767 #if defined(ENABLE_WEBVR) | 3777 #if defined(ENABLE_WEBVR) |
3768 blink::WebVRClient* RenderFrameImpl::webVRClient() { | 3778 blink::WebVRClient* RenderFrameImpl::webVRClient() { |
3769 if (!vr_dispatcher_) | 3779 if (!vr_dispatcher_) |
3770 vr_dispatcher_.reset(new VRDispatcher(GetServiceRegistry())); | 3780 vr_dispatcher_.reset(new VRDispatcher(GetServiceRegistry())); |
3771 | 3781 |
3772 return vr_dispatcher_.get(); | 3782 return vr_dispatcher_.get(); |
3773 } | 3783 } |
3774 #endif | 3784 #endif |
3775 | 3785 |
3776 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { | 3786 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { |
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5002 cdm_manager_ | 5012 cdm_manager_ |
5003 #endif | 5013 #endif |
5004 )); | 5014 )); |
5005 #endif // defined(ENABLE_MOJO_MEDIA) | 5015 #endif // defined(ENABLE_MOJO_MEDIA) |
5006 } | 5016 } |
5007 | 5017 |
5008 return cdm_factory_.get(); | 5018 return cdm_factory_.get(); |
5009 } | 5019 } |
5010 | 5020 |
5011 } // namespace content | 5021 } // namespace content |
OLD | NEW |