OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_HTML_FRAME_PROPERTIES_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_HTML_FRAME_PROPERTIES_H_ |
6 #define COMPONENTS_HTML_VIEWER_HTML_FRAME_PROPERTIES_H_ | 6 #define COMPONENTS_HTML_VIEWER_HTML_FRAME_PROPERTIES_H_ |
7 | 7 |
8 #include "third_party/mojo/src/mojo/public/cpp/bindings/array.h" | 8 #include "mojo/public/cpp/bindings/array.h" |
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/map.h" | 9 #include "mojo/public/cpp/bindings/map.h" |
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/string.h" | 10 #include "mojo/public/cpp/bindings/string.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 class WebFrame; | 13 class WebFrame; |
14 enum class WebSandboxFlags : int; | 14 enum class WebSandboxFlags : int; |
15 class WebString; | 15 class WebString; |
16 enum class WebTreeScopeType; | 16 enum class WebTreeScopeType; |
17 } | 17 } |
18 | 18 |
19 namespace url { | 19 namespace url { |
20 class Origin; | 20 class Origin; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 mojo::Map<mojo::String, mojo::Array<uint8_t>>* client_properties); | 54 mojo::Map<mojo::String, mojo::Array<uint8_t>>* client_properties); |
55 | 55 |
56 // Returns |properties[name]| if exists, otherwise a null array. | 56 // Returns |properties[name]| if exists, otherwise a null array. |
57 mojo::Array<uint8_t> GetValueFromClientProperties( | 57 mojo::Array<uint8_t> GetValueFromClientProperties( |
58 const std::string& name, | 58 const std::string& name, |
59 const mojo::Map<mojo::String, mojo::Array<uint8_t>>& properties); | 59 const mojo::Map<mojo::String, mojo::Array<uint8_t>>& properties); |
60 | 60 |
61 } // namespace html_viewer | 61 } // namespace html_viewer |
62 | 62 |
63 #endif // COMPONENTS_HTML_VIEWER_HTML_FRAME_PROPERTIES_H_ | 63 #endif // COMPONENTS_HTML_VIEWER_HTML_FRAME_PROPERTIES_H_ |
OLD | NEW |