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

Side by Side Diff: chrome/browser/bookmarks/bookmark_model.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/bookmarks/bookmark_model.h" 5 #include "chrome/browser/bookmarks/bookmark_model.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/scoped_vector.h" 11 #include "base/scoped_vector.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/bookmarks/bookmark_index.h" 13 #include "chrome/browser/bookmarks/bookmark_index.h"
14 #include "chrome/browser/bookmarks/bookmark_utils.h" 14 #include "chrome/browser/bookmarks/bookmark_utils.h"
15 #include "chrome/browser/bookmarks/bookmark_storage.h" 15 #include "chrome/browser/bookmarks/bookmark_storage.h"
16 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/history/history_notifications.h" 17 #include "chrome/browser/history/history_notifications.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/common/notification_service.h" 19 #include "chrome/common/notification_service.h"
20 #include "gfx/codec/png_codec.h"
21 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
22 #include "ui/base/l10n/l10n_util.h" 21 #include "ui/base/l10n/l10n_util.h"
23 #include "ui/base/l10n/l10n_util_collator.h" 22 #include "ui/base/l10n/l10n_util_collator.h"
23 #include "ui/gfx/codec/png_codec.h"
24 24
25 using base::Time; 25 using base::Time;
26 26
27 namespace { 27 namespace {
28 28
29 // Helper to get a mutable bookmark node. 29 // Helper to get a mutable bookmark node.
30 static BookmarkNode* AsMutable(const BookmarkNode* node) { 30 static BookmarkNode* AsMutable(const BookmarkNode* node) {
31 return const_cast<BookmarkNode*>(node); 31 return const_cast<BookmarkNode*>(node);
32 } 32 }
33 33
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 void BookmarkModel::SetFileChanged() { 822 void BookmarkModel::SetFileChanged() {
823 file_changed_ = true; 823 file_changed_ = true;
824 } 824 }
825 825
826 BookmarkLoadDetails* BookmarkModel::CreateLoadDetails() { 826 BookmarkLoadDetails* BookmarkModel::CreateLoadDetails() {
827 BookmarkNode* bb_node = CreateBookmarkNode(); 827 BookmarkNode* bb_node = CreateBookmarkNode();
828 BookmarkNode* other_folder_node = CreateOtherBookmarksNode(); 828 BookmarkNode* other_folder_node = CreateOtherBookmarksNode();
829 return new BookmarkLoadDetails( 829 return new BookmarkLoadDetails(
830 bb_node, other_folder_node, new BookmarkIndex(profile()), next_node_id_); 830 bb_node, other_folder_node, new BookmarkIndex(profile()), next_node_id_);
831 } 831 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_html_writer_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698