Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 849723002: Plugin Power Saver: Make PepperPluginInstanceThrottler interface public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 blink::WebLocalFrame* GetWebFrame() override; 275 blink::WebLocalFrame* GetWebFrame() override;
276 WebPreferences& GetWebkitPreferences() override; 276 WebPreferences& GetWebkitPreferences() override;
277 int ShowContextMenu(ContextMenuClient* client, 277 int ShowContextMenu(ContextMenuClient* client,
278 const ContextMenuParams& params) override; 278 const ContextMenuParams& params) override;
279 void CancelContextMenu(int request_id) override; 279 void CancelContextMenu(int request_id) override;
280 blink::WebNode GetContextMenuNode() const override; 280 blink::WebNode GetContextMenuNode() const override;
281 blink::WebPlugin* CreatePlugin( 281 blink::WebPlugin* CreatePlugin(
282 blink::WebFrame* frame, 282 blink::WebFrame* frame,
283 const WebPluginInfo& info, 283 const WebPluginInfo& info,
284 const blink::WebPluginParams& params, 284 const blink::WebPluginParams& params,
285 PluginPowerSaverMode power_saver_mode) override; 285 scoped_ptr<PluginInstanceThrottler> throttler) override;
286 void LoadURLExternally(blink::WebLocalFrame* frame, 286 void LoadURLExternally(blink::WebLocalFrame* frame,
287 const blink::WebURLRequest& request, 287 const blink::WebURLRequest& request,
288 blink::WebNavigationPolicy policy) override; 288 blink::WebNavigationPolicy policy) override;
289 void ExecuteJavaScript(const base::string16& javascript) override; 289 void ExecuteJavaScript(const base::string16& javascript) override;
290 bool IsHidden() override; 290 bool IsHidden() override;
291 ServiceRegistry* GetServiceRegistry() override; 291 ServiceRegistry* GetServiceRegistry() override;
292 #if defined(ENABLE_PLUGINS) 292 #if defined(ENABLE_PLUGINS)
293 void RegisterPeripheralPlugin( 293 void RegisterPeripheralPlugin(
294 const GURL& content_origin, 294 const GURL& content_origin,
295 const base::Closure& unthrottle_callback) override; 295 const base::Closure& unthrottle_callback) override;
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 #endif 836 #endif
837 837
838 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 838 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
839 839
840 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 840 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
841 }; 841 };
842 842
843 } // namespace content 843 } // namespace content
844 844
845 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 845 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698