| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 void LoadURLExternally(blink::WebLocalFrame* frame, | 308 void LoadURLExternally(blink::WebLocalFrame* frame, |
| 309 const blink::WebURLRequest& request, | 309 const blink::WebURLRequest& request, |
| 310 blink::WebNavigationPolicy policy) override; | 310 blink::WebNavigationPolicy policy) override; |
| 311 void ExecuteJavaScript(const base::string16& javascript) override; | 311 void ExecuteJavaScript(const base::string16& javascript) override; |
| 312 bool IsHidden() override; | 312 bool IsHidden() override; |
| 313 ServiceRegistry* GetServiceRegistry() override; | 313 ServiceRegistry* GetServiceRegistry() override; |
| 314 #if defined(ENABLE_PLUGINS) | 314 #if defined(ENABLE_PLUGINS) |
| 315 void RegisterPeripheralPlugin( | 315 void RegisterPeripheralPlugin( |
| 316 const GURL& content_origin, | 316 const GURL& content_origin, |
| 317 const base::Closure& unthrottle_callback) override; | 317 const base::Closure& unthrottle_callback) override; |
| 318 bool ShouldThrottleContent(const blink::WebPluginParams& params, | 318 PluginPowerSaverHelper* plugin_power_saver_helper() { |
| 319 const GURL& page_frame_url, | 319 return plugin_power_saver_helper_; |
| 320 GURL* poster_image, | 320 } |
| 321 bool* cross_origin_main_content) const override; | |
| 322 void WhitelistContentOrigin(const GURL& content_origin) override; | |
| 323 #endif | 321 #endif |
| 324 bool IsFTPDirectoryListing() override; | 322 bool IsFTPDirectoryListing() override; |
| 325 void AttachGuest(int element_instance_id) override; | 323 void AttachGuest(int element_instance_id) override; |
| 326 void DetachGuest(int element_instance_id) override; | 324 void DetachGuest(int element_instance_id) override; |
| 327 void SetSelectedText(const base::string16& selection_text, | 325 void SetSelectedText(const base::string16& selection_text, |
| 328 size_t offset, | 326 size_t offset, |
| 329 const gfx::Range& range) override; | 327 const gfx::Range& range) override; |
| 330 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, | 328 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, |
| 331 v8::Handle<v8::Context> context) override; | 329 v8::Handle<v8::Context> context) override; |
| 332 | 330 |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 #endif | 871 #endif |
| 874 | 872 |
| 875 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 873 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 876 | 874 |
| 877 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 875 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 878 }; | 876 }; |
| 879 | 877 |
| 880 } // namespace content | 878 } // namespace content |
| 881 | 879 |
| 882 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 880 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |