OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_ |
6 #define CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_ | 6 #define CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_ |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 | 9 |
10 // The user has completed a find-in-page; this type defines what actions the | 10 // The user has completed a find-in-page; this type defines what actions the |
11 // renderer should take next. | 11 // renderer should take next. |
12 enum StopFindAction { | 12 enum StopFindAction { |
13 STOP_FIND_ACTION_CLEAR_SELECTION, | 13 STOP_FIND_ACTION_CLEAR_SELECTION, |
14 STOP_FIND_ACTION_KEEP_SELECTION, | 14 STOP_FIND_ACTION_KEEP_SELECTION, |
15 STOP_FIND_ACTION_ACTIVATE_SELECTION | 15 STOP_FIND_ACTION_ACTIVATE_SELECTION, |
| 16 STOP_FIND_ACTION_LAST = STOP_FIND_ACTION_ACTIVATE_SELECTION |
16 }; | 17 }; |
17 | 18 |
18 } // namespace content | 19 } // namespace content |
19 | 20 |
20 #endif // CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_ | 21 #endif // CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_ |
OLD | NEW |