OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "android_webview/native/aw_web_preferences_populater_impl.h" | |
6 | |
7 #include "android_webview/native/aw_settings.h" | |
8 | |
9 namespace android_webview { | |
10 | |
11 AwWebPreferencesPopulaterImpl::AwWebPreferencesPopulaterImpl() { | |
12 } | |
13 | |
14 AwWebPreferencesPopulaterImpl::~AwWebPreferencesPopulaterImpl() { | |
15 } | |
16 | |
17 void AwWebPreferencesPopulaterImpl::PopulateFor( | |
18 content::WebContents* web_contents, | |
19 WebPreferences* web_prefs) { | |
20 AwSettings::FromWebContents(web_contents)->PopulateWebPreferences(web_prefs); | |
joth
2013/09/26 10:44:06
early out if null (popup case it may not exist?)
| |
21 } | |
22 | |
23 } | |
OLD | NEW |