| OLD | NEW |
| (Empty) |
| 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_VIEW_TYPE_H_ | |
| 6 #define CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace content { | |
| 10 | |
| 11 // Icky RTTI used by a few systems to distinguish the host type of a given | |
| 12 // RenderViewHost or WebContents. | |
| 13 // | |
| 14 // TODO(aa): Remove this and teach those systems to keep track of their own | |
| 15 // data. | |
| 16 enum ViewTypeValues { | |
| 17 VIEW_TYPE_INVALID, | |
| 18 VIEW_TYPE_INTERSTITIAL_PAGE, | |
| 19 VIEW_TYPE_CONTENT_END | |
| 20 }; | |
| 21 | |
| 22 typedef int ViewType; | |
| 23 | |
| 24 } // namespace content | |
| 25 | |
| 26 #endif // CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ | |
| OLD | NEW |