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

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

Issue 12789006: base/prefs: Remove the public/ directory and move the files to //base/prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | Annotate | Revision Log
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 // C++ bridge class between Chromium and Cocoa to connect the 5 // C++ bridge class between Chromium and Cocoa to connect the
6 // Bookmarks (model) with the Bookmark Bar (view). 6 // Bookmarks (model) with the Bookmark Bar (view).
7 // 7 //
8 // There is exactly one BookmarkBarBridge per BookmarkBarController / 8 // There is exactly one BookmarkBarBridge per BookmarkBarController /
9 // BrowserWindowController / Browser. 9 // BrowserWindowController / Browser.
10 10
11 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_BRIDGE_H_ 11 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_BRIDGE_H_
12 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_BRIDGE_H_ 12 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_BRIDGE_H_
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/prefs/public/pref_change_registrar.h" 16 #include "base/prefs/pref_change_registrar.h"
17 #include "chrome/browser/bookmarks/bookmark_model_observer.h" 17 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
18 18
19 class Profile; 19 class Profile;
20 @class BookmarkBarController; 20 @class BookmarkBarController;
21 21
22 class BookmarkBarBridge : public BookmarkModelObserver { 22 class BookmarkBarBridge : public BookmarkModelObserver {
23 public: 23 public:
24 BookmarkBarBridge(Profile* profile, 24 BookmarkBarBridge(Profile* profile,
25 BookmarkBarController* controller, 25 BookmarkBarController* controller,
26 BookmarkModel* model); 26 BookmarkModel* model);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Needed to react to kShowAppsShortcutInBookmarkBar changes. 58 // Needed to react to kShowAppsShortcutInBookmarkBar changes.
59 PrefChangeRegistrar profile_pref_registrar_; 59 PrefChangeRegistrar profile_pref_registrar_;
60 60
61 // Updates the visibility of the apps shortcut based on the pref value. 61 // Updates the visibility of the apps shortcut based on the pref value.
62 void OnAppsPageShortcutVisibilityChanged(); 62 void OnAppsPageShortcutVisibilityChanged();
63 63
64 DISALLOW_COPY_AND_ASSIGN(BookmarkBarBridge); 64 DISALLOW_COPY_AND_ASSIGN(BookmarkBarBridge);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_BRIDGE_H_ 67 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.h ('k') | chrome/browser/ui/cocoa/extensions/extension_action_context_menu.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698