Home | History | Annotate | Download | only in browser
      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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
      6 #define ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
      7 
      8 struct WebPreferences;
      9 
     10 namespace content {
     11 class WebContents;
     12 }
     13 
     14 namespace android_webview {
     15 
     16 // Empty base class so this can be destroyed by AwContentBrowserClient.
     17 class AwWebPreferencesPopulater {
     18  public:
     19   virtual ~AwWebPreferencesPopulater();
     20 
     21   virtual void PopulateFor(content::WebContents* web_contents,
     22                            WebPreferences* web_prefs) = 0;
     23 };
     24 
     25 }  // namespace android_webview
     26 
     27 #endif  // ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
     28