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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 class DevToolsAgent; | 126 class DevToolsAgent; |
127 class DocumentState; | 127 class DocumentState; |
128 class ExternalPopupMenu; | 128 class ExternalPopupMenu; |
129 class ManifestManager; | 129 class ManifestManager; |
130 class MediaInterfaceProvider; | 130 class MediaInterfaceProvider; |
131 class MediaStreamDispatcher; | 131 class MediaStreamDispatcher; |
132 class MediaStreamRendererFactory; | 132 class MediaStreamRendererFactory; |
133 class MediaPermissionDispatcher; | 133 class MediaPermissionDispatcher; |
134 class MidiDispatcher; | 134 class MidiDispatcher; |
135 class NavigationState; | 135 class NavigationState; |
136 class NotificationPermissionDispatcher; | |
137 class PageState; | 136 class PageState; |
138 class PepperPluginInstanceImpl; | 137 class PepperPluginInstanceImpl; |
139 class PresentationDispatcher; | 138 class PresentationDispatcher; |
140 class PushMessagingDispatcher; | 139 class PushMessagingDispatcher; |
141 class RenderAccessibilityImpl; | 140 class RenderAccessibilityImpl; |
142 class RendererCdmManager; | 141 class RendererCdmManager; |
143 class RendererMediaPlayerManager; | 142 class RendererMediaPlayerManager; |
144 class RendererMediaSessionManager; | 143 class RendererMediaSessionManager; |
145 class RendererPpapiHost; | 144 class RendererPpapiHost; |
146 class RendererSurfaceViewManager; | 145 class RendererSurfaceViewManager; |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 blink::WebHistoryCommitType commit_type) override; | 535 blink::WebHistoryCommitType commit_type) override; |
537 void didFinishLoad(blink::WebLocalFrame* frame) override; | 536 void didFinishLoad(blink::WebLocalFrame* frame) override; |
538 void didNavigateWithinPage(blink::WebLocalFrame* frame, | 537 void didNavigateWithinPage(blink::WebLocalFrame* frame, |
539 const blink::WebHistoryItem& item, | 538 const blink::WebHistoryItem& item, |
540 blink::WebHistoryCommitType commit_type, | 539 blink::WebHistoryCommitType commit_type, |
541 bool content_initiated) override; | 540 bool content_initiated) override; |
542 void didUpdateCurrentHistoryItem() override; | 541 void didUpdateCurrentHistoryItem() override; |
543 void didChangeThemeColor() override; | 542 void didChangeThemeColor() override; |
544 void dispatchLoad() override; | 543 void dispatchLoad() override; |
545 blink::WebEffectiveConnectionType getEffectiveConnectionType() override; | 544 blink::WebEffectiveConnectionType getEffectiveConnectionType() override; |
546 void requestNotificationPermission( | |
547 const blink::WebSecurityOrigin& origin, | |
548 blink::WebNotificationPermissionCallback* callback) override; | |
549 void didChangeSelection(bool is_empty_selection) override; | 545 void didChangeSelection(bool is_empty_selection) override; |
550 blink::WebColorChooser* createColorChooser( | 546 blink::WebColorChooser* createColorChooser( |
551 blink::WebColorChooserClient* client, | 547 blink::WebColorChooserClient* client, |
552 const blink::WebColor& initial_color, | 548 const blink::WebColor& initial_color, |
553 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; | 549 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; |
554 void runModalAlertDialog(const blink::WebString& message) override; | 550 void runModalAlertDialog(const blink::WebString& message) override; |
555 bool runModalConfirmDialog(const blink::WebString& message) override; | 551 bool runModalConfirmDialog(const blink::WebString& message) override; |
556 bool runModalPromptDialog(const blink::WebString& message, | 552 bool runModalPromptDialog(const blink::WebString& message, |
557 const blink::WebString& default_value, | 553 const blink::WebString& default_value, |
558 blink::WebString* actual_value) override; | 554 blink::WebString* actual_value) override; |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 // could correspond to a substring of |selection_text_|; see above). | 1132 // could correspond to a substring of |selection_text_|; see above). |
1137 gfx::Range selection_range_; | 1133 gfx::Range selection_range_; |
1138 // Used to inform didChangeSelection() when it is called in the context | 1134 // Used to inform didChangeSelection() when it is called in the context |
1139 // of handling a InputMsg_SelectRange IPC. | 1135 // of handling a InputMsg_SelectRange IPC. |
1140 bool handling_select_range_; | 1136 bool handling_select_range_; |
1141 | 1137 |
1142 // The next group of objects all implement RenderFrameObserver, so are deleted | 1138 // The next group of objects all implement RenderFrameObserver, so are deleted |
1143 // along with the RenderFrame automatically. This is why we just store weak | 1139 // along with the RenderFrame automatically. This is why we just store weak |
1144 // references. | 1140 // references. |
1145 | 1141 |
1146 // Dispatches permission requests for Web Notifications. | |
1147 NotificationPermissionDispatcher* notification_permission_dispatcher_; | |
1148 | |
1149 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism. | 1142 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism. |
1150 UserMediaClientImpl* web_user_media_client_; | 1143 UserMediaClientImpl* web_user_media_client_; |
1151 | 1144 |
1152 // EncryptedMediaClient attached to this frame; lazily initialized. | 1145 // EncryptedMediaClient attached to this frame; lazily initialized. |
1153 std::unique_ptr<media::WebEncryptedMediaClientImpl> | 1146 std::unique_ptr<media::WebEncryptedMediaClientImpl> |
1154 web_encrypted_media_client_; | 1147 web_encrypted_media_client_; |
1155 | 1148 |
1156 // The media permission dispatcher attached to this frame. | 1149 // The media permission dispatcher attached to this frame. |
1157 std::unique_ptr<MediaPermissionDispatcher> media_permission_dispatcher_; | 1150 std::unique_ptr<MediaPermissionDispatcher> media_permission_dispatcher_; |
1158 | 1151 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1282 mojom::FrameHostPtr frame_host_; | 1275 mojom::FrameHostPtr frame_host_; |
1283 | 1276 |
1284 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1277 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1285 | 1278 |
1286 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1279 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1287 }; | 1280 }; |
1288 | 1281 |
1289 } // namespace content | 1282 } // namespace content |
1290 | 1283 |
1291 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1284 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |