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_WEB_VIEW_FIND_CONTROLLER_H_ | 5 #ifndef COMPONENTS_WEB_VIEW_FIND_CONTROLLER_H_ |
6 #define COMPONENTS_WEB_VIEW_FIND_CONTROLLER_H_ | 6 #define COMPONENTS_WEB_VIEW_FIND_CONTROLLER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/basictypes.h" | 12 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
12 #include "components/web_view/local_find_options.h" | 14 #include "components/web_view/local_find_options.h" |
13 #include "components/web_view/public/interfaces/web_view.mojom.h" | 15 #include "components/web_view/public/interfaces/web_view.mojom.h" |
14 | 16 |
15 namespace web_view { | 17 namespace web_view { |
16 | 18 |
17 class FindControllerDelegate; | 19 class FindControllerDelegate; |
18 class Frame; | 20 class Frame; |
19 | 21 |
20 // Contains all the find code used by WebViewImpl. | 22 // Contains all the find code used by WebViewImpl. |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 uint32_t frame_with_selection_; | 101 uint32_t frame_with_selection_; |
100 | 102 |
101 base::WeakPtrFactory<FindController> weak_ptr_factory_; | 103 base::WeakPtrFactory<FindController> weak_ptr_factory_; |
102 | 104 |
103 DISALLOW_COPY_AND_ASSIGN(FindController); | 105 DISALLOW_COPY_AND_ASSIGN(FindController); |
104 }; | 106 }; |
105 | 107 |
106 } // namespace web_view | 108 } // namespace web_view |
107 | 109 |
108 #endif // COMPONENTS_WEB_VIEW_FIND_CONTROLLER_H_ | 110 #endif // COMPONENTS_WEB_VIEW_FIND_CONTROLLER_H_ |
OLD | NEW |