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. 4 5 #ifndef CONTENT_PUBLIC_COMMON_PAGE_TYPE_H_ 6 #define CONTENT_PUBLIC_COMMON_PAGE_TYPE_H_ 7 8 namespace content { 9 10 // The type of the page an entry corresponds to. Used by chrome_frame and the 11 // automation layer to detect the state of a WebContents. 12 enum PageType { 13 PAGE_TYPE_NORMAL = 0, 14 PAGE_TYPE_ERROR, 15 PAGE_TYPE_INTERSTITIAL 16 }; 17 18 } // namespace content 19 20 #endif // CONTENT_PUBLIC_COMMON_PAGE_TYPE_H_ 21