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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 15994016: Support custom window features, such as 'moo=foo'. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 6 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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 } 198 }
199 199
200 WebKit::WebNotificationPresenter::Permission 200 WebKit::WebNotificationPresenter::Permission
201 ContentBrowserClient::CheckDesktopNotificationPermission( 201 ContentBrowserClient::CheckDesktopNotificationPermission(
202 const GURL& source_origin, 202 const GURL& source_origin,
203 ResourceContext* context, 203 ResourceContext* context,
204 int render_process_id) { 204 int render_process_id) {
205 return WebKit::WebNotificationPresenter::PermissionAllowed; 205 return WebKit::WebNotificationPresenter::PermissionAllowed;
206 } 206 }
207 207
208 bool ContentBrowserClient::CanCreateWindow(const GURL& opener_url, 208 bool ContentBrowserClient::CanCreateWindow(
209 const GURL& origin, 209 const GURL& opener_url,
210 WindowContainerType container_type, 210 const GURL& origin,
211 ResourceContext* context, 211 WindowContainerType container_type,
212 int render_process_id, 212 const WebKit::WindowFeatures& web_window_features,
213 bool* no_javascript_access) { 213 ResourceContext* context,
214 int render_process_id,
215 bool* no_javascript_access) {
214 *no_javascript_access = false; 216 *no_javascript_access = false;
215 return true; 217 return true;
216 } 218 }
217 219
218 std::string ContentBrowserClient::GetWorkerProcessTitle( 220 std::string ContentBrowserClient::GetWorkerProcessTitle(
219 const GURL& url, ResourceContext* context) { 221 const GURL& url, ResourceContext* context) {
220 return std::string(); 222 return std::string();
221 } 223 }
222 224
223 SpeechRecognitionManagerDelegate* 225 SpeechRecognitionManagerDelegate*
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 #endif 280 #endif
279 281
280 #if defined(USE_NSS) 282 #if defined(USE_NSS)
281 crypto::CryptoModuleBlockingPasswordDelegate* 283 crypto::CryptoModuleBlockingPasswordDelegate*
282 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 284 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
283 return NULL; 285 return NULL;
284 } 286 }
285 #endif 287 #endif
286 288
287 } // namespace content 289 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698