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 10 matching lines...) Expand all Loading... |
21 class BlimpContentBrowserClient : public content::ContentBrowserClient { | 21 class BlimpContentBrowserClient : public content::ContentBrowserClient { |
22 public: | 22 public: |
23 BlimpContentBrowserClient(); | 23 BlimpContentBrowserClient(); |
24 ~BlimpContentBrowserClient() override; | 24 ~BlimpContentBrowserClient() override; |
25 | 25 |
26 BlimpBrowserMainParts* blimp_browser_main_parts() { | 26 BlimpBrowserMainParts* blimp_browser_main_parts() { |
27 return blimp_browser_main_parts_; | 27 return blimp_browser_main_parts_; |
28 } | 28 } |
29 | 29 |
30 // content::ContentBrowserClient implementation. | 30 // content::ContentBrowserClient implementation. |
| 31 // TODO |
| 32 // void GetTemporaryStorageConfiguration( |
| 33 // content::BrowserContext* context, |
| 34 // const base::FilePath& partition_path, bool is_incognito, |
| 35 // const storage::TemporaryStorageConfigurationCallback& callback)override; |
31 content::BrowserMainParts* CreateBrowserMainParts( | 36 content::BrowserMainParts* CreateBrowserMainParts( |
32 const content::MainFunctionParams& parameters) override; | 37 const content::MainFunctionParams& parameters) override; |
33 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, | 38 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
34 content::WebPreferences* prefs) override; | 39 content::WebPreferences* prefs) override; |
35 void ExposeInterfacesToRenderer( | 40 void ExposeInterfacesToRenderer( |
36 service_manager::InterfaceRegistry* registry, | 41 service_manager::InterfaceRegistry* registry, |
37 content::RenderProcessHost* render_process_host) override; | 42 content::RenderProcessHost* render_process_host) override; |
38 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 43 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
39 const std::string& name) override; | 44 const std::string& name) override; |
40 | 45 |
41 BlimpBrowserContext* GetBrowserContext(); | 46 BlimpBrowserContext* GetBrowserContext(); |
42 | 47 |
43 private: | 48 private: |
44 // Owned by BrowserMainLoop | 49 // Owned by BrowserMainLoop |
45 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr; | 50 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr; |
46 | 51 |
47 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient); | 52 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient); |
48 }; | 53 }; |
49 | 54 |
50 } // namespace engine | 55 } // namespace engine |
51 } // namespace blimp | 56 } // namespace blimp |
52 | 57 |
53 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ | 58 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |