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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 class ExternalPopupMenu; | 77 class ExternalPopupMenu; |
78 class GeolocationDispatcher; | 78 class GeolocationDispatcher; |
79 class ManifestManager; | 79 class ManifestManager; |
80 class MediaStreamDispatcher; | 80 class MediaStreamDispatcher; |
81 class MediaStreamRendererFactory; | 81 class MediaStreamRendererFactory; |
82 class MediaPermissionDispatcher; | 82 class MediaPermissionDispatcher; |
83 class MidiDispatcher; | 83 class MidiDispatcher; |
84 class NotificationPermissionDispatcher; | 84 class NotificationPermissionDispatcher; |
85 class PageState; | 85 class PageState; |
86 class PepperPluginInstanceImpl; | 86 class PepperPluginInstanceImpl; |
| 87 class PermissionManager; |
87 class PresentationDispatcher; | 88 class PresentationDispatcher; |
88 class PushMessagingDispatcher; | 89 class PushMessagingDispatcher; |
89 class RendererAccessibility; | 90 class RendererAccessibility; |
90 class RendererCdmManager; | 91 class RendererCdmManager; |
91 class RendererMediaPlayerManager; | 92 class RendererMediaPlayerManager; |
92 class RendererPpapiHost; | 93 class RendererPpapiHost; |
93 class RenderFrameObserver; | 94 class RenderFrameObserver; |
94 class RenderViewImpl; | 95 class RenderViewImpl; |
95 class RenderWidget; | 96 class RenderWidget; |
96 class RenderWidgetFullscreenPepper; | 97 class RenderWidgetFullscreenPepper; |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 int identifier, | 512 int identifier, |
512 int match_index, | 513 int match_index, |
513 const blink::WebAXObject& start_object, | 514 const blink::WebAXObject& start_object, |
514 int start_offset, | 515 int start_offset, |
515 const blink::WebAXObject& end_object, | 516 const blink::WebAXObject& end_object, |
516 int end_offset); | 517 int end_offset); |
517 virtual void didChangeManifest(blink::WebLocalFrame*); | 518 virtual void didChangeManifest(blink::WebLocalFrame*); |
518 virtual void didChangeDefaultPresentation(blink::WebLocalFrame*); | 519 virtual void didChangeDefaultPresentation(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 CommonNavigationParams& common_params, | 534 void OnNavigate(const CommonNavigationParams& common_params, |
533 const StartNavigationParams& start_params, | 535 const StartNavigationParams& start_params, |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 // process. | 873 // process. |
872 ManifestManager* manifest_manager_; | 874 ManifestManager* manifest_manager_; |
873 | 875 |
874 // The current accessibility mode. | 876 // The current accessibility mode. |
875 AccessibilityMode accessibility_mode_; | 877 AccessibilityMode accessibility_mode_; |
876 | 878 |
877 // Only valid if |accessibility_mode_| is anything other than | 879 // Only valid if |accessibility_mode_| is anything other than |
878 // AccessibilityModeOff. | 880 // AccessibilityModeOff. |
879 RendererAccessibility* renderer_accessibility_; | 881 RendererAccessibility* renderer_accessibility_; |
880 | 882 |
| 883 scoped_ptr<PermissionManager> permission_client_; |
| 884 |
881 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 885 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
882 // The external popup for the currently showing select popup. | 886 // The external popup for the currently showing select popup. |
883 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 887 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
884 #endif | 888 #endif |
885 | 889 |
886 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 890 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
887 | 891 |
888 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 892 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
889 }; | 893 }; |
890 | 894 |
891 } // namespace content | 895 } // namespace content |
892 | 896 |
893 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 897 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |