| Index: blimp/engine/app/blimp_content_browser_client.cc
|
| diff --git a/blimp/engine/app/blimp_content_browser_client.cc b/blimp/engine/app/blimp_content_browser_client.cc
|
| index c10d04daa84b0553284a8692cdce848f148442f0..b10ad1ab14b53088dbf943e77fa200d4756517d8 100644
|
| --- a/blimp/engine/app/blimp_content_browser_client.cc
|
| +++ b/blimp/engine/app/blimp_content_browser_client.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "blimp/engine/app/blimp_content_browser_client.h"
|
| #include "blimp/engine/app/blimp_browser_main_parts.h"
|
| +#include "blimp/engine/app/settings_manager.h"
|
| #include "blimp/engine/common/blimp_browser_context.h"
|
|
|
| namespace blimp {
|
| @@ -31,6 +32,19 @@ net::URLRequestContextGetter* BlimpContentBrowserClient::CreateRequestContext(
|
| .get();
|
| }
|
|
|
| +void BlimpContentBrowserClient::OverrideWebkitPrefs(
|
| + content::RenderViewHost* render_view_host,
|
| + content::WebPreferences* prefs) {
|
| + if (!blimp_browser_main_parts_)
|
| + return;
|
| +
|
| + if (!blimp_browser_main_parts_->GetSettingsManager())
|
| + return;
|
| +
|
| + blimp_browser_main_parts_->GetSettingsManager()->UpdateWebkitPreferences(
|
| + prefs);
|
| +}
|
| +
|
| BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() {
|
| return blimp_browser_main_parts_->GetBrowserContext();
|
| }
|
|
|