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

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
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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // RenderFrame implementation: 272 // RenderFrame implementation:
273 RenderView* GetRenderView() override; 273 RenderView* GetRenderView() override;
274 int GetRoutingID() override; 274 int GetRoutingID() override;
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(blink::WebFrame* frame,
282 blink::WebFrame* frame, 282 const WebPluginInfo& info,
283 const WebPluginInfo& info, 283 const blink::WebPluginParams& params,
284 const blink::WebPluginParams& params, 284 PluginInstanceThrottler* throttler) override;
285 PluginPowerSaverMode power_saver_mode) override;
286 void LoadURLExternally(blink::WebLocalFrame* frame, 285 void LoadURLExternally(blink::WebLocalFrame* frame,
287 const blink::WebURLRequest& request, 286 const blink::WebURLRequest& request,
288 blink::WebNavigationPolicy policy) override; 287 blink::WebNavigationPolicy policy) override;
289 void ExecuteJavaScript(const base::string16& javascript) override; 288 void ExecuteJavaScript(const base::string16& javascript) override;
290 bool IsHidden() override; 289 bool IsHidden() override;
291 ServiceRegistry* GetServiceRegistry() override; 290 ServiceRegistry* GetServiceRegistry() override;
292 #if defined(ENABLE_PLUGINS) 291 #if defined(ENABLE_PLUGINS)
293 void RegisterPeripheralPlugin( 292 void RegisterPeripheralPlugin(
294 const GURL& content_origin, 293 const GURL& content_origin,
295 const base::Closure& unthrottle_callback) override; 294 const base::Closure& unthrottle_callback) override;
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 #endif 835 #endif
837 836
838 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 837 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
839 838
840 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 839 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
841 }; 840 };
842 841
843 } // namespace content 842 } // namespace content
844 843
845 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 844 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698