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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 class Point; | 54 class Point; |
55 class Range; | 55 class Range; |
56 class Rect; | 56 class Rect; |
57 } | 57 } |
58 | 58 |
59 namespace content { | 59 namespace content { |
60 | 60 |
61 class ChildFrameCompositingHelper; | 61 class ChildFrameCompositingHelper; |
62 class ExternalPopupMenu; | 62 class ExternalPopupMenu; |
63 class GeolocationDispatcher; | 63 class GeolocationDispatcher; |
| 64 class ManifestManager; |
64 class MediaStreamDispatcher; | 65 class MediaStreamDispatcher; |
65 class MediaStreamRendererFactory; | 66 class MediaStreamRendererFactory; |
66 class MidiDispatcher; | 67 class MidiDispatcher; |
67 class NotificationPermissionDispatcher; | 68 class NotificationPermissionDispatcher; |
68 class NotificationProvider; | 69 class NotificationProvider; |
69 class PepperPluginInstanceImpl; | 70 class PepperPluginInstanceImpl; |
70 class PushMessagingDispatcher; | 71 class PushMessagingDispatcher; |
71 class RendererAccessibility; | 72 class RendererAccessibility; |
72 class RendererCdmManager; | 73 class RendererCdmManager; |
73 class RendererMediaPlayerManager; | 74 class RendererMediaPlayerManager; |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame, | 431 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame, |
431 const blink::WebURL& url); | 432 const blink::WebURL& url); |
432 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame); | 433 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame); |
433 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value); | 434 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value); |
434 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame, | 435 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame, |
435 int arb_robustness_status_code); | 436 int arb_robustness_status_code); |
436 virtual void forwardInputEvent(const blink::WebInputEvent* event); | 437 virtual void forwardInputEvent(const blink::WebInputEvent* event); |
437 virtual void initializeChildFrame(const blink::WebRect& frame_rect, | 438 virtual void initializeChildFrame(const blink::WebRect& frame_rect, |
438 float scale_factor); | 439 float scale_factor); |
439 virtual blink::WebScreenOrientationClient* webScreenOrientationClient(); | 440 virtual blink::WebScreenOrientationClient* webScreenOrientationClient(); |
| 441 virtual void didChangeManifest(blink::WebLocalFrame*); |
| 442 |
440 | 443 |
441 // WebMediaPlayerDelegate implementation: | 444 // WebMediaPlayerDelegate implementation: |
442 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; | 445 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; |
443 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; | 446 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; |
444 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; | 447 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; |
445 | 448 |
446 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move | 449 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move |
447 // this back to private member. | 450 // this back to private member. |
448 void OnNavigate(const FrameMsg_Navigate_Params& params); | 451 void OnNavigate(const FrameMsg_Navigate_Params& params); |
449 | 452 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 | 722 |
720 // The push messaging dispatcher attached to this frame, lazily initialized. | 723 // The push messaging dispatcher attached to this frame, lazily initialized. |
721 PushMessagingDispatcher* push_messaging_dispatcher_; | 724 PushMessagingDispatcher* push_messaging_dispatcher_; |
722 | 725 |
723 ServiceRegistryImpl service_registry_; | 726 ServiceRegistryImpl service_registry_; |
724 | 727 |
725 // The screen orientation dispatcher attached to the frame, lazily | 728 // The screen orientation dispatcher attached to the frame, lazily |
726 // initialized. | 729 // initialized. |
727 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 730 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
728 | 731 |
| 732 // The Manifest Manager handles the manifest requests from the browser |
| 733 // process. |
| 734 ManifestManager* manifest_manager_; |
| 735 |
729 // The current accessibility mode. | 736 // The current accessibility mode. |
730 AccessibilityMode accessibility_mode_; | 737 AccessibilityMode accessibility_mode_; |
731 | 738 |
732 // Only valid if |accessibility_mode_| is anything other than | 739 // Only valid if |accessibility_mode_| is anything other than |
733 // AccessibilityModeOff. | 740 // AccessibilityModeOff. |
734 RendererAccessibility* renderer_accessibility_; | 741 RendererAccessibility* renderer_accessibility_; |
735 | 742 |
736 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 743 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
737 // The external popup for the currently showing select popup. | 744 // The external popup for the currently showing select popup. |
738 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 745 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
739 #endif | 746 #endif |
740 | 747 |
741 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 748 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
742 | 749 |
743 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 750 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
744 }; | 751 }; |
745 | 752 |
746 } // namespace content | 753 } // namespace content |
747 | 754 |
748 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 755 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |