Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 // ContentBrowserClient overrides. | 25 // ContentBrowserClient overrides. |
| 26 virtual BrowserMainParts* CreateBrowserMainParts( | 26 virtual BrowserMainParts* CreateBrowserMainParts( |
| 27 const MainFunctionParams& parameters) OVERRIDE; | 27 const MainFunctionParams& parameters) OVERRIDE; |
| 28 virtual void RenderViewHostCreated( | 28 virtual void RenderViewHostCreated( |
| 29 RenderViewHost* render_view_host) OVERRIDE; | 29 RenderViewHost* render_view_host) OVERRIDE; |
| 30 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 30 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 31 int child_process_id) OVERRIDE; | 31 int child_process_id) OVERRIDE; |
| 32 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 32 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 34 virtual std::string GetDefaultDownloadName() OVERRIDE; | 34 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 35 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | |
| 36 content::WebContents* web_contents) OVERRIDE; | |
|
jochen (gone - plz use gerrit)
2012/08/31 20:58:58
no content::
Shouqun Liu
2012/08/31 21:34:20
Done.
| |
| 35 | 37 |
| 36 #if defined(OS_ANDROID) | 38 #if defined(OS_ANDROID) |
| 37 virtual void GetAdditionalMappedFilesForChildProcess( | 39 virtual void GetAdditionalMappedFilesForChildProcess( |
| 38 const CommandLine& command_line, | 40 const CommandLine& command_line, |
| 39 base::GlobalDescriptors::Mapping* mappings) OVERRIDE; | 41 base::GlobalDescriptors::Mapping* mappings) OVERRIDE; |
| 40 #endif | 42 #endif |
| 41 | 43 |
| 42 ShellBrowserContext* browser_context(); | 44 ShellBrowserContext* browser_context(); |
| 43 ShellBrowserContext* off_the_record_browser_context(); | 45 ShellBrowserContext* off_the_record_browser_context(); |
| 44 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 46 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
| 45 return resource_dispatcher_host_delegate_.get(); | 47 return resource_dispatcher_host_delegate_.get(); |
| 46 } | 48 } |
| 47 ShellBrowserMainParts* shell_browser_main_parts() { | 49 ShellBrowserMainParts* shell_browser_main_parts() { |
| 48 return shell_browser_main_parts_; | 50 return shell_browser_main_parts_; |
| 49 } | 51 } |
| 50 | 52 |
| 51 private: | 53 private: |
| 52 scoped_ptr<ShellResourceDispatcherHostDelegate> | 54 scoped_ptr<ShellResourceDispatcherHostDelegate> |
| 53 resource_dispatcher_host_delegate_; | 55 resource_dispatcher_host_delegate_; |
| 54 | 56 |
| 55 ShellBrowserMainParts* shell_browser_main_parts_; | 57 ShellBrowserMainParts* shell_browser_main_parts_; |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 } // namespace content | 60 } // namespace content |
| 59 | 61 |
| 60 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 62 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |