| 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 11 matching lines...) Expand all Loading... |
| 22 ShellContentBrowserClient(); | 22 ShellContentBrowserClient(); |
| 23 virtual ~ShellContentBrowserClient(); | 23 virtual ~ShellContentBrowserClient(); |
| 24 | 24 |
| 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 OverrideWebkitPrefs(RenderViewHost* render_view_host, |
| 33 const GURL& url, |
| 34 webkit_glue::WebPreferences* prefs) OVERRIDE; |
| 32 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 35 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 36 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 34 virtual std::string GetDefaultDownloadName() OVERRIDE; | 37 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 35 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | 38 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 36 WebContents* web_contents) OVERRIDE; | 39 WebContents* web_contents) OVERRIDE; |
| 37 | 40 |
| 38 #if defined(OS_ANDROID) | 41 #if defined(OS_ANDROID) |
| 39 virtual void GetAdditionalMappedFilesForChildProcess( | 42 virtual void GetAdditionalMappedFilesForChildProcess( |
| 40 const CommandLine& command_line, | 43 const CommandLine& command_line, |
| 41 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 44 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 53 private: | 56 private: |
| 54 scoped_ptr<ShellResourceDispatcherHostDelegate> | 57 scoped_ptr<ShellResourceDispatcherHostDelegate> |
| 55 resource_dispatcher_host_delegate_; | 58 resource_dispatcher_host_delegate_; |
| 56 | 59 |
| 57 ShellBrowserMainParts* shell_browser_main_parts_; | 60 ShellBrowserMainParts* shell_browser_main_parts_; |
| 58 }; | 61 }; |
| 59 | 62 |
| 60 } // namespace content | 63 } // namespace content |
| 61 | 64 |
| 62 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 65 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |