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

Side by Side Diff: content/common/window_container_type.h

Issue 8346017: Move content_browser_client.h to public, and while at it, move (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a file post merge. Created 9 years, 2 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/common/view_messages.h ('k') | content/common/window_container_type.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_COMMON_WINDOW_CONTAINER_TYPE_H_
6 #define CONTENT_COMMON_WINDOW_CONTAINER_TYPE_H_
7 #pragma once
8
9 namespace WebKit {
10
11 struct WebWindowFeatures;
12
13 }
14
15 // "Container" types which can be requested via the window.open feature
16 // string.
17 enum WindowContainerType {
18 // A window shown in popup or tab.
19 WINDOW_CONTAINER_TYPE_NORMAL = 0,
20
21 // A window run as a hidden "background" page.
22 WINDOW_CONTAINER_TYPE_BACKGROUND,
23
24 // A window run as a hidden "background" page that wishes to be started
25 // upon browser launch and run beyond the lifetime of the pages that
26 // reference it.
27 WINDOW_CONTAINER_TYPE_PERSISTENT,
28
29 WINDOW_CONTAINER_TYPE_MAX_VALUE
30 };
31
32 // Conversion function:
33 WindowContainerType WindowFeaturesToContainerType(
34 const WebKit::WebWindowFeatures& window_features);
35
36 #endif // CONTENT_COMMON_WINDOW_CONTAINER_TYPE_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/common/window_container_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698