[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / content / public / browser / invalidate_type.h
blobf85ec3da0afe9795a27c024a2e24ecbd7a5e299a
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 #ifndef CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_
6 #define CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_
8 namespace content {
10 // Flags passed to the WebContentsDelegate.NavigationStateChanged to tell it
11 // what has changed. Combine them to update more than one thing.
13 // A Java counterpart will be generated for this enum.
14 // GENERATED_JAVA_ENUM_PACKAGE: (
15 // org.chromium.content_public.browser)
16 // GENERATED_JAVA_PREFIX_TO_STRIP: INVALIDATE_TYPE_
17 enum InvalidateTypes {
18 INVALIDATE_TYPE_URL = 1 << 0, // The URL has changed.
19 INVALIDATE_TYPE_TAB = 1 << 1, // The favicon, app icon, or crashed
20 // state changed.
21 INVALIDATE_TYPE_LOAD = 1 << 2, // The loading state has changed.
22 INVALIDATE_TYPE_TITLE = 1 << 3, // The title changed.
24 INVALIDATE_TYPE_ALL = (1 << 4) - 1,
29 #endif // CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_