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

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: Fixing presubmits. 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
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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 void handleAccessibilityFindInPageResult( 615 void handleAccessibilityFindInPageResult(
617 int identifier, 616 int identifier,
618 int match_index, 617 int match_index,
619 const blink::WebAXObject& start_object, 618 const blink::WebAXObject& start_object,
620 int start_offset, 619 int start_offset,
621 const blink::WebAXObject& end_object, 620 const blink::WebAXObject& end_object,
622 int end_offset) override; 621 int end_offset) override;
623 void didChangeManifest() override; 622 void didChangeManifest() override;
624 bool enterFullscreen() override; 623 bool enterFullscreen() override;
625 bool exitFullscreen() override; 624 bool exitFullscreen() override;
626 blink::WebPermissionClient* permissionClient() override;
627 blink::WebAppBannerClient* appBannerClient() override; 625 blink::WebAppBannerClient* appBannerClient() override;
628 void registerProtocolHandler(const blink::WebString& scheme, 626 void registerProtocolHandler(const blink::WebString& scheme,
629 const blink::WebURL& url, 627 const blink::WebURL& url,
630 const blink::WebString& title) override; 628 const blink::WebString& title) override;
631 void unregisterProtocolHandler(const blink::WebString& scheme, 629 void unregisterProtocolHandler(const blink::WebString& scheme,
632 const blink::WebURL& url) override; 630 const blink::WebURL& url) override;
633 blink::WebBluetooth* bluetooth() override; 631 blink::WebBluetooth* bluetooth() override;
634 void checkIfAudioSinkExistsAndIsAuthorized( 632 void checkIfAudioSinkExistsAndIsAuthorized(
635 const blink::WebString& sink_id, 633 const blink::WebString& sink_id,
636 const blink::WebSecurityOrigin& security_origin, 634 const blink::WebSecurityOrigin& security_origin,
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 // process. 1232 // process.
1235 ManifestManager* manifest_manager_; 1233 ManifestManager* manifest_manager_;
1236 1234
1237 // The current accessibility mode. 1235 // The current accessibility mode.
1238 AccessibilityMode accessibility_mode_; 1236 AccessibilityMode accessibility_mode_;
1239 1237
1240 // Only valid if |accessibility_mode_| is anything other than 1238 // Only valid if |accessibility_mode_| is anything other than
1241 // AccessibilityModeOff. 1239 // AccessibilityModeOff.
1242 RenderAccessibilityImpl* render_accessibility_; 1240 RenderAccessibilityImpl* render_accessibility_;
1243 1241
1244 std::unique_ptr<PermissionDispatcher> permission_client_;
1245
1246 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_; 1242 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_;
1247 1243
1248 std::unique_ptr<blink::WebBluetooth> bluetooth_; 1244 std::unique_ptr<blink::WebBluetooth> bluetooth_;
1249 1245
1250 // Manages play, pause notifications for WebMediaPlayer implementations; its 1246 // Manages play, pause notifications for WebMediaPlayer implementations; its
1251 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1247 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1252 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1248 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1253 1249
1254 // Whether or not this RenderFrame is using Lo-Fi mode. 1250 // Whether or not this RenderFrame is using Lo-Fi mode.
1255 bool is_using_lofi_; 1251 bool is_using_lofi_;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 mojom::FrameHostPtr frame_host_; 1294 mojom::FrameHostPtr frame_host_;
1299 1295
1300 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1296 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1301 1297
1302 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1298 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1303 }; 1299 };
1304 1300
1305 } // namespace content 1301 } // namespace content
1306 1302
1307 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1303 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698