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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 134183002: Pass frame to ChromeContentRendererClient::ShouldSuppressErrorPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix nits Created 6 years, 11 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
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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual bool OverrideCreatePlugin( 74 virtual bool OverrideCreatePlugin(
75 content::RenderFrame* render_frame, 75 content::RenderFrame* render_frame,
76 blink::WebFrame* frame, 76 blink::WebFrame* frame,
77 const blink::WebPluginParams& params, 77 const blink::WebPluginParams& params,
78 blink::WebPlugin** plugin) OVERRIDE; 78 blink::WebPlugin** plugin) OVERRIDE;
79 virtual blink::WebPlugin* CreatePluginReplacement( 79 virtual blink::WebPlugin* CreatePluginReplacement(
80 content::RenderFrame* render_frame, 80 content::RenderFrame* render_frame,
81 const base::FilePath& plugin_path) OVERRIDE; 81 const base::FilePath& plugin_path) OVERRIDE;
82 virtual bool HasErrorPage(int http_status_code, 82 virtual bool HasErrorPage(int http_status_code,
83 std::string* error_domain) OVERRIDE; 83 std::string* error_domain) OVERRIDE;
84 virtual bool ShouldSuppressErrorPage(const GURL& url) OVERRIDE; 84 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame,
85 const GURL& url) OVERRIDE;
85 virtual void GetNavigationErrorStrings( 86 virtual void GetNavigationErrorStrings(
86 blink::WebFrame* frame, 87 blink::WebFrame* frame,
87 const blink::WebURLRequest& failed_request, 88 const blink::WebURLRequest& failed_request,
88 const blink::WebURLError& error, 89 const blink::WebURLError& error,
89 const std::string& accept_languages, 90 const std::string& accept_languages,
90 std::string* error_html, 91 std::string* error_html,
91 base::string16* error_description) OVERRIDE; 92 base::string16* error_description) OVERRIDE;
92 virtual void DeferMediaLoad(content::RenderFrame* render_frame, 93 virtual void DeferMediaLoad(content::RenderFrame* render_frame,
93 const base::Closure& closure) OVERRIDE; 94 const base::Closure& closure) OVERRIDE;
94 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; 95 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 204 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
204 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 205 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
205 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 206 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
206 #if defined(ENABLE_WEBRTC) 207 #if defined(ENABLE_WEBRTC)
207 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 208 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
208 #endif 209 #endif
209 scoped_ptr<SearchBouncer> search_bouncer_; 210 scoped_ptr<SearchBouncer> search_bouncer_;
210 }; 211 };
211 212
212 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 213 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698