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

Side by Side Diff: chrome/browser/bookmarks/bookmark_utils.h

Issue 118150: Linux bookmark manager first cut. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 1 more file Created 11 years, 6 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_manager.h ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 BookmarkNode* new_parent, 156 BookmarkNode* new_parent,
157 BookmarkNode* node, 157 BookmarkNode* node,
158 const std::wstring& new_title, 158 const std::wstring& new_title,
159 const GURL& new_url, 159 const GURL& new_url,
160 BookmarkEditor::Handler* handler); 160 BookmarkEditor::Handler* handler);
161 161
162 // Toggles whether the bookmark bar is shown only on the new tab page or on 162 // Toggles whether the bookmark bar is shown only on the new tab page or on
163 // all tabs. This is a preference modifier, not a visual modifier. 163 // all tabs. This is a preference modifier, not a visual modifier.
164 void ToggleWhenVisible(Profile* profile); 164 void ToggleWhenVisible(Profile* profile);
165 165
166 // Register local state prefs for bookmark bar view.
167 void RegisterPrefs(PrefService* prefs);
168
166 // Register user prefs for BookmarkBar, BookmarkView, ... 169 // Register user prefs for BookmarkBar, BookmarkView, ...
167 void RegisterUserPrefs(PrefService* prefs); 170 void RegisterUserPrefs(PrefService* prefs);
168 171
169 // Number of bookmarks we'll open before prompting the user to see if they 172 // Number of bookmarks we'll open before prompting the user to see if they
170 // really want to open all. 173 // really want to open all.
171 // 174 //
172 // NOTE: treat this as a const. It is not const as various tests change the 175 // NOTE: treat this as a const. It is not const as various tests change the
173 // value. 176 // value.
174 extern int num_urls_before_prompting; 177 extern int num_urls_before_prompting;
175 178
176 } // namespace bookmark_utils 179 } // namespace bookmark_utils
177 180
178 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ 181 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_manager.h ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698