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

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

Issue 2146803004: Create a content::FrameOwnerProperties struct for IPC transport of WebFrameOwnerProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Transport Created 4 years, 5 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
OLDNEW
(Empty)
1 // Copyright 2016 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_FRAME_OWNER_PROPERTIES_H_
6 #define CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_
7
8 #include <vector>
9
10 #include "third_party/WebKit/public/platform/modules/permissions/WebPermissionTy pe.h"
11 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
12
13 namespace content {
14
15 // Used for IPC transport of WebFrameOwnerProperties.
alexmos 2016/07/14 23:44:13 Maybe expand this comment to explain why WebFrameO
raymes 2016/07/18 03:39:28 Done.
16 struct FrameOwnerProperties {
17 FrameOwnerProperties();
18 FrameOwnerProperties(const FrameOwnerProperties& other);
19 explicit FrameOwnerProperties(
20 const blink::WebFrameOwnerProperties& web_frame_owner_properties);
21 ~FrameOwnerProperties();
22
23 blink::WebFrameOwnerProperties ToWebFrameOwnerProperties() const;
24
25 blink::WebFrameOwnerProperties::ScrollingMode scrolling_mode;
26 int margin_width;
27 int margin_height;
28 bool allow_fullscreen;
29 std::vector<blink::WebPermissionType> delegated_permissions;
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698