summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/view_ids.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 04:41:54 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 04:41:54 +0000
commitd59b315cc7b1f662eb6d312311bf0d63fdeee40c (patch)
treebec631d61f301dc6b8621e4c6a32564856db67dd /chrome/browser/chromeos/view_ids.h
parent450d54eceb47146fb4fd9af724a8589e0c1baa69 (diff)
downloadchromium_src-d59b315cc7b1f662eb6d312311bf0d63fdeee40c.zip
chromium_src-d59b315cc7b1f662eb6d312311bf0d63fdeee40c.tar.gz
chromium_src-d59b315cc7b1f662eb6d312311bf0d63fdeee40c.tar.bz2
basic browser tests for compact navigation bar.
* Tests if Browser::ToggleCompactNavigationBar() turns on/off compact navigation bar and tool bar. * Tests if the accelerator works. BUG=http://crosbug.com/2028 TEST=new tests CompactNativationBarTest.TestBasic/TestAccelerator should pass. Review URL: http://codereview.chromium.org/1200001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/view_ids.h')
-rw-r--r--chrome/browser/chromeos/view_ids.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/view_ids.h b/chrome/browser/chromeos/view_ids.h
new file mode 100644
index 0000000..54b3b7b
--- /dev/null
+++ b/chrome/browser/chromeos/view_ids.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2010 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 CHROME_BROWSER_CHROMEOS_VIEW_IDS_H_
+#define CHROME_BROWSER_CHROMEOS_VIEW_IDS_H_
+
+#include "chrome/browser/view_ids.h"
+
+// View ID used in ChromeOS.
+enum ChromeOSViewIds {
+ // Start with the offset that is big enough to avoid possible
+ // collison.
+ VIEW_ID_APP_MENU_BUTTON = VIEW_ID_PREDEFINED_COUNT + 10000,
+ VIEW_ID_COMPACT_NAV_BAR,
+ VIEW_ID_STATUS_AREA,
+ VIEW_ID_SPACER,
+ VIEW_ID_OTR_AVATAR,
+};
+
+#endif // CHROME_BROWSER_CHROMEOS_VIEW_IDS_H_
+