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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 class ExternalPopupMenu; | 79 class ExternalPopupMenu; |
80 class GeolocationDispatcher; | 80 class GeolocationDispatcher; |
81 class ManifestManager; | 81 class ManifestManager; |
82 class MediaStreamDispatcher; | 82 class MediaStreamDispatcher; |
83 class MediaStreamRendererFactory; | 83 class MediaStreamRendererFactory; |
84 class MediaPermissionDispatcher; | 84 class MediaPermissionDispatcher; |
85 class MidiDispatcher; | 85 class MidiDispatcher; |
86 class NotificationPermissionDispatcher; | 86 class NotificationPermissionDispatcher; |
87 class PageState; | 87 class PageState; |
88 class PepperPluginInstanceImpl; | 88 class PepperPluginInstanceImpl; |
| 89 class PermissionsManager; |
89 class PresentationDispatcher; | 90 class PresentationDispatcher; |
90 class PushMessagingDispatcher; | 91 class PushMessagingDispatcher; |
91 class RendererAccessibility; | 92 class RendererAccessibility; |
92 class RendererCdmManager; | 93 class RendererCdmManager; |
93 class RendererMediaPlayerManager; | 94 class RendererMediaPlayerManager; |
94 class RendererPpapiHost; | 95 class RendererPpapiHost; |
95 class RenderFrameObserver; | 96 class RenderFrameObserver; |
96 class RenderViewImpl; | 97 class RenderViewImpl; |
97 class RenderWidget; | 98 class RenderWidget; |
98 class RenderWidgetFullscreenPepper; | 99 class RenderWidgetFullscreenPepper; |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 virtual void handleAccessibilityFindInPageResult( | 512 virtual void handleAccessibilityFindInPageResult( |
512 int identifier, | 513 int identifier, |
513 int match_index, | 514 int match_index, |
514 const blink::WebAXObject& start_object, | 515 const blink::WebAXObject& start_object, |
515 int start_offset, | 516 int start_offset, |
516 const blink::WebAXObject& end_object, | 517 const blink::WebAXObject& end_object, |
517 int end_offset); | 518 int end_offset); |
518 virtual void didChangeManifest(blink::WebLocalFrame*); | 519 virtual void didChangeManifest(blink::WebLocalFrame*); |
519 virtual bool enterFullscreen(); | 520 virtual bool enterFullscreen(); |
520 virtual bool exitFullscreen(); | 521 virtual bool exitFullscreen(); |
521 void suddenTerminationDisablerChanged( | 522 virtual void suddenTerminationDisablerChanged( |
522 bool present, | 523 bool present, |
523 blink::WebFrameClient::SuddenTerminationDisablerType type) override; | 524 blink::WebFrameClient::SuddenTerminationDisablerType type); |
| 525 virtual blink::WebPermissionClient* permissionClient(); |
524 | 526 |
525 // WebMediaPlayerDelegate implementation: | 527 // WebMediaPlayerDelegate implementation: |
526 void DidPlay(blink::WebMediaPlayer* player) override; | 528 void DidPlay(blink::WebMediaPlayer* player) override; |
527 void DidPause(blink::WebMediaPlayer* player) override; | 529 void DidPause(blink::WebMediaPlayer* player) override; |
528 void PlayerGone(blink::WebMediaPlayer* player) override; | 530 void PlayerGone(blink::WebMediaPlayer* player) override; |
529 | 531 |
530 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move | 532 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move |
531 // this back to private member. | 533 // this back to private member. |
532 void OnNavigate(const FrameMsg_Navigate_Params& params); | 534 void OnNavigate(const FrameMsg_Navigate_Params& params); |
533 | 535 |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 // process. | 867 // process. |
866 ManifestManager* manifest_manager_; | 868 ManifestManager* manifest_manager_; |
867 | 869 |
868 // The current accessibility mode. | 870 // The current accessibility mode. |
869 AccessibilityMode accessibility_mode_; | 871 AccessibilityMode accessibility_mode_; |
870 | 872 |
871 // Only valid if |accessibility_mode_| is anything other than | 873 // Only valid if |accessibility_mode_| is anything other than |
872 // AccessibilityModeOff. | 874 // AccessibilityModeOff. |
873 RendererAccessibility* renderer_accessibility_; | 875 RendererAccessibility* renderer_accessibility_; |
874 | 876 |
| 877 scoped_ptr<PermissionsManager> permission_client_; |
| 878 |
875 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 879 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
876 // The external popup for the currently showing select popup. | 880 // The external popup for the currently showing select popup. |
877 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 881 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
878 #endif | 882 #endif |
879 | 883 |
880 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 884 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
881 | 885 |
882 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 886 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
883 }; | 887 }; |
884 | 888 |
885 } // namespace content | 889 } // namespace content |
886 | 890 |
887 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 891 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |