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

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: rebase 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
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_login_dialog.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 #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_main_parts.h" 11 #include "content/shell/shell_browser_main_parts.h"
11 #include "content/shell/shell_devtools_delegate.h" 12 #include "content/shell/shell_devtools_delegate.h"
12 #include "content/shell/shell_render_view_host_observer.h" 13 #include "content/shell/shell_render_view_host_observer.h"
14 #include "content/shell/shell_resource_dispatcher_host_delegate.h"
13 #include "content/shell/shell_switches.h" 15 #include "content/shell/shell_switches.h"
14 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 17 #include "third_party/skia/include/core/SkBitmap.h"
16 18
17 namespace content { 19 namespace content {
18 20
19 ShellContentBrowserClient::ShellContentBrowserClient() 21 ShellContentBrowserClient::ShellContentBrowserClient()
20 : shell_browser_main_parts_(NULL) { 22 : shell_browser_main_parts_(NULL) {
21 } 23 }
22 24
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 *no_javascript_access = false; 264 *no_javascript_access = false;
263 return true; 265 return true;
264 } 266 }
265 267
266 std::string ShellContentBrowserClient::GetWorkerProcessTitle( 268 std::string ShellContentBrowserClient::GetWorkerProcessTitle(
267 const GURL& url, content::ResourceContext* context) { 269 const GURL& url, content::ResourceContext* context) {
268 return std::string(); 270 return std::string();
269 } 271 }
270 272
271 void ShellContentBrowserClient::ResourceDispatcherHostCreated() { 273 void ShellContentBrowserClient::ResourceDispatcherHostCreated() {
274 resource_dispatcher_host_delegate_.reset(
275 new ShellResourceDispatcherHostDelegate());
276 ResourceDispatcherHost::Get()->SetDelegate(
277 resource_dispatcher_host_delegate_.get());
272 } 278 }
273 279
274 SpeechRecognitionManagerDelegate* 280 SpeechRecognitionManagerDelegate*
275 ShellContentBrowserClient::GetSpeechRecognitionManagerDelegate() { 281 ShellContentBrowserClient::GetSpeechRecognitionManagerDelegate() {
276 return NULL; 282 return NULL;
277 } 283 }
278 284
279 ui::Clipboard* ShellContentBrowserClient::GetClipboard() { 285 ui::Clipboard* ShellContentBrowserClient::GetClipboard() {
280 return shell_browser_main_parts_->GetClipboard(); 286 return shell_browser_main_parts_->GetClipboard();
281 } 287 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 351 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
346 return NULL; 352 return NULL;
347 } 353 }
348 #endif 354 #endif
349 355
350 ShellBrowserContext* ShellContentBrowserClient::browser_context() { 356 ShellBrowserContext* ShellContentBrowserClient::browser_context() {
351 return shell_browser_main_parts_->browser_context(); 357 return shell_browser_main_parts_->browser_context();
352 } 358 }
353 359
354 } // namespace content 360 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_login_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698