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

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

Issue 6721021: Move a bunch of renderer->browser messages to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 #include "chrome/common/window_container_type.h" 5 #include "content/common/window_container_type.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h"
11 11
12 namespace { 12 namespace {
13 13
14 const char kBackground[] = "background"; 14 const char kBackground[] = "background";
15 const char kPersistent[] = "persistent"; 15 const char kPersistent[] = "persistent";
(...skipping 16 matching lines...) Expand all
32 32
33 if (background) { 33 if (background) {
34 if (persistent) 34 if (persistent)
35 return WINDOW_CONTAINER_TYPE_PERSISTENT; 35 return WINDOW_CONTAINER_TYPE_PERSISTENT;
36 else 36 else
37 return WINDOW_CONTAINER_TYPE_BACKGROUND; 37 return WINDOW_CONTAINER_TYPE_BACKGROUND;
38 } else { 38 } else {
39 return WINDOW_CONTAINER_TYPE_NORMAL; 39 return WINDOW_CONTAINER_TYPE_NORMAL;
40 } 40 }
41 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698