| 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(); |
| 440 virtual bool isControlledByServiceWorker(); | 441 virtual bool isControlledByServiceWorker(); |
| 441 virtual void postAccessibilityEvent(const blink::WebAXObject& obj, | 442 virtual void postAccessibilityEvent(const blink::WebAXObject& obj, |
| 442 blink::WebAXEvent event); | 443 blink::WebAXEvent event); |
| 444 virtual void didChangeManifest(blink::WebLocalFrame*); |
| 443 | 445 |
| 444 // WebMediaPlayerDelegate implementation: | 446 // WebMediaPlayerDelegate implementation: |
| 445 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; | 447 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; |
| 446 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; | 448 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; |
| 447 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; | 449 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; |
| 448 | 450 |
| 449 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move | 451 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move |
| 450 // this back to private member. | 452 // this back to private member. |
| 451 void OnNavigate(const FrameMsg_Navigate_Params& params); | 453 void OnNavigate(const FrameMsg_Navigate_Params& params); |
| 452 | 454 |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 | 724 |
| 723 // The push messaging dispatcher attached to this frame, lazily initialized. | 725 // The push messaging dispatcher attached to this frame, lazily initialized. |
| 724 PushMessagingDispatcher* push_messaging_dispatcher_; | 726 PushMessagingDispatcher* push_messaging_dispatcher_; |
| 725 | 727 |
| 726 ServiceRegistryImpl service_registry_; | 728 ServiceRegistryImpl service_registry_; |
| 727 | 729 |
| 728 // The screen orientation dispatcher attached to the frame, lazily | 730 // The screen orientation dispatcher attached to the frame, lazily |
| 729 // initialized. | 731 // initialized. |
| 730 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 732 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
| 731 | 733 |
| 734 // The Manifest Manager handles the manifest requests from the browser |
| 735 // process. |
| 736 ManifestManager* manifest_manager_; |
| 737 |
| 732 // The current accessibility mode. | 738 // The current accessibility mode. |
| 733 AccessibilityMode accessibility_mode_; | 739 AccessibilityMode accessibility_mode_; |
| 734 | 740 |
| 735 // Only valid if |accessibility_mode_| is anything other than | 741 // Only valid if |accessibility_mode_| is anything other than |
| 736 // AccessibilityModeOff. | 742 // AccessibilityModeOff. |
| 737 RendererAccessibility* renderer_accessibility_; | 743 RendererAccessibility* renderer_accessibility_; |
| 738 | 744 |
| 739 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 745 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 740 // The external popup for the currently showing select popup. | 746 // The external popup for the currently showing select popup. |
| 741 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 747 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
| 742 #endif | 748 #endif |
| 743 | 749 |
| 744 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 750 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 745 | 751 |
| 746 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 752 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 747 }; | 753 }; |
| 748 | 754 |
| 749 } // namespace content | 755 } // namespace content |
| 750 | 756 |
| 751 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 757 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |