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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.mm

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit Created 6 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h" 5 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 10 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h"
11 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
12 #include "components/bookmarks/core/browser/bookmark_model.h" 12 #include "components/bookmarks/browser/bookmark_model.h"
13 13
14 14
15 BookmarkBarBridge::BookmarkBarBridge(Profile* profile, 15 BookmarkBarBridge::BookmarkBarBridge(Profile* profile,
16 BookmarkBarController* controller, 16 BookmarkBarController* controller,
17 BookmarkModel* model) 17 BookmarkModel* model)
18 : controller_(controller), 18 : controller_(controller),
19 model_(model), 19 model_(model),
20 batch_mode_(false) { 20 batch_mode_(false) {
21 model_->AddObserver(this); 21 model_->AddObserver(this);
22 22
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 106 }
107 107
108 void BookmarkBarBridge::ExtensiveBookmarkChangesEnded(BookmarkModel* model) { 108 void BookmarkBarBridge::ExtensiveBookmarkChangesEnded(BookmarkModel* model) {
109 batch_mode_ = false; 109 batch_mode_ = false;
110 [controller_ loaded:model]; 110 [controller_ loaded:model];
111 } 111 }
112 112
113 void BookmarkBarBridge::OnAppsPageShortcutVisibilityPrefChanged() { 113 void BookmarkBarBridge::OnAppsPageShortcutVisibilityPrefChanged() {
114 [controller_ updateAppsPageShortcutButtonVisibility]; 114 [controller_ updateAppsPageShortcutButtonVisibility];
115 } 115 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698