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

Side by Side Diff: content/shell/shell_content_renderer_client.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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/shell_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 virtual void RenderThreadStarted() OVERRIDE; 21 virtual void RenderThreadStarted() OVERRIDE;
22 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; 22 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE;
23 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; 23 virtual void SetNumberOfViews(int number_of_views) OVERRIDE;
24 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; 24 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE;
25 virtual std::string GetDefaultEncoding() OVERRIDE; 25 virtual std::string GetDefaultEncoding() OVERRIDE;
26 virtual bool OverrideCreatePlugin( 26 virtual bool OverrideCreatePlugin(
27 RenderView* render_view, 27 RenderView* render_view,
28 WebKit::WebFrame* frame, 28 WebKit::WebFrame* frame,
29 const WebKit::WebPluginParams& params, 29 const WebKit::WebPluginParams& params,
30 WebKit::WebPlugin** plugin) OVERRIDE; 30 WebKit::WebPlugin** plugin) OVERRIDE;
31 virtual WebKit::WebPlugin* CreatePluginReplacement(
32 RenderView* render_view,
33 const FilePath& plugin_path) OVERRIDE;
34 virtual bool HasErrorPage(int http_status_code, 31 virtual bool HasErrorPage(int http_status_code,
35 std::string* error_domain) OVERRIDE; 32 std::string* error_domain) OVERRIDE;
36 virtual void GetNavigationErrorStrings( 33 virtual void GetNavigationErrorStrings(
37 const WebKit::WebURLRequest& failed_request, 34 const WebKit::WebURLRequest& failed_request,
38 const WebKit::WebURLError& error, 35 const WebKit::WebURLError& error,
39 std::string* error_html, 36 std::string* error_html,
40 string16* error_description) OVERRIDE; 37 string16* error_description) OVERRIDE;
41 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( 38 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer(
42 RenderView* render_view, 39 RenderView* render_view,
43 WebKit::WebFrame* frame, 40 WebKit::WebFrame* frame,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void RegisterPPAPIInterfaceFactories( 80 virtual void RegisterPPAPIInterfaceFactories(
84 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; 81 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
85 82
86 private: 83 private:
87 scoped_ptr<ShellRenderProcessObserver> shell_observer_; 84 scoped_ptr<ShellRenderProcessObserver> shell_observer_;
88 }; 85 };
89 86
90 } // namespace content 87 } // namespace content
91 88
92 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 89 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698