Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7240)

Unified Diff: chrome/common/chrome_notification_types.h

Issue 10905058: Upstream the Android port find-in-page feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/android/content_view_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_notification_types.h
diff --git a/chrome/common/chrome_notification_types.h b/chrome/common/chrome_notification_types.h
index 036670441ce1d2390a25b219b52e4faeb1f8247a..103edcf521bb73e6eefe4a0e55db253bbf6b3fb8 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -5,6 +5,7 @@
#ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
#define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
+#include "build/build_config.h"
#include "content/public/browser/notification_types.h"
namespace chrome {
@@ -198,6 +199,14 @@ enum NotificationType {
// match was found or not found.
NOTIFICATION_FIND_RESULT_AVAILABLE,
+#if defined(OS_ANDROID)
+ // This notification is sent when the match rects of a find-in-page search
+ // are available. The source is a Source<WebContents>. Details encompass a
+ // FindMatchRectsDetails object that contains the result version and the
+ // rects information.
+ NOTIFICATION_FIND_MATCH_RECTS_AVAILABLE,
+#endif
+
// BackgroundContents ------------------------------------------------------
// A new background contents was opened by script. The source is the parent
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/android/content_view_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698