Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2108003002: Merge //content/child/permissions into Blink's permissions module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_child.gypi ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 136 class NotificationPermissionDispatcher;
137 class PageState; 137 class PageState;
138 class PepperPluginInstanceImpl; 138 class PepperPluginInstanceImpl;
139 class PermissionDispatcher;
140 class PresentationDispatcher; 139 class PresentationDispatcher;
141 class PushMessagingDispatcher; 140 class PushMessagingDispatcher;
142 class RenderAccessibilityImpl; 141 class RenderAccessibilityImpl;
143 class RendererCdmManager; 142 class RendererCdmManager;
144 class RendererMediaPlayerManager; 143 class RendererMediaPlayerManager;
145 class RendererMediaSessionManager; 144 class RendererMediaSessionManager;
146 class RendererPpapiHost; 145 class RendererPpapiHost;
147 class RendererSurfaceViewManager; 146 class RendererSurfaceViewManager;
148 class RenderFrameObserver; 147 class RenderFrameObserver;
149 class RenderViewImpl; 148 class RenderViewImpl;
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 void handleAccessibilityFindInPageResult( 616 void handleAccessibilityFindInPageResult(
618 int identifier, 617 int identifier,
619 int match_index, 618 int match_index,
620 const blink::WebAXObject& start_object, 619 const blink::WebAXObject& start_object,
621 int start_offset, 620 int start_offset,
622 const blink::WebAXObject& end_object, 621 const blink::WebAXObject& end_object,
623 int end_offset) override; 622 int end_offset) override;
624 void didChangeManifest() override; 623 void didChangeManifest() override;
625 void enterFullscreen() override; 624 void enterFullscreen() override;
626 void exitFullscreen() override; 625 void exitFullscreen() override;
627 blink::WebPermissionClient* permissionClient() override;
628 blink::WebAppBannerClient* appBannerClient() override; 626 blink::WebAppBannerClient* appBannerClient() override;
629 void registerProtocolHandler(const blink::WebString& scheme, 627 void registerProtocolHandler(const blink::WebString& scheme,
630 const blink::WebURL& url, 628 const blink::WebURL& url,
631 const blink::WebString& title) override; 629 const blink::WebString& title) override;
632 void unregisterProtocolHandler(const blink::WebString& scheme, 630 void unregisterProtocolHandler(const blink::WebString& scheme,
633 const blink::WebURL& url) override; 631 const blink::WebURL& url) override;
634 blink::WebBluetooth* bluetooth() override; 632 blink::WebBluetooth* bluetooth() override;
635 void checkIfAudioSinkExistsAndIsAuthorized( 633 void checkIfAudioSinkExistsAndIsAuthorized(
636 const blink::WebString& sink_id, 634 const blink::WebString& sink_id,
637 const blink::WebSecurityOrigin& security_origin, 635 const blink::WebSecurityOrigin& security_origin,
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 // process. 1223 // process.
1226 ManifestManager* manifest_manager_; 1224 ManifestManager* manifest_manager_;
1227 1225
1228 // The current accessibility mode. 1226 // The current accessibility mode.
1229 AccessibilityMode accessibility_mode_; 1227 AccessibilityMode accessibility_mode_;
1230 1228
1231 // Only valid if |accessibility_mode_| is anything other than 1229 // Only valid if |accessibility_mode_| is anything other than
1232 // AccessibilityModeOff. 1230 // AccessibilityModeOff.
1233 RenderAccessibilityImpl* render_accessibility_; 1231 RenderAccessibilityImpl* render_accessibility_;
1234 1232
1235 std::unique_ptr<PermissionDispatcher> permission_client_;
1236
1237 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_; 1233 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_;
1238 1234
1239 std::unique_ptr<blink::WebBluetooth> bluetooth_; 1235 std::unique_ptr<blink::WebBluetooth> bluetooth_;
1240 1236
1241 // Manages play, pause notifications for WebMediaPlayer implementations; its 1237 // Manages play, pause notifications for WebMediaPlayer implementations; its
1242 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1238 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1243 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1239 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1244 1240
1245 // Whether or not this RenderFrame is using Lo-Fi mode. 1241 // Whether or not this RenderFrame is using Lo-Fi mode.
1246 bool is_using_lofi_; 1242 bool is_using_lofi_;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 mojom::FrameHostPtr frame_host_; 1285 mojom::FrameHostPtr frame_host_;
1290 1286
1291 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1287 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1292 1288
1293 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1289 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1294 }; 1290 };
1295 1291
1296 } // namespace content 1292 } // namespace content
1297 1293
1298 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1294 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698