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

Unified Diff: chrome/browser/view_type_utils.h

Issue 13375017: Move the ViewType enum to extensions\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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: chrome/browser/view_type_utils.h
===================================================================
--- chrome/browser/view_type_utils.h (revision 191609)
+++ chrome/browser/view_type_utils.h (working copy)
@@ -1,24 +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 CHROME_BROWSER_VIEW_TYPE_UTILS_H_
-#define CHROME_BROWSER_VIEW_TYPE_UTILS_H_
-
-#include "chrome/common/view_type.h"
-
-namespace content {
-class WebContents;
-}
-
-namespace chrome {
-
-// Get/Set the type of a WebContents.
-// GetViewType handles a NULL |tab| for convenience by returning
-// VIEW_TYPE_INVALID.
-ViewType GetViewType(content::WebContents* tab);
-void SetViewType(content::WebContents* tab, ViewType type);
-
-} // namespace chrome
-
-#endif // CHROME_BROWSER_VIEW_TYPE_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698