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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 2552903003: Remove unreleased web app frame code from ChromeOS (Closed)
Patch Set: Created 4 years 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/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index d31ac99ae903b9296a4609cd19f2951544232288..3c7ef485302db92e3c05110aa5afbca94e1d7a0b 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1611,8 +1611,7 @@ bool BrowserView::ShouldShowWindowTitle() const {
#if defined(USE_ASH)
// For Ash only, trusted windows (apps and settings) do not show a title,
// crbug.com/119411. Child windows (i.e. popups) do show a title.
- if (browser_->is_trusted_source() &&
- !browser_->SupportsWindowFeature(Browser::FEATURE_WEBAPPFRAME))
+ if (browser_->is_trusted_source())
return false;
#endif // USE_ASH
@@ -1646,8 +1645,7 @@ bool BrowserView::ShouldShowWindowIcon() const {
#if defined(USE_ASH)
// For Ash only, trusted windows (apps and settings) do not show an icon,
// crbug.com/119411. Child windows (i.e. popups) do show an icon.
- if (browser_->is_trusted_source() &&
- !browser_->SupportsWindowFeature(Browser::FEATURE_WEBAPPFRAME))
+ if (browser_->is_trusted_source())
return false;
#endif // USE_ASH

Powered by Google App Engine
This is Rietveld 408576698