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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" | 68 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" |
69 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 69 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
70 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 70 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
71 #include "third_party/WebKit/public/platform/site_engagement.mojom.h" | 71 #include "third_party/WebKit/public/platform/site_engagement.mojom.h" |
72 #include "third_party/WebKit/public/web/WebAXObject.h" | 72 #include "third_party/WebKit/public/web/WebAXObject.h" |
73 #include "third_party/WebKit/public/web/WebDataSource.h" | 73 #include "third_party/WebKit/public/web/WebDataSource.h" |
74 #include "third_party/WebKit/public/web/WebFrameClient.h" | 74 #include "third_party/WebKit/public/web/WebFrameClient.h" |
75 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 75 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
76 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" | 76 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" |
77 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 77 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 78 #include "third_party/WebKit/public/web/WebIconURL.h" |
78 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 79 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
79 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 80 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
80 #include "ui/gfx/range/range.h" | 81 #include "ui/gfx/range/range.h" |
81 #include "url/gurl.h" | 82 #include "url/gurl.h" |
82 #include "url/origin.h" | 83 #include "url/origin.h" |
83 | 84 |
84 #if BUILDFLAG(ENABLE_PLUGINS) | 85 #if BUILDFLAG(ENABLE_PLUGINS) |
85 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 86 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
86 #endif | 87 #endif |
87 | 88 |
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1107 void GetInterface(const std::string& interface_name, | 1108 void GetInterface(const std::string& interface_name, |
1108 mojo::ScopedMessagePipeHandle interface_pipe) override; | 1109 mojo::ScopedMessagePipeHandle interface_pipe) override; |
1109 | 1110 |
1110 // Send |callback| our AndroidOverlay routing token when it arrives. We may | 1111 // Send |callback| our AndroidOverlay routing token when it arrives. We may |
1111 // call |callback| before returning. | 1112 // call |callback| before returning. |
1112 void RequestOverlayRoutingToken(media::RoutingTokenCallback callback); | 1113 void RequestOverlayRoutingToken(media::RoutingTokenCallback callback); |
1113 | 1114 |
1114 // Ask the host to send our AndroidOverlay routing token to us. | 1115 // Ask the host to send our AndroidOverlay routing token to us. |
1115 void RequestOverlayRoutingTokenFromHost(); | 1116 void RequestOverlayRoutingTokenFromHost(); |
1116 | 1117 |
| 1118 void SendUpdateFaviconURL(blink::WebIconURL::Type icon_types_mask); |
| 1119 |
1117 // Stores the WebLocalFrame we are associated with. This is null from the | 1120 // Stores the WebLocalFrame we are associated with. This is null from the |
1118 // constructor until BindToWebFrame is called, and it is null after | 1121 // constructor until BindToWebFrame is called, and it is null after |
1119 // frameDetached is called until destruction (which is asynchronous in the | 1122 // frameDetached is called until destruction (which is asynchronous in the |
1120 // case of the main frame, but not subframes). | 1123 // case of the main frame, but not subframes). |
1121 blink::WebLocalFrame* frame_; | 1124 blink::WebLocalFrame* frame_; |
1122 | 1125 |
1123 // Boolean value indicating whether this RenderFrameImpl object is for the | 1126 // Boolean value indicating whether this RenderFrameImpl object is for the |
1124 // main frame or not. It remains accurate during destruction, even when | 1127 // main frame or not. It remains accurate during destruction, even when |
1125 // |frame_| has been invalidated. | 1128 // |frame_| has been invalidated. |
1126 bool is_main_frame_; | 1129 bool is_main_frame_; |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1416 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; | 1419 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
1417 | 1420 |
1418 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1421 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1419 | 1422 |
1420 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1423 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1421 }; | 1424 }; |
1422 | 1425 |
1423 } // namespace content | 1426 } // namespace content |
1424 | 1427 |
1425 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1428 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |