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

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

Issue 23847004: "Redirecting URLs to Packaged Apps" implementation: revised (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the comment in app_window_contents.cc Created 7 years, 3 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 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void GetNavigationErrorStrings( 84 virtual void GetNavigationErrorStrings(
85 WebKit::WebFrame* frame, 85 WebKit::WebFrame* frame,
86 const WebKit::WebURLRequest& failed_request, 86 const WebKit::WebURLRequest& failed_request,
87 const WebKit::WebURLError& error, 87 const WebKit::WebURLError& error,
88 std::string* error_html, 88 std::string* error_html,
89 string16* error_description) OVERRIDE; 89 string16* error_description) OVERRIDE;
90 virtual void DeferMediaLoad(content::RenderView* render_view, 90 virtual void DeferMediaLoad(content::RenderView* render_view,
91 const base::Closure& closure) OVERRIDE; 91 const base::Closure& closure) OVERRIDE;
92 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; 92 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE;
93 virtual bool AllowPopup() OVERRIDE; 93 virtual bool AllowPopup() OVERRIDE;
94 virtual bool HandleNavigation(WebKit::WebFrame* frame,
95 const WebKit::WebURLRequest& request,
96 WebKit::WebNavigationType type,
97 WebKit::WebNavigationPolicy default_policy,
98 bool is_redirect) OVERRIDE;
94 virtual bool ShouldFork(WebKit::WebFrame* frame, 99 virtual bool ShouldFork(WebKit::WebFrame* frame,
95 const GURL& url, 100 const GURL& url,
96 const std::string& http_method, 101 const std::string& http_method,
97 bool is_initial_navigation, 102 bool is_initial_navigation,
98 bool is_server_redirect, 103 bool is_server_redirect,
99 bool* send_referrer) OVERRIDE; 104 bool* send_referrer) OVERRIDE;
100 virtual bool WillSendRequest(WebKit::WebFrame* frame, 105 virtual bool WillSendRequest(WebKit::WebFrame* frame,
101 content::PageTransition transition_type, 106 content::PageTransition transition_type,
102 const GURL& url, 107 const GURL& url,
103 const GURL& first_party_for_cookies, 108 const GURL& first_party_for_cookies,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 #endif 211 #endif
207 212
208 #if defined(ENABLE_PLUGINS) 213 #if defined(ENABLE_PLUGINS)
209 std::set<std::string> allowed_file_handle_origins_; 214 std::set<std::string> allowed_file_handle_origins_;
210 #endif 215 #endif
211 }; 216 };
212 217
213 } // namespace chrome 218 } // namespace chrome
214 219
215 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 220 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698