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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm

Issue 1697223002: Remove HostDesktopType from c/b/ui/bookmarks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-21
Patch Set: #else and mac Created 4 years, 10 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/cocoa/bookmarks/bookmark_bar_controller.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
index eeea542b33073fca4bc9042cdd20e1755500113c..ed2fb7367b30ed0356c18aa41f4963e07e7ce15e 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
@@ -1305,9 +1305,9 @@ void RecordAppLaunch(Profile* profile, GURL url) {
if (!appsPageShortcutButton_.get())
return NO;
- BOOL visible = bookmarkModel_->loaded() &&
- chrome::ShouldShowAppsShortcutInBookmarkBar(
- browser_->profile(), browser_->host_desktop_type());
+ BOOL visible =
+ bookmarkModel_->loaded() &&
+ chrome::ShouldShowAppsShortcutInBookmarkBar(browser_->profile());
[appsPageShortcutButton_ setHidden:!visible];
return visible;
}
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_utils.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698