summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.cc
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 22:00:09 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 22:00:09 +0000
commitbd5a00a743c92290ec01d6ea603a5fd96098093e (patch)
treee2db07ba7b8f7e75911e5dede215bb9551216450 /chrome/common/pref_names.cc
parenta26b7d4950c1e684ab1620674a335ff3a27eda5c (diff)
downloadchromium_src-bd5a00a743c92290ec01d6ea603a5fd96098093e.zip
chromium_src-bd5a00a743c92290ec01d6ea603a5fd96098093e.tar.gz
chromium_src-bd5a00a743c92290ec01d6ea603a5fd96098093e.tar.bz2
Resize and overflow for browser actions (part 1).
This changelist implements the following: - A resize gripper and chevron in the browser action container - Overflow when icons don't fit - Snap to multiple of icon size (no excess pixels) - Animation when resizing container / adding&removing icons (disable, enable). - Persists the last width of the browser action container. Known issues: - No menu (yes, the chevron button doesn't do anything yet). BUG=32101 TEST=Install and uninstall browser actions & make sure install bubble appears in the right location. Make sure browser action container does not expand if chevron is showing when you add browser action. Make sure container loses chevron when no overflow occurs. Make sure browser action icons never disappear due to shrinking when you release the mouse (when resizing). Make sure snapping works. Review URL: http://codereview.chromium.org/553039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36905 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 2d2970a..c8e469c 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -218,7 +218,7 @@ const wchar_t kDeleteFormData[] = L"browser.clear_data.form_data";
const wchar_t kDeleteTimePeriod[] = L"browser.clear_data.time_period";
// Integer prefs giving the widths of the columns in the bookmark table. Two
-// configs are saved, one with the path column and one without.
+// configurations are saved, one with the path column and one without.
const wchar_t kBookmarkTableNameWidth1[] = L"bookmark_table.name_width_1";
const wchar_t kBookmarkTableURLWidth1[] = L"bookmark_table.url_width_1";
const wchar_t kBookmarkTableNameWidth2[] = L"bookmark_table.name_width_2";
@@ -570,6 +570,11 @@ const wchar_t kDisableExtensions[] = L"extensions.disabled";
// Boolean which specifies whether the Extension Shelf is visible on all tabs.
const wchar_t kShowExtensionShelf[] = L"extensions.shelf.show_on_all_tabs";
+// Integer boolean representing the width (in pixels) of the container for
+// browser actions.
+const wchar_t kBrowserActionContainerWidth[] =
+ L"extensions.browseractions.container.width";
+
// Time of the last, and next scheduled, extensions auto-update checks.
const wchar_t kLastExtensionsUpdateCheck[] =
L"extensions.autoupdate.last_check";
@@ -613,7 +618,7 @@ const wchar_t kDevToolsOpenDocked[] = L"devtools.open_docked";
// Integer location of the split bar in the browser view.
const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location";
-// 64-bit integer serialization of the base::Time when the last sync occured.
+// 64-bit integer serialization of the base::Time when the last sync occurred.
const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time";
// Boolean specifying whether the user finished setting up sync.