summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 18:40:30 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 18:40:30 +0000
commit815dd9871d9eb39275ec54acacdec27068e604a7 (patch)
treeb260421dd29849425742076c80ef6da8498b1051 /content/public
parentd843cc13b385ed30100bfa0cd3b08897ca8cd8b9 (diff)
downloadchromium_src-815dd9871d9eb39275ec54acacdec27068e604a7.zip
chromium_src-815dd9871d9eb39275ec54acacdec27068e604a7.tar.gz
chromium_src-815dd9871d9eb39275ec54acacdec27068e604a7.tar.bz2
Get rid of view_message_enums.h dependency in Chrome by moving the enum for find-stopping to content/public/common.
BUG=98716 Review URL: http://codereview.chromium.org/8670006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111374 0039d316-1c4b-4281-b951-d872f2087c98
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_