OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_FIND_TYPE_CONVERTERS_H_ | |
6 #define COMPONENTS_HTML_VIEWER_BLINK_FIND_TYPE_CONVERTERS_H_ | |
7 | |
8 #include "components/web_view/public/interfaces/frame.mojom.h" | |
9 #include "mojo/public/cpp/bindings/type_converter.h" | |
10 #include "third_party/WebKit/public/web/WebFindOptions.h" | |
11 | |
12 namespace mojo { | |
13 | |
14 template <> | |
15 struct TypeConverter<blink::WebFindOptions, web_view::mojom::FindOptionsPtr> { | |
16 static blink::WebFindOptions Convert( | |
17 const web_view::mojom::FindOptionsPtr& input); | |
18 }; | |
19 | |
20 } // namespace mojo | |
21 | |
22 #endif // COMPONENTS_HTML_VIEWER_BLINK_FIND_TYPE_CONVERTERS_H_ | |
OLD | NEW |