Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: android_webview/native/aw_web_preferences_populater_impl.cc

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderView::FromWebView Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "android_webview/native/aw_web_preferences_populater_impl.h" 5 #include "android_webview/native/aw_web_preferences_populater_impl.h"
6 6
7 #include "android_webview/native/aw_settings.h" 7 #include "android_webview/native/aw_settings.h"
8 8
9 namespace android_webview { 9 namespace android_webview {
10 10
11 AwWebPreferencesPopulaterImpl::AwWebPreferencesPopulaterImpl() { 11 AwWebPreferencesPopulaterImpl::AwWebPreferencesPopulaterImpl() {
12 } 12 }
13 13
14 AwWebPreferencesPopulaterImpl::~AwWebPreferencesPopulaterImpl() { 14 AwWebPreferencesPopulaterImpl::~AwWebPreferencesPopulaterImpl() {
15 } 15 }
16 16
17 void AwWebPreferencesPopulaterImpl::PopulateFor( 17 void AwWebPreferencesPopulaterImpl::PopulateFor(
18 content::WebContents* web_contents, 18 content::WebContents* web_contents,
19 WebPreferences* web_prefs) { 19 content::WebPreferences* web_prefs) {
20 AwSettings* aw_settings = AwSettings::FromWebContents(web_contents); 20 AwSettings* aw_settings = AwSettings::FromWebContents(web_contents);
21 if (aw_settings) { 21 if (aw_settings) {
22 aw_settings->PopulateWebPreferences(web_prefs); 22 aw_settings->PopulateWebPreferences(web_prefs);
23 } 23 }
24 } 24 }
25 25
26 } 26 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698