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