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

Side by Side Diff: content/shell/shell_content_browser_client.cc

Issue 9980002: Mac content shell: HTTP auth. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/shell/shell_content_browser_client.h" 5 #include "content/shell/shell_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "content/public/browser/resource_dispatcher_host.h"
9 #include "content/shell/shell.h" 10 #include "content/shell/shell.h"
10 #include "content/shell/shell_browser_context.h" 11 #include "content/shell/shell_browser_context.h"
11 #include "content/shell/shell_browser_main_parts.h" 12 #include "content/shell/shell_browser_main_parts.h"
12 #include "content/shell/shell_devtools_delegate.h" 13 #include "content/shell/shell_devtools_delegate.h"
13 #include "content/shell/shell_render_view_host_observer.h" 14 #include "content/shell/shell_render_view_host_observer.h"
15 #include "content/shell/shell_resource_dispatcher_host_delegate.h"
14 #include "content/shell/shell_switches.h" 16 #include "content/shell/shell_switches.h"
15 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 18 #include "third_party/skia/include/core/SkBitmap.h"
17 19
18 namespace content { 20 namespace content {
19 21
20 ShellContentBrowserClient::ShellContentBrowserClient() 22 ShellContentBrowserClient::ShellContentBrowserClient()
21 : shell_browser_main_parts_(NULL) { 23 : shell_browser_main_parts_(NULL) {
22 } 24 }
23 25
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 *no_javascript_access = false; 265 *no_javascript_access = false;
264 return true; 266 return true;
265 } 267 }
266 268
267 std::string ShellContentBrowserClient::GetWorkerProcessTitle( 269 std::string ShellContentBrowserClient::GetWorkerProcessTitle(
268 const GURL& url, content::ResourceContext* context) { 270 const GURL& url, content::ResourceContext* context) {
269 return std::string(); 271 return std::string();
270 } 272 }
271 273
272 void ShellContentBrowserClient::ResourceDispatcherHostCreated() { 274 void ShellContentBrowserClient::ResourceDispatcherHostCreated() {
275 resource_dispatcher_host_delegate_.reset(
276 new ShellResourceDispatcherHostDelegate());
277 ResourceDispatcherHost::Get()->SetDelegate(
278 resource_dispatcher_host_delegate_.get());
273 } 279 }
274 280
275 SpeechRecognitionManagerDelegate* 281 SpeechRecognitionManagerDelegate*
276 ShellContentBrowserClient::GetSpeechRecognitionManagerDelegate() { 282 ShellContentBrowserClient::GetSpeechRecognitionManagerDelegate() {
277 return NULL; 283 return NULL;
278 } 284 }
279 285
280 ui::Clipboard* ShellContentBrowserClient::GetClipboard() { 286 ui::Clipboard* ShellContentBrowserClient::GetClipboard() {
281 return shell_browser_main_parts_->GetClipboard(); 287 return shell_browser_main_parts_->GetClipboard();
282 } 288 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 352 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
347 return NULL; 353 return NULL;
348 } 354 }
349 #endif 355 #endif
350 356
351 ShellBrowserContext* ShellContentBrowserClient::browser_context() { 357 ShellBrowserContext* ShellContentBrowserClient::browser_context() {
352 return ShellBrowserContext::GetInstance(); 358 return ShellBrowserContext::GetInstance();
353 } 359 }
354 360
355 } // namespace content 361 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698