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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/public/plugin/content_plugin_client.h ('k') | content/public/renderer/render_view.h » ('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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // message describing the error that has occurred. 112 // message describing the error that has occurred.
113 // Either of the out parameters may be not written to in certain cases 113 // Either of the out parameters may be not written to in certain cases
114 // (lack of information on the error code) so the caller should take care to 114 // (lack of information on the error code) so the caller should take care to
115 // initialize the string values with safe defaults before the call. 115 // initialize the string values with safe defaults before the call.
116 virtual void GetNavigationErrorStrings( 116 virtual void GetNavigationErrorStrings(
117 blink::WebFrame* frame, 117 blink::WebFrame* frame,
118 const blink::WebURLRequest& failed_request, 118 const blink::WebURLRequest& failed_request,
119 const blink::WebURLError& error, 119 const blink::WebURLError& error,
120 const std::string& accept_languages, 120 const std::string& accept_languages,
121 std::string* error_html, 121 std::string* error_html,
122 string16* error_description) {} 122 base::string16* error_description) {}
123 123
124 // Allows the embedder to control when media resources are loaded. Embedders 124 // Allows the embedder to control when media resources are loaded. Embedders
125 // can run |closure| immediately if they don't wish to defer media resource 125 // can run |closure| immediately if they don't wish to defer media resource
126 // loading. 126 // loading.
127 virtual void DeferMediaLoad(RenderView* render_view, 127 virtual void DeferMediaLoad(RenderView* render_view,
128 const base::Closure& closure); 128 const base::Closure& closure);
129 129
130 // Allows the embedder to override creating a WebMediaStreamCenter. If it 130 // Allows the embedder to override creating a WebMediaStreamCenter. If it
131 // returns NULL the content layer will create the stream center. 131 // returns NULL the content layer will create the stream center.
132 virtual blink::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter( 132 virtual blink::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter(
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 // Creates a permission client proxy for in-renderer worker. 264 // Creates a permission client proxy for in-renderer worker.
265 virtual blink::WebWorkerPermissionClientProxy* 265 virtual blink::WebWorkerPermissionClientProxy*
266 CreateWorkerPermissionClientProxy(RenderView* render_view, 266 CreateWorkerPermissionClientProxy(RenderView* render_view,
267 blink::WebFrame* frame); 267 blink::WebFrame* frame);
268 }; 268 };
269 269
270 } // namespace content 270 } // namespace content
271 271
272 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 272 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/plugin/content_plugin_client.h ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698