summaryrefslogtreecommitdiffstats
path: root/chrome/browser/view_ids.h
diff options
context:
space:
mode:
authorfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 22:31:07 +0000
committerfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 22:31:07 +0000
commit9bd491ee6e4c3695b2a96079c6607756bb0b13c0 (patch)
tree7caae901885c1a36639246cb310492add9fe1e99 /chrome/browser/view_ids.h
parente8749c99e678b18cf1b0b4051fab7d518e9ef0f9 (diff)
downloadchromium_src-9bd491ee6e4c3695b2a96079c6607756bb0b13c0.zip
chromium_src-9bd491ee6e4c3695b2a96079c6607756bb0b13c0.tar.gz
chromium_src-9bd491ee6e4c3695b2a96079c6607756bb0b13c0.tar.bz2
Fix regression with Find in page focus on trunk.
Basically, if the Find box is open, pressing Ctrl+F should set focus to the text field. This regressed when the Find box moved into web_contents_view. I have added a UI test to catch this in the future. Review URL: http://codereview.chromium.org/13721 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6748 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/view_ids.h')
-rw-r--r--chrome/browser/view_ids.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/view_ids.h b/chrome/browser/view_ids.h
index 9082d0d..171b134 100644
--- a/chrome/browser/view_ids.h
+++ b/chrome/browser/view_ids.h
@@ -5,8 +5,8 @@
// This defines an enumeration of IDs that can uniquely identify a view within
// the scope of a container view.
-#ifndef CHROME_BROWSER_VIEW_IDS_H__
-#define CHROME_BROWSER_VIEW_IDS_H__
+#ifndef CHROME_BROWSER_VIEW_IDS_H_
+#define CHROME_BROWSER_VIEW_IDS_H_
enum ViewID {
VIEW_ID_NONE = 0,
@@ -42,11 +42,13 @@ enum ViewID {
// The Bookmark Bar.
VIEW_ID_BOOKMARK_BAR,
+ // Find in page.
+ VIEW_ID_FIND_IN_PAGE_TEXT_FIELD,
+
// Tab Container window.
VIEW_ID_TAB_CONTAINER,
VIEW_ID_PREDEFINED_COUNT
};
-#endif // CHROME_BROWSER_VIEW_IDS_H__
-
+#endif // CHROME_BROWSER_VIEW_IDS_H_