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

Side by Side Diff: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc

Issue 7474018: gtk/bookmarks: Remove unneeded includes from bookmark_bar_gtk.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/gtk/bookmarks/bookmark_bar_gtk.h" 5 #include "chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/bookmarks/bookmark_model.h" 11 #include "chrome/browser/bookmarks/bookmark_model.h"
12 #include "chrome/browser/bookmarks/bookmark_node_data.h" 12 #include "chrome/browser/bookmarks/bookmark_node_data.h"
13 #include "chrome/browser/bookmarks/bookmark_utils.h" 13 #include "chrome/browser/bookmarks/bookmark_utils.h"
14 #include "chrome/browser/browser_shutdown.h" 14 #include "chrome/browser/browser_shutdown.h"
15 #include "chrome/browser/extensions/extension_service.h" 15 #include "chrome/browser/extensions/extension_service.h"
16 #include "chrome/browser/ntp_background_util.h" 16 #include "chrome/browser/ntp_background_util.h"
17 #include "chrome/browser/prefs/pref_service.h" 17 #include "chrome/browser/prefs/pref_service.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/sync/sync_ui_util.h" 19 #include "chrome/browser/sync/sync_ui_util.h"
20 #include "chrome/browser/ui/browser.h" 20 #include "chrome/browser/ui/browser.h"
21 #include "chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h" 21 #include "chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h"
22 #include "chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.h"
23 #include "chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h" 22 #include "chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h"
24 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 23 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
25 #include "chrome/browser/ui/gtk/cairo_cached_surface.h" 24 #include "chrome/browser/ui/gtk/cairo_cached_surface.h"
26 #include "chrome/browser/ui/gtk/custom_button.h" 25 #include "chrome/browser/ui/gtk/custom_button.h"
27 #include "chrome/browser/ui/gtk/gtk_chrome_button.h" 26 #include "chrome/browser/ui/gtk/gtk_chrome_button.h"
28 #include "chrome/browser/ui/gtk/gtk_theme_service.h" 27 #include "chrome/browser/ui/gtk/gtk_theme_service.h"
29 #include "chrome/browser/ui/gtk/gtk_util.h" 28 #include "chrome/browser/ui/gtk/gtk_util.h"
30 #include "chrome/browser/ui/gtk/hover_controller_gtk.h" 29 #include "chrome/browser/ui/gtk/hover_controller_gtk.h"
31 #include "chrome/browser/ui/gtk/menu_gtk.h" 30 #include "chrome/browser/ui/gtk/menu_gtk.h"
32 #include "chrome/browser/ui/gtk/rounded_window.h" 31 #include "chrome/browser/ui/gtk/rounded_window.h"
33 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h"
34 #include "chrome/browser/ui/gtk/tabstrip_origin_provider.h" 32 #include "chrome/browser/ui/gtk/tabstrip_origin_provider.h"
35 #include "chrome/browser/ui/gtk/view_id_util.h" 33 #include "chrome/browser/ui/gtk/view_id_util.h"
36 #include "chrome/common/chrome_notification_types.h" 34 #include "chrome/common/chrome_notification_types.h"
37 #include "chrome/common/extensions/extension_constants.h" 35 #include "chrome/common/extensions/extension_constants.h"
38 #include "chrome/common/pref_names.h" 36 #include "chrome/common/pref_names.h"
39 #include "content/browser/tab_contents/tab_contents.h" 37 #include "content/browser/tab_contents/tab_contents.h"
40 #include "content/browser/tab_contents/tab_contents_view.h" 38 #include "content/browser/tab_contents/tab_contents_view.h"
41 #include "content/browser/user_metrics.h" 39 #include "content/browser/user_metrics.h"
42 #include "content/common/notification_service.h" 40 #include "content/common/notification_service.h"
43 #include "grit/generated_resources.h" 41 #include "grit/generated_resources.h"
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 void BookmarkBarGtk::OnEditBookmarksEnabledChanged() { 1459 void BookmarkBarGtk::OnEditBookmarksEnabledChanged() {
1462 GtkDestDefaults dest_defaults = 1460 GtkDestDefaults dest_defaults =
1463 *edit_bookmarks_enabled_ ? GTK_DEST_DEFAULT_ALL : 1461 *edit_bookmarks_enabled_ ? GTK_DEST_DEFAULT_ALL :
1464 GTK_DEST_DEFAULT_DROP; 1462 GTK_DEST_DEFAULT_DROP;
1465 gtk_drag_dest_set(overflow_button_, dest_defaults, NULL, 0, kDragAction); 1463 gtk_drag_dest_set(overflow_button_, dest_defaults, NULL, 0, kDragAction);
1466 gtk_drag_dest_set(other_bookmarks_button_, dest_defaults, 1464 gtk_drag_dest_set(other_bookmarks_button_, dest_defaults,
1467 NULL, 0, kDragAction); 1465 NULL, 0, kDragAction);
1468 ui::SetDestTargetList(overflow_button_, kDestTargetList); 1466 ui::SetDestTargetList(overflow_button_, kDestTargetList);
1469 ui::SetDestTargetList(other_bookmarks_button_, kDestTargetList); 1467 ui::SetDestTargetList(other_bookmarks_button_, kDestTargetList);
1470 } 1468 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698