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

Unified Diff: chrome/browser/ui/browser.cc

Issue 441803004: Introduce new WebApp header style for hosted apps and fizzy apps on ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback Created 6 years, 4 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
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 2f13de8372f21a272f767d3c15305eab8e65df8c..05ba5f276f480b7038bb8e77d49590096d14bfca 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -2305,9 +2305,11 @@ bool Browser::ShouldShowLocationBar() const {
if (is_app()) {
if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableStreamlinedHostedApps)) {
+ switches::kEnableStreamlinedHostedApps) &&
+ host_desktop_type() != chrome::HOST_DESKTOP_TYPE_ASH) {
// If kEnableStreamlinedHostedApps is true, show the location bar for
- // bookmark apps.
+ // bookmark apps, except on ash which has the toolbar merged into the
+ // frame.
ExtensionService* service =
extensions::ExtensionSystem::Get(profile_)->extension_service();
const extensions::Extension* extension =

Powered by Google App Engine
This is Rietveld 408576698