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

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

Issue 1149753005: Updating sandbox flags after Blink-side changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_COMMON_FRAME_REPLICATION_STATE_H_ 5 #ifndef CONTENT_COMMON_FRAME_REPLICATION_STATE_H_
6 #define CONTENT_COMMON_FRAME_REPLICATION_STATE_H_ 6 #define CONTENT_COMMON_FRAME_REPLICATION_STATE_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "url/origin.h" 9 #include "url/origin.h"
10 10
(...skipping 16 matching lines...) Expand all
27 PLUGINS = 1 << 1, 27 PLUGINS = 1 << 1,
28 ORIGIN = 1 << 2, 28 ORIGIN = 1 << 2,
29 FORMS = 1 << 3, 29 FORMS = 1 << 3,
30 SCRIPTS = 1 << 4, 30 SCRIPTS = 1 << 4,
31 TOP_NAVIGATION = 1 << 5, 31 TOP_NAVIGATION = 1 << 5,
32 POPUPS = 1 << 6, 32 POPUPS = 1 << 6,
33 AUTOMATIC_FEATURES = 1 << 7, 33 AUTOMATIC_FEATURES = 1 << 7,
34 POINTER_LOCK = 1 << 8, 34 POINTER_LOCK = 1 << 8,
35 DOCUMENT_DOMAIN = 1 << 9, 35 DOCUMENT_DOMAIN = 1 << 9,
36 ORIENTATION_LOCK = 1 << 10, 36 ORIENTATION_LOCK = 1 << 10,
37 PROPAGATES_TO_AUXILIARY = 1 << 11,
38 MODALS = 1 << 12,
37 ALL = -1 39 ALL = -1
38 }; 40 };
39 41
40 inline SandboxFlags operator&(SandboxFlags a, SandboxFlags b) { 42 inline SandboxFlags operator&(SandboxFlags a, SandboxFlags b) {
41 return static_cast<SandboxFlags>(static_cast<int>(a) & static_cast<int>(b)); 43 return static_cast<SandboxFlags>(static_cast<int>(a) & static_cast<int>(b));
42 } 44 }
43 45
44 inline SandboxFlags operator~(SandboxFlags flags) { 46 inline SandboxFlags operator~(SandboxFlags flags) {
45 return static_cast<SandboxFlags>(~static_cast<int>(flags)); 47 return static_cast<SandboxFlags>(~static_cast<int>(flags));
46 } 48 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // operator. 102 // operator.
101 blink::WebTreeScopeType scope; 103 blink::WebTreeScopeType scope;
102 104
103 // TODO(alexmos): Eventually, this structure can also hold other state that 105 // TODO(alexmos): Eventually, this structure can also hold other state that
104 // needs to be replicated, such as frame sizing info. 106 // needs to be replicated, such as frame sizing info.
105 }; 107 };
106 108
107 } // namespace content 109 } // namespace content
108 110
109 #endif // CONTENT_COMMON_FRAME_REPLICATION_STATE_H_ 111 #endif // CONTENT_COMMON_FRAME_REPLICATION_STATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698