| 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 bool enterFullscreen() override; | 604 bool enterFullscreen() override; |
| 605 bool exitFullscreen() override; | 605 bool exitFullscreen() override; |
| 606 blink::WebPermissionClient* permissionClient() override; | 606 blink::WebPermissionClient* permissionClient() override; |
| 607 blink::WebAppBannerClient* appBannerClient() override; | 607 blink::WebAppBannerClient* appBannerClient() override; |
| 608 void registerProtocolHandler(const blink::WebString& scheme, | 608 void registerProtocolHandler(const blink::WebString& scheme, |
| 609 const blink::WebURL& url, | 609 const blink::WebURL& url, |
| 610 const blink::WebString& title) override; | 610 const blink::WebString& title) override; |
| 611 void unregisterProtocolHandler(const blink::WebString& scheme, | 611 void unregisterProtocolHandler(const blink::WebString& scheme, |
| 612 const blink::WebURL& url) override; | 612 const blink::WebURL& url) override; |
| 613 blink::WebBluetooth* bluetooth() override; | 613 blink::WebBluetooth* bluetooth() override; |
| 614 blink::WebUSBClient* usbClient() override; | |
| 615 void checkIfAudioSinkExistsAndIsAuthorized( | 614 void checkIfAudioSinkExistsAndIsAuthorized( |
| 616 const blink::WebString& sink_id, | 615 const blink::WebString& sink_id, |
| 617 const blink::WebSecurityOrigin& security_origin, | 616 const blink::WebSecurityOrigin& security_origin, |
| 618 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 617 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
| 619 blink::ServiceRegistry* serviceRegistry() override; | 618 blink::ServiceRegistry* serviceRegistry() override; |
| 620 | 619 |
| 621 #if defined(ENABLE_WEBVR) | 620 #if defined(ENABLE_WEBVR) |
| 622 blink::WebVRClient* webVRClient() override; | 621 blink::WebVRClient* webVRClient() override; |
| 623 #endif | 622 #endif |
| 624 | 623 |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1181 // Only valid if |accessibility_mode_| is anything other than | 1180 // Only valid if |accessibility_mode_| is anything other than |
| 1182 // AccessibilityModeOff. | 1181 // AccessibilityModeOff. |
| 1183 RendererAccessibility* renderer_accessibility_; | 1182 RendererAccessibility* renderer_accessibility_; |
| 1184 | 1183 |
| 1185 scoped_ptr<PermissionDispatcher> permission_client_; | 1184 scoped_ptr<PermissionDispatcher> permission_client_; |
| 1186 | 1185 |
| 1187 scoped_ptr<blink::WebAppBannerClient> app_banner_client_; | 1186 scoped_ptr<blink::WebAppBannerClient> app_banner_client_; |
| 1188 | 1187 |
| 1189 scoped_ptr<blink::WebBluetooth> bluetooth_; | 1188 scoped_ptr<blink::WebBluetooth> bluetooth_; |
| 1190 | 1189 |
| 1191 scoped_ptr<blink::WebUSBClient> usb_client_; | |
| 1192 | |
| 1193 // Manages play, pause notifications for WebMediaPlayer implementations; its | 1190 // Manages play, pause notifications for WebMediaPlayer implementations; its |
| 1194 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. | 1191 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
| 1195 media::RendererWebMediaPlayerDelegate* media_player_delegate_; | 1192 media::RendererWebMediaPlayerDelegate* media_player_delegate_; |
| 1196 | 1193 |
| 1197 // Whether or not this RenderFrame is using Lo-Fi mode. | 1194 // Whether or not this RenderFrame is using Lo-Fi mode. |
| 1198 bool is_using_lofi_; | 1195 bool is_using_lofi_; |
| 1199 | 1196 |
| 1200 // Whether or not this RenderFrame is currently pasting. | 1197 // Whether or not this RenderFrame is currently pasting. |
| 1201 bool is_pasting_; | 1198 bool is_pasting_; |
| 1202 | 1199 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1213 FrameBlameContext* blame_context_; // Not owned. | 1210 FrameBlameContext* blame_context_; // Not owned. |
| 1214 | 1211 |
| 1215 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1212 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1216 | 1213 |
| 1217 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1214 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1218 }; | 1215 }; |
| 1219 | 1216 |
| 1220 } // namespace content | 1217 } // namespace content |
| 1221 | 1218 |
| 1222 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1219 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |