Chromium Code Reviews| 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..731ab2764e3a17240f554839892a4bcdf373a76d 100644 |
| --- a/chrome/browser/ui/toolbar/toolbar_model.cc |
| +++ b/chrome/browser/ui/toolbar/toolbar_model.cc |
| @@ -87,8 +87,13 @@ bool ToolbarModel::ShouldDisplayURL() const { |
| if (web_contents && web_contents->GetWebUIForCurrentState()) |
| return !web_contents->GetWebUIForCurrentState()->ShouldHideURL(); |
| - if (entry && entry->GetURL().SchemeIs(chrome::kExtensionScheme)) |
| + if (entry && (entry->GetURL().SchemeIs(chrome::kExtensionScheme) || |
| +#if defined(OS_CHROMEOS) |
|
Aaron Boodman
2012/08/10 04:36:56
I'm not a fan of mixing runtime and compile time c
yoshiki
2012/08/10 05:34:34
Done.
|
| + entry->GetURL().SchemeIs(chrome::kDriveScheme) |
| +#endif |
| + )) { |
| return false; |
| + } |
| return true; |
| } |