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

Side by Side Diff: chrome/browser/view_type_utils.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 CHROME_BROWSER_VIEW_TYPE_UTILS_H_
6 #define CHROME_BROWSER_VIEW_TYPE_UTILS_H_
7 #pragma once
8
9 #include "chrome/common/view_type.h"
10
11 namespace content {
12 class WebContents;
13 }
14
15 namespace chrome {
16
17 // Get/Set the type of a WebContents.
18 // GetViewType handles a NULL |tab| for convenience by returning
19 // VIEW_TYPE_INVALID.
20 ViewType GetViewType(content::WebContents* tab);
21 void SetViewType(content::WebContents* tab, ViewType type);
22
23 } // namespace chrome
24
25 #endif // CHROME_BROWSER_VIEW_TYPE_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698