Home | History | Annotate | Download | only in webkit
      1 /*
      2  * Copyright (C) 2009 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package android.webkit;
     18 
     19 /**
     20  * This class is a container for all of the debug flags used in the Java
     21  * components of webkit.  These flags must be final in order to ensure that
     22  * the compiler optimizes the code that uses them out of the final executable.
     23  *
     24  * The name of each flags maps directly to the name of the class in which that
     25  * flag is used.
     26  *
     27  */
     28 class DebugFlags {
     29 
     30     public static final boolean BROWSER_FRAME = false;
     31     public static final boolean CACHE_MANAGER = false;
     32     public static final boolean CALLBACK_PROXY = false;
     33     public static final boolean COOKIE_MANAGER = false;
     34     public static final boolean COOKIE_SYNC_MANAGER = false;
     35     public static final boolean FRAME_LOADER = false;
     36     public static final boolean J_WEB_CORE_JAVA_BRIDGE = false;// HIGHLY VERBOSE
     37     public static final boolean LOAD_LISTENER = false;
     38     public static final boolean NETWORK = false;
     39     public static final boolean SSL_ERROR_HANDLER = false;
     40     public static final boolean STREAM_LOADER = false;
     41     public static final boolean URL_UTIL = false;
     42     public static final boolean WEB_BACK_FORWARD_LIST = false;
     43     public static final boolean WEB_SETTINGS = false;
     44     public static final boolean WEB_SYNC_MANAGER = false;
     45     public static final boolean WEB_TEXT_VIEW = false;
     46     public static final boolean WEB_VIEW = false;
     47     public static final boolean WEB_VIEW_CORE = false;
     48     /*
     49      * Set to true to allow the WebTextView to draw on top of the web page in a
     50      * different color with no background so you can see how the two line up.
     51      */
     52     public static final boolean DRAW_WEBTEXTVIEW = false;
     53 }
     54