| 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 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" | 43 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" |
| 44 #include "third_party/WebKit/public/platform/WebFocusType.h" | 44 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| 45 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" | 45 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" |
| 46 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 46 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
| 47 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 47 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
| 48 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 48 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
| 49 #include "third_party/WebKit/public/web/WebAXObject.h" | 49 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 50 #include "third_party/WebKit/public/web/WebDataSource.h" | 50 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 51 #include "third_party/WebKit/public/web/WebFrameClient.h" | 51 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 52 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 52 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
| 53 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | |
| 54 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" | 53 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" |
| 55 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 54 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 56 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 55 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
| 57 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 56 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
| 58 #include "ui/gfx/range/range.h" | 57 #include "ui/gfx/range/range.h" |
| 59 #include "url/gurl.h" | 58 #include "url/gurl.h" |
| 60 | 59 |
| 61 #if defined(ENABLE_PLUGINS) | 60 #if defined(ENABLE_PLUGINS) |
| 62 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 61 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
| 63 #endif | 62 #endif |
| (...skipping 10 matching lines...) Expand all Loading... |
| 74 struct FrameMsg_NewFrame_WidgetParams; | 73 struct FrameMsg_NewFrame_WidgetParams; |
| 75 struct FrameMsg_PostMessage_Params; | 74 struct FrameMsg_PostMessage_Params; |
| 76 struct FrameMsg_SerializeAsMHTML_Params; | 75 struct FrameMsg_SerializeAsMHTML_Params; |
| 77 struct FrameMsg_TextTrackSettings_Params; | 76 struct FrameMsg_TextTrackSettings_Params; |
| 78 | 77 |
| 79 namespace IPC { | 78 namespace IPC { |
| 80 class SyncMessage; | 79 class SyncMessage; |
| 81 } | 80 } |
| 82 | 81 |
| 83 namespace blink { | 82 namespace blink { |
| 83 class WebContentDecryptionModule; |
| 84 class WebMouseEvent; | 84 class WebMouseEvent; |
| 85 class WebContentDecryptionModule; | |
| 86 class WebPresentationClient; | 85 class WebPresentationClient; |
| 87 class WebPushClient; | 86 class WebPushClient; |
| 88 class WebSecurityOrigin; | 87 class WebSecurityOrigin; |
| 89 enum class WebCachePolicy; | 88 enum class WebCachePolicy; |
| 90 struct WebCompositionUnderline; | 89 struct WebCompositionUnderline; |
| 91 struct WebContextMenuData; | 90 struct WebContextMenuData; |
| 92 struct WebCursorInfo; | 91 struct WebCursorInfo; |
| 93 struct WebFindOptions; | 92 struct WebFindOptions; |
| 93 struct WebFrameOwnerProperties; |
| 94 struct WebScreenInfo; | 94 struct WebScreenInfo; |
| 95 } | 95 } |
| 96 | 96 |
| 97 namespace gfx { | 97 namespace gfx { |
| 98 class Point; | 98 class Point; |
| 99 class Range; | 99 class Range; |
| 100 class Rect; | 100 class Rect; |
| 101 } | 101 } |
| 102 | 102 |
| 103 namespace media { | 103 namespace media { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 class RenderWidget; | 151 class RenderWidget; |
| 152 class RenderWidgetFullscreenPepper; | 152 class RenderWidgetFullscreenPepper; |
| 153 class ResourceRequestBodyImpl; | 153 class ResourceRequestBodyImpl; |
| 154 class ScreenOrientationDispatcher; | 154 class ScreenOrientationDispatcher; |
| 155 class UserMediaClientImpl; | 155 class UserMediaClientImpl; |
| 156 class WakeLockDispatcher; | 156 class WakeLockDispatcher; |
| 157 struct CommonNavigationParams; | 157 struct CommonNavigationParams; |
| 158 struct CustomContextMenuContext; | 158 struct CustomContextMenuContext; |
| 159 struct FileChooserFileInfo; | 159 struct FileChooserFileInfo; |
| 160 struct FileChooserParams; | 160 struct FileChooserParams; |
| 161 struct FrameOwnerProperties; |
| 161 struct FrameReplicationState; | 162 struct FrameReplicationState; |
| 162 struct NavigationParams; | 163 struct NavigationParams; |
| 163 struct RequestNavigationParams; | 164 struct RequestNavigationParams; |
| 164 struct ResourceResponseHead; | 165 struct ResourceResponseHead; |
| 165 struct StartNavigationParams; | 166 struct StartNavigationParams; |
| 166 struct StreamOverrideParameters; | 167 struct StreamOverrideParameters; |
| 167 | 168 |
| 168 class CONTENT_EXPORT RenderFrameImpl | 169 class CONTENT_EXPORT RenderFrameImpl |
| 169 : public RenderFrame, | 170 : public RenderFrame, |
| 170 NON_EXPORTED_BASE(mojom::Frame), | 171 NON_EXPORTED_BASE(mojom::Frame), |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 813 void OnExecuteNoValueEditCommand(const std::string& name); | 814 void OnExecuteNoValueEditCommand(const std::string& name); |
| 814 void OnExtendSelectionAndDelete(int before, int after); | 815 void OnExtendSelectionAndDelete(int before, int after); |
| 815 void OnReload(bool bypass_cache); | 816 void OnReload(bool bypass_cache); |
| 816 void OnReloadLoFiImages(); | 817 void OnReloadLoFiImages(); |
| 817 void OnTextSurroundingSelectionRequest(uint32_t max_length); | 818 void OnTextSurroundingSelectionRequest(uint32_t max_length); |
| 818 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 819 void OnSetAccessibilityMode(AccessibilityMode new_mode); |
| 819 void OnSnapshotAccessibilityTree(int callback_id); | 820 void OnSnapshotAccessibilityTree(int callback_id); |
| 820 void OnUpdateOpener(int opener_routing_id); | 821 void OnUpdateOpener(int opener_routing_id); |
| 821 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 822 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); |
| 822 void OnSetFrameOwnerProperties( | 823 void OnSetFrameOwnerProperties( |
| 823 const blink::WebFrameOwnerProperties& frame_owner_properties); | 824 const FrameOwnerProperties& frame_owner_properties); |
| 824 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); | 825 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); |
| 825 void OnSetFocusedFrame(); | 826 void OnSetFocusedFrame(); |
| 826 void OnTextTrackSettingsChanged( | 827 void OnTextTrackSettingsChanged( |
| 827 const FrameMsg_TextTrackSettings_Params& params); | 828 const FrameMsg_TextTrackSettings_Params& params); |
| 828 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); | 829 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); |
| 829 void OnCommitNavigation(const ResourceResponseHead& response, | 830 void OnCommitNavigation(const ResourceResponseHead& response, |
| 830 const GURL& stream_url, | 831 const GURL& stream_url, |
| 831 const CommonNavigationParams& common_params, | 832 const CommonNavigationParams& common_params, |
| 832 const RequestNavigationParams& request_params); | 833 const RequestNavigationParams& request_params); |
| 833 void OnFailedNavigation(const CommonNavigationParams& common_params, | 834 void OnFailedNavigation(const CommonNavigationParams& common_params, |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1291 mojom::FrameHostPtr frame_host_; | 1292 mojom::FrameHostPtr frame_host_; |
| 1292 | 1293 |
| 1293 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1294 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1294 | 1295 |
| 1295 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1296 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1296 }; | 1297 }; |
| 1297 | 1298 |
| 1298 } // namespace content | 1299 } // namespace content |
| 1299 | 1300 |
| 1300 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1301 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |