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

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

Issue 9834092: Content shell: Use only public API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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/shell/shell.h" 9 #include "content/shell/shell.h"
10 #include "content/shell/shell_browser_main_parts.h" 10 #include "content/shell/shell_browser_main_parts.h"
11 #include "content/shell/shell_devtools_delegate.h" 11 #include "content/shell/shell_devtools_delegate.h"
12 #include "content/shell/shell_render_view_host_observer.h" 12 #include "content/shell/shell_render_view_host_observer.h"
13 #include "content/shell/shell_switches.h" 13 #include "content/shell/shell_switches.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 15 #include "third_party/skia/include/core/SkBitmap.h"
16 16
17 #if defined(OS_WIN)
18 #include "content/browser/tab_contents/tab_contents.h"
19 #include "content/browser/tab_contents/tab_contents_view_win.h"
20 #include "content/common/view_messages.h"
21 #elif defined(OS_LINUX)
22 #include "content/browser/tab_contents/tab_contents_view_gtk.h"
23 #elif defined(OS_MACOSX)
24 #include "content/browser/tab_contents/web_contents_view_mac.h"
25 #endif
26
27 namespace content { 17 namespace content {
28 18
29 ShellContentBrowserClient::ShellContentBrowserClient() 19 ShellContentBrowserClient::ShellContentBrowserClient()
30 : shell_browser_main_parts_(NULL) { 20 : shell_browser_main_parts_(NULL) {
31 } 21 }
32 22
33 ShellContentBrowserClient::~ShellContentBrowserClient() { 23 ShellContentBrowserClient::~ShellContentBrowserClient() {
34 } 24 }
35 25
36 BrowserMainParts* ShellContentBrowserClient::CreateBrowserMainParts( 26 BrowserMainParts* ShellContentBrowserClient::CreateBrowserMainParts(
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 343 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
354 return NULL; 344 return NULL;
355 } 345 }
356 #endif 346 #endif
357 347
358 ShellBrowserContext* ShellContentBrowserClient::browser_context() { 348 ShellBrowserContext* ShellContentBrowserClient::browser_context() {
359 return shell_browser_main_parts_->browser_context(); 349 return shell_browser_main_parts_->browser_context();
360 } 350 }
361 351
362 } // namespace content 352 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_browser_main_parts.cc ('k') | content/shell/shell_download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698