summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
Diffstat (limited to 'content/public')
-rw-r--r--content/public/common/stop_find_action.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/content/public/common/stop_find_action.h b/content/public/common/stop_find_action.h
new file mode 100644
index 0000000..0b684b6
--- /dev/null
+++ b/content/public/common/stop_find_action.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_
+#define CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_
+#pragma once
+
+namespace content {
+
+// The user has completed a find-in-page; this type defines what actions the
+// renderer should take next.
+enum StopFindAction {
+ STOP_FIND_ACTION_CLEAR_SELECTION,
+ STOP_FIND_ACTION_KEEP_SELECTION,
+ STOP_FIND_ACTION_ACTIVATE_SELECTION
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_STOP_FIND_ACTION_H_