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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 class ExternalPopupMenu; | 65 class ExternalPopupMenu; |
66 class GeolocationDispatcher; | 66 class GeolocationDispatcher; |
67 class ManifestManager; | 67 class ManifestManager; |
68 class MediaStreamDispatcher; | 68 class MediaStreamDispatcher; |
69 class MediaStreamRendererFactory; | 69 class MediaStreamRendererFactory; |
70 class MidiDispatcher; | 70 class MidiDispatcher; |
71 class NotificationPermissionDispatcher; | 71 class NotificationPermissionDispatcher; |
72 class NotificationProvider; | 72 class NotificationProvider; |
73 class PageState; | 73 class PageState; |
74 class PepperPluginInstanceImpl; | 74 class PepperPluginInstanceImpl; |
| 75 class PluginPowerSaverHelper; |
75 class PushMessagingDispatcher; | 76 class PushMessagingDispatcher; |
76 class RendererAccessibility; | 77 class RendererAccessibility; |
77 class RendererCdmManager; | 78 class RendererCdmManager; |
78 class RendererMediaPlayerManager; | 79 class RendererMediaPlayerManager; |
79 class RendererPpapiHost; | 80 class RendererPpapiHost; |
80 class RenderFrameObserver; | 81 class RenderFrameObserver; |
81 class RenderViewImpl; | 82 class RenderViewImpl; |
82 class RenderWidget; | 83 class RenderWidget; |
83 class RenderWidgetFullscreenPepper; | 84 class RenderWidgetFullscreenPepper; |
84 class ScreenOrientationDispatcher; | 85 class ScreenOrientationDispatcher; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // TODO(jam): remove these once the IPC handler moves from RenderView to | 232 // TODO(jam): remove these once the IPC handler moves from RenderView to |
232 // RenderFrame. | 233 // RenderFrame. |
233 void OnImeSetComposition( | 234 void OnImeSetComposition( |
234 const base::string16& text, | 235 const base::string16& text, |
235 const std::vector<blink::WebCompositionUnderline>& underlines, | 236 const std::vector<blink::WebCompositionUnderline>& underlines, |
236 int selection_start, | 237 int selection_start, |
237 int selection_end); | 238 int selection_end); |
238 void OnImeConfirmComposition(const base::string16& text, | 239 void OnImeConfirmComposition(const base::string16& text, |
239 const gfx::Range& replacement_range, | 240 const gfx::Range& replacement_range, |
240 bool keep_selection); | 241 bool keep_selection); |
| 242 |
| 243 PluginPowerSaverHelper* plugin_power_saver_helper(); |
241 #endif // defined(ENABLE_PLUGINS) | 244 #endif // defined(ENABLE_PLUGINS) |
242 | 245 |
243 // May return NULL in some cases, especially if userMediaClient() returns | 246 // May return NULL in some cases, especially if userMediaClient() returns |
244 // NULL. | 247 // NULL. |
245 MediaStreamDispatcher* GetMediaStreamDispatcher(); | 248 MediaStreamDispatcher* GetMediaStreamDispatcher(); |
246 | 249 |
247 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 250 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
248 void DidHideExternalPopupMenu(); | 251 void DidHideExternalPopupMenu(); |
249 #endif | 252 #endif |
250 | 253 |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 // RenderFrameProxy exists only when is_swapped_out_ is true. | 673 // RenderFrameProxy exists only when is_swapped_out_ is true. |
671 // TODO(nasko): This can be removed once we don't have a swapped out state on | 674 // TODO(nasko): This can be removed once we don't have a swapped out state on |
672 // RenderFrame. See https://crbug.com/357747. | 675 // RenderFrame. See https://crbug.com/357747. |
673 RenderFrameProxy* render_frame_proxy_; | 676 RenderFrameProxy* render_frame_proxy_; |
674 bool is_detaching_; | 677 bool is_detaching_; |
675 | 678 |
676 #if defined(ENABLE_PLUGINS) | 679 #if defined(ENABLE_PLUGINS) |
677 // Current text input composition text. Empty if no composition is in | 680 // Current text input composition text. Empty if no composition is in |
678 // progress. | 681 // progress. |
679 base::string16 pepper_composition_text_; | 682 base::string16 pepper_composition_text_; |
| 683 |
| 684 PluginPowerSaverHelper* plugin_power_saver_helper_; |
680 #endif | 685 #endif |
681 | 686 |
682 RendererWebCookieJarImpl cookie_jar_; | 687 RendererWebCookieJarImpl cookie_jar_; |
683 | 688 |
684 // All the registered observers. | 689 // All the registered observers. |
685 ObserverList<RenderFrameObserver> observers_; | 690 ObserverList<RenderFrameObserver> observers_; |
686 | 691 |
687 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 692 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
688 | 693 |
689 // The node that the context menu was pressed over. | 694 // The node that the context menu was pressed over. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 #endif | 788 #endif |
784 | 789 |
785 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 790 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
786 | 791 |
787 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 792 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
788 }; | 793 }; |
789 | 794 |
790 } // namespace content | 795 } // namespace content |
791 | 796 |
792 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 797 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |