1 // Copyright (c) 2012 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.
5 package org.chromium.android_webview.shell;
7 import android.content.Context;
9 import org.chromium.android_webview.AwResource;
11 public class AwShellResourceProvider {
12 private static boolean sInitialized;
14 public static void registerResources(Context context) {
19 AwResource.setResources(context.getResources());
21 AwResource.RAW_LOAD_ERROR = R.raw.blank_html;
22 AwResource.RAW_NO_DOMAIN = R.raw.blank_html;
24 AwResource.STRING_DEFAULT_TEXT_ENCODING = R.string.test_string;