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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // TODO(jam): remove these once the IPC handler moves from RenderView to | 236 // TODO(jam): remove these once the IPC handler moves from RenderView to |
236 // RenderFrame. | 237 // RenderFrame. |
237 void OnImeSetComposition( | 238 void OnImeSetComposition( |
238 const base::string16& text, | 239 const base::string16& text, |
239 const std::vector<blink::WebCompositionUnderline>& underlines, | 240 const std::vector<blink::WebCompositionUnderline>& underlines, |
240 int selection_start, | 241 int selection_start, |
241 int selection_end); | 242 int selection_end); |
242 void OnImeConfirmComposition(const base::string16& text, | 243 void OnImeConfirmComposition(const base::string16& text, |
243 const gfx::Range& replacement_range, | 244 const gfx::Range& replacement_range, |
244 bool keep_selection); | 245 bool keep_selection); |
| 246 |
| 247 PluginPowerSaverHelper* plugin_power_saver_helper(); |
245 #endif // defined(ENABLE_PLUGINS) | 248 #endif // defined(ENABLE_PLUGINS) |
246 | 249 |
247 // May return NULL in some cases, especially if userMediaClient() returns | 250 // May return NULL in some cases, especially if userMediaClient() returns |
248 // NULL. | 251 // NULL. |
249 MediaStreamDispatcher* GetMediaStreamDispatcher(); | 252 MediaStreamDispatcher* GetMediaStreamDispatcher(); |
250 | 253 |
251 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 254 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
252 void DidHideExternalPopupMenu(); | 255 void DidHideExternalPopupMenu(); |
253 #endif | 256 #endif |
254 | 257 |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 // If this frame was created to replace a proxy, this will store the routing | 683 // If this frame was created to replace a proxy, this will store the routing |
681 // id of the proxy to replace at commit-time, at which time it will be | 684 // id of the proxy to replace at commit-time, at which time it will be |
682 // cleared. | 685 // cleared. |
683 // TODO(creis): Remove this after switching to PlzNavigate. | 686 // TODO(creis): Remove this after switching to PlzNavigate. |
684 int proxy_routing_id_; | 687 int proxy_routing_id_; |
685 | 688 |
686 #if defined(ENABLE_PLUGINS) | 689 #if defined(ENABLE_PLUGINS) |
687 // Current text input composition text. Empty if no composition is in | 690 // Current text input composition text. Empty if no composition is in |
688 // progress. | 691 // progress. |
689 base::string16 pepper_composition_text_; | 692 base::string16 pepper_composition_text_; |
| 693 |
| 694 PluginPowerSaverHelper* plugin_power_saver_helper_; |
690 #endif | 695 #endif |
691 | 696 |
692 RendererWebCookieJarImpl cookie_jar_; | 697 RendererWebCookieJarImpl cookie_jar_; |
693 | 698 |
694 // All the registered observers. | 699 // All the registered observers. |
695 ObserverList<RenderFrameObserver> observers_; | 700 ObserverList<RenderFrameObserver> observers_; |
696 | 701 |
697 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 702 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
698 | 703 |
699 // The node that the context menu was pressed over. | 704 // The node that the context menu was pressed over. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 #endif | 798 #endif |
794 | 799 |
795 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 800 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
796 | 801 |
797 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 802 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
798 }; | 803 }; |
799 | 804 |
800 } // namespace content | 805 } // namespace content |
801 | 806 |
802 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 807 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |