| OLD | NEW |
| 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/bookmarks/bookmark_utils.h" | 5 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/prefs/pref_service.h" | |
| 11 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 12 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 11 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/search/search.h" | 13 #include "chrome/browser/search/search.h" |
| 15 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
| 16 #include "chrome/common/url_constants.h" | 15 #include "chrome/common/url_constants.h" |
| 17 #include "components/bookmarks/browser/bookmark_model.h" | 16 #include "components/bookmarks/browser/bookmark_model.h" |
| 18 #include "components/bookmarks/browser/bookmark_node_data.h" | 17 #include "components/bookmarks/browser/bookmark_node_data.h" |
| 19 #include "components/bookmarks/common/bookmark_pref_names.h" | 18 #include "components/bookmarks/common/bookmark_pref_names.h" |
| 19 #include "components/prefs/pref_service.h" |
| 20 #include "components/search/search.h" | 20 #include "components/search/search.h" |
| 21 #include "components/url_formatter/url_formatter.h" | 21 #include "components/url_formatter/url_formatter.h" |
| 22 #include "components/user_prefs/user_prefs.h" | 22 #include "components/user_prefs/user_prefs.h" |
| 23 #include "content/public/browser/web_contents.h" | 23 #include "content/public/browser/web_contents.h" |
| 24 #include "ui/base/dragdrop/drag_drop_types.h" | 24 #include "ui/base/dragdrop/drag_drop_types.h" |
| 25 #include "ui/base/dragdrop/drop_target_event.h" | 25 #include "ui/base/dragdrop/drop_target_event.h" |
| 26 | 26 |
| 27 #if defined(ENABLE_EXTENSIONS) | 27 #if defined(ENABLE_EXTENSIONS) |
| 28 #include "chrome/browser/extensions/api/commands/command_service.h" | 28 #include "chrome/browser/extensions/api/commands/command_service.h" |
| 29 #include "extensions/browser/extension_registry.h" | 29 #include "extensions/browser/extension_registry.h" |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 return *ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed( | 319 return *ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed( |
| 320 IDR_BOOKMARK_BAR_FOLDER_MANAGED); | 320 IDR_BOOKMARK_BAR_FOLDER_MANAGED); |
| 321 } | 321 } |
| 322 #endif | 322 #endif |
| 323 | 323 |
| 324 return GetFolderIcon(gfx::VectorIconId::FOLDER_MANAGED, text_color); | 324 return GetFolderIcon(gfx::VectorIconId::FOLDER_MANAGED, text_color); |
| 325 } | 325 } |
| 326 #endif | 326 #endif |
| 327 | 327 |
| 328 } // namespace chrome | 328 } // namespace chrome |
| OLD | NEW |