summaryrefslogtreecommitdiffstats
path: root/chrome/common/url_constants.cc
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 20:00:33 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 20:00:33 +0000
commit6d1851a3592a170186c018a3bb731bb776d8fc03 (patch)
treea9cd2b0322c8515e461b490bbdcce58415a09f95 /chrome/common/url_constants.cc
parent3ba1cc6dd4b768de8769639dcd2488761b7be2d8 (diff)
downloadchromium_src-6d1851a3592a170186c018a3bb731bb776d8fc03.zip
chromium_src-6d1851a3592a170186c018a3bb731bb776d8fc03.tar.gz
chromium_src-6d1851a3592a170186c018a3bb731bb776d8fc03.tar.bz2
Remove height 100% from NTP when in the app launcher.
This is done by using chrome://newtab/#app-launcher and then map the hash to an attribute which is later used in the CSS. I investigated several alternative methods but they all lead to either a higher memory footprint (due to two copies of the NTP source in memory) or slowdown of NTP. No caching of the resource. During my refactoring I *accidentally* fixed 35783 so I'm keeping that in there. BUG=35783 TEST=Launch chrome with a new profile with the app launcher turned on. Review URL: http://codereview.chromium.org/1846003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/url_constants.cc')
-rw-r--r--chrome/common/url_constants.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 8b3e45b..748ae19 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -53,6 +53,7 @@ const char kAboutTermsURL[] = "about:terms";
// to be used for testing.
const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz";
+const char kChromeUIAppLauncherURL[] = "chrome://newtab/#app-launcher";
const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
const char kChromeUIDevToolsURL[] = "chrome://devtools/";
const char kChromeUIDownloadsURL[] = "chrome://downloads/";