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

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

Issue 10274020: Revert 134620 - Show a replacement plug-in for loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
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
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);
451 virtual WebKit::WebSharedWorker* createSharedWorker( 448 virtual WebKit::WebSharedWorker* createSharedWorker(
452 WebKit::WebFrame* frame, const WebKit::WebURL& url, 449 WebKit::WebFrame* frame, const WebKit::WebURL& url,
453 const WebKit::WebString& name, unsigned long long documentId); 450 const WebKit::WebString& name, unsigned long long documentId);
454 virtual WebKit::WebMediaPlayer* createMediaPlayer( 451 virtual WebKit::WebMediaPlayer* createMediaPlayer(
455 WebKit::WebFrame* frame, 452 WebKit::WebFrame* frame,
456 WebKit::WebMediaPlayerClient* client); 453 WebKit::WebMediaPlayerClient* client);
457 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( 454 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
458 WebKit::WebFrame* frame, 455 WebKit::WebFrame* frame,
459 WebKit::WebApplicationCacheHostClient* client); 456 WebKit::WebApplicationCacheHostClient* client);
460 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame); 457 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame);
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 virtual void LoadURLExternally( 630 virtual void LoadURLExternally(
634 WebKit::WebFrame* frame, 631 WebKit::WebFrame* frame,
635 const WebKit::WebURLRequest& request, 632 const WebKit::WebURLRequest& request,
636 WebKit::WebNavigationPolicy policy) OVERRIDE; 633 WebKit::WebNavigationPolicy policy) OVERRIDE;
637 634
638 // webkit_glue::WebPluginPageDelegate implementation ------------------------- 635 // webkit_glue::WebPluginPageDelegate implementation -------------------------
639 636
640 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 637 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
641 const FilePath& file_path, 638 const FilePath& file_path,
642 const std::string& mime_type) OVERRIDE; 639 const std::string& mime_type) OVERRIDE;
643 virtual WebKit::WebPlugin* CreatePluginReplacement(
644 const FilePath& file_path) OVERRIDE;
645 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 640 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
646 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 641 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
647 virtual void DidMovePlugin( 642 virtual void DidMovePlugin(
648 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; 643 const webkit::npapi::WebPluginGeometry& move) OVERRIDE;
649 virtual void DidStartLoadingForPlugin() OVERRIDE; 644 virtual void DidStartLoadingForPlugin() OVERRIDE;
650 virtual void DidStopLoadingForPlugin() OVERRIDE; 645 virtual void DidStopLoadingForPlugin() OVERRIDE;
651 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; 646 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE;
652 647
653 // webkit_media::WebMediaPlayerDelegate implementation ----------------------- 648 // webkit_media::WebMediaPlayerDelegate implementation -----------------------
654 649
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 // bunch of stuff, you should probably create a helper class and put your 1331 // bunch of stuff, you should probably create a helper class and put your
1337 // data and methods on that to avoid bloating RenderView more. You can 1332 // data and methods on that to avoid bloating RenderView more. You can
1338 // use the Observer interface to filter IPC messages and receive frame change 1333 // use the Observer interface to filter IPC messages and receive frame change
1339 // notifications. 1334 // notifications.
1340 // --------------------------------------------------------------------------- 1335 // ---------------------------------------------------------------------------
1341 1336
1342 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1337 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1343 }; 1338 };
1344 1339
1345 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1340 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698