| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ | 6 #define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "content/public/browser/content_browser_client.h" | 9 #include "content/public/browser/content_browser_client.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 } | 28 } |
| 29 | 29 |
| 30 // content::ContentBrowserClient implementation. | 30 // content::ContentBrowserClient implementation. |
| 31 content::BrowserMainParts* CreateBrowserMainParts( | 31 content::BrowserMainParts* CreateBrowserMainParts( |
| 32 const content::MainFunctionParams& parameters) override; | 32 const content::MainFunctionParams& parameters) override; |
| 33 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, | 33 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
| 34 content::WebPreferences* prefs) override; | 34 content::WebPreferences* prefs) override; |
| 35 void ExposeInterfacesToRenderer( | 35 void ExposeInterfacesToRenderer( |
| 36 shell::InterfaceRegistry* registry, | 36 shell::InterfaceRegistry* registry, |
| 37 content::RenderProcessHost* render_process_host) override; | 37 content::RenderProcessHost* render_process_host) override; |
| 38 // TODO |
| 39 // void GetTemporaryStorageConfiguration( |
| 40 // content::BrowserContext* context, |
| 41 // const base::FilePath& partition_path, bool is_incognito, |
| 42 // const storage::TemporaryStorageConfigurationCallback& callback)override; |
| 38 | 43 |
| 39 BlimpBrowserContext* GetBrowserContext(); | 44 BlimpBrowserContext* GetBrowserContext(); |
| 40 | 45 |
| 41 private: | 46 private: |
| 42 // Owned by BrowserMainLoop | 47 // Owned by BrowserMainLoop |
| 43 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr; | 48 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr; |
| 44 | 49 |
| 45 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient); | 50 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient); |
| 46 }; | 51 }; |
| 47 | 52 |
| 48 } // namespace engine | 53 } // namespace engine |
| 49 } // namespace blimp | 54 } // namespace blimp |
| 50 | 55 |
| 51 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ | 56 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |