Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: content/public/common/view_type.h

Issue 10387110: Remove VIEW_TYPE_WEB_CONTENTS and make default view type INVALID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blah Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_
6 #define CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ 6 #define CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 namespace content { 9 namespace content {
10 10
11 // Indicates different types of views. 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.
12 enum ViewTypeValues { 16 enum ViewTypeValues {
13 VIEW_TYPE_INVALID, 17 VIEW_TYPE_INVALID,
14 VIEW_TYPE_WEB_CONTENTS,
15 VIEW_TYPE_INTERSTITIAL_PAGE, 18 VIEW_TYPE_INTERSTITIAL_PAGE,
16 VIEW_TYPE_DEV_TOOLS_UI, 19 VIEW_TYPE_DEV_TOOLS_UI,
17
18 VIEW_TYPE_CONTENT_END 20 VIEW_TYPE_CONTENT_END
19 }; 21 };
20 22
21 typedef int ViewType; 23 typedef int ViewType;
22 24
23 } // namespace content 25 } // namespace content
24 26
25 #endif // CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_ 27 #endif // CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698