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 #include "components/web_view/local_find_options.h" | |
6 | |
7 namespace mojo { | |
8 | |
9 web_view::mojom::FindOptionsPtr | |
10 TypeConverter<web_view::mojom::FindOptionsPtr, web_view::LocalFindOptions>:: | |
11 Convert(const web_view::LocalFindOptions& input) { | |
12 web_view::mojom::FindOptionsPtr output = web_view::mojom::FindOptions::New(); | |
13 output->forward = input.forward; | |
14 output->continue_last_find = input.continue_last_find; | |
15 return output; | |
16 } | |
17 | |
18 } // namespace mojo | |
OLD | NEW |