OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 const WebKit::WebString& url, | 438 const WebKit::WebString& url, |
439 const WebKit::WebString& title); | 439 const WebKit::WebString& title); |
440 virtual WebKit::WebPageVisibilityState visibilityState() const; | 440 virtual WebKit::WebPageVisibilityState visibilityState() const; |
441 virtual WebKit::WebUserMediaClient* userMediaClient(); | 441 virtual WebKit::WebUserMediaClient* userMediaClient(); |
442 | 442 |
443 // WebKit::WebFrameClient implementation ------------------------------------- | 443 // WebKit::WebFrameClient implementation ------------------------------------- |
444 | 444 |
445 virtual WebKit::WebPlugin* createPlugin( | 445 virtual WebKit::WebPlugin* createPlugin( |
446 WebKit::WebFrame* frame, | 446 WebKit::WebFrame* frame, |
447 const WebKit::WebPluginParams& params); | 447 const WebKit::WebPluginParams& params); |
| 448 virtual WebKit::WebPlugin* createPluginReplacement( |
| 449 WebKit::WebFrame* frame, |
| 450 const WebKit::WebPluginParams& params); |
448 virtual WebKit::WebSharedWorker* createSharedWorker( | 451 virtual WebKit::WebSharedWorker* createSharedWorker( |
449 WebKit::WebFrame* frame, const WebKit::WebURL& url, | 452 WebKit::WebFrame* frame, const WebKit::WebURL& url, |
450 const WebKit::WebString& name, unsigned long long documentId); | 453 const WebKit::WebString& name, unsigned long long documentId); |
451 virtual WebKit::WebMediaPlayer* createMediaPlayer( | 454 virtual WebKit::WebMediaPlayer* createMediaPlayer( |
452 WebKit::WebFrame* frame, | 455 WebKit::WebFrame* frame, |
453 WebKit::WebMediaPlayerClient* client); | 456 WebKit::WebMediaPlayerClient* client); |
454 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( | 457 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( |
455 WebKit::WebFrame* frame, | 458 WebKit::WebFrame* frame, |
456 WebKit::WebApplicationCacheHostClient* client); | 459 WebKit::WebApplicationCacheHostClient* client); |
457 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame); | 460 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 virtual void LoadURLExternally( | 633 virtual void LoadURLExternally( |
631 WebKit::WebFrame* frame, | 634 WebKit::WebFrame* frame, |
632 const WebKit::WebURLRequest& request, | 635 const WebKit::WebURLRequest& request, |
633 WebKit::WebNavigationPolicy policy) OVERRIDE; | 636 WebKit::WebNavigationPolicy policy) OVERRIDE; |
634 | 637 |
635 // webkit_glue::WebPluginPageDelegate implementation ------------------------- | 638 // webkit_glue::WebPluginPageDelegate implementation ------------------------- |
636 | 639 |
637 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 640 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
638 const FilePath& file_path, | 641 const FilePath& file_path, |
639 const std::string& mime_type) OVERRIDE; | 642 const std::string& mime_type) OVERRIDE; |
| 643 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 644 const FilePath& file_path) OVERRIDE; |
640 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 645 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
641 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 646 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
642 virtual void DidMovePlugin( | 647 virtual void DidMovePlugin( |
643 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; | 648 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; |
644 virtual void DidStartLoadingForPlugin() OVERRIDE; | 649 virtual void DidStartLoadingForPlugin() OVERRIDE; |
645 virtual void DidStopLoadingForPlugin() OVERRIDE; | 650 virtual void DidStopLoadingForPlugin() OVERRIDE; |
646 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; | 651 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; |
647 | 652 |
648 // webkit_media::WebMediaPlayerDelegate implementation ----------------------- | 653 // webkit_media::WebMediaPlayerDelegate implementation ----------------------- |
649 | 654 |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1331 // bunch of stuff, you should probably create a helper class and put your | 1336 // bunch of stuff, you should probably create a helper class and put your |
1332 // data and methods on that to avoid bloating RenderView more. You can | 1337 // data and methods on that to avoid bloating RenderView more. You can |
1333 // use the Observer interface to filter IPC messages and receive frame change | 1338 // use the Observer interface to filter IPC messages and receive frame change |
1334 // notifications. | 1339 // notifications. |
1335 // --------------------------------------------------------------------------- | 1340 // --------------------------------------------------------------------------- |
1336 | 1341 |
1337 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1342 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1338 }; | 1343 }; |
1339 | 1344 |
1340 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1345 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |