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

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

Issue 10827272: Drive: Hide the URL on opening files on Drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review (#2) fix Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/toolbar_model.cc
diff --git a/chrome/browser/ui/toolbar/toolbar_model.cc b/chrome/browser/ui/toolbar/toolbar_model.cc
index 427196b40ef4a56d45cb42b68bb20d5b0a386353..02f27f3d328dbe107dde778c091344083d352d50 100644
--- a/chrome/browser/ui/toolbar/toolbar_model.cc
+++ b/chrome/browser/ui/toolbar/toolbar_model.cc
@@ -90,6 +90,11 @@ bool ToolbarModel::ShouldDisplayURL() const {
if (entry && entry->GetURL().SchemeIs(chrome::kExtensionScheme))
return false;
+#if defined(OS_CHROMEOS)
+ if (entry && entry->GetURL().SchemeIs(chrome::kDriveScheme))
sky 2012/08/10 16:04:10 Expose this by way of a value in chrome/browser/de
+ return false;
+#endif
+
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698