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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |