| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 virtual ~ShellContentBrowserClient(); | 24 virtual ~ShellContentBrowserClient(); |
| 25 | 25 |
| 26 // content::ContentBrowserClient overrides. | 26 // content::ContentBrowserClient overrides. |
| 27 virtual BrowserMainParts* CreateBrowserMainParts( | 27 virtual BrowserMainParts* CreateBrowserMainParts( |
| 28 const content::MainFunctionParams& parameters) OVERRIDE; | 28 const content::MainFunctionParams& parameters) OVERRIDE; |
| 29 virtual void RenderViewHostCreated( | 29 virtual void RenderViewHostCreated( |
| 30 RenderViewHost* render_view_host) OVERRIDE; | 30 RenderViewHost* render_view_host) OVERRIDE; |
| 31 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 31 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 32 int child_process_id) OVERRIDE; | 32 int child_process_id) OVERRIDE; |
| 33 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 33 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 34 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 34 virtual std::string GetDefaultDownloadName() OVERRIDE; | 35 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 35 | 36 |
| 36 ShellBrowserContext* browser_context(); | 37 ShellBrowserContext* browser_context(); |
| 37 | 38 |
| 38 private: | 39 private: |
| 39 scoped_ptr<ShellResourceDispatcherHostDelegate> | 40 scoped_ptr<ShellResourceDispatcherHostDelegate> |
| 40 resource_dispatcher_host_delegate_; | 41 resource_dispatcher_host_delegate_; |
| 41 | 42 |
| 42 ShellBrowserMainParts* shell_browser_main_parts_; | 43 ShellBrowserMainParts* shell_browser_main_parts_; |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 } // namespace content | 46 } // namespace content |
| 46 | 47 |
| 47 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 48 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |