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

Unified Diff: content/public/common/view_type.h

Issue 10409088: Get rid of the RenderViewType concept in content, since it was only used by Chrome. Store the enum… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/view_type.h
===================================================================
--- content/public/common/view_type.h (revision 138369)
+++ content/public/common/view_type.h (working copy)
@@ -1,26 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_
-#define CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_
-#pragma once
-
-namespace content {
-
-// Icky RTTI used by a few systems to distinguish the host type of a given
-// RenderViewHost or WebContents.
-//
-// TODO(aa): Remove this and teach those systems to keep track of their own
-// data.
-enum ViewTypeValues {
- VIEW_TYPE_INVALID,
- VIEW_TYPE_INTERSTITIAL_PAGE,
- VIEW_TYPE_CONTENT_END
-};
-
-typedef int ViewType;
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_COMMON_VIEW_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698