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

Side by Side Diff: chrome/browser/ui/views/bookmark_bar_view.cc

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/views/bookmark_bar_view.h" 5 #include "chrome/browser/views/bookmark_bar_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/metrics/user_metrics.h" 25 #include "chrome/browser/metrics/user_metrics.h"
26 #include "chrome/browser/prefs/pref_service.h" 26 #include "chrome/browser/prefs/pref_service.h"
27 #include "chrome/browser/profile.h" 27 #include "chrome/browser/profile.h"
28 #include "chrome/browser/renderer_host/render_view_host.h" 28 #include "chrome/browser/renderer_host/render_view_host.h"
29 #include "chrome/browser/renderer_host/render_widget_host_view.h" 29 #include "chrome/browser/renderer_host/render_widget_host_view.h"
30 #include "chrome/browser/sync/sync_ui_util.h" 30 #include "chrome/browser/sync/sync_ui_util.h"
31 #include "chrome/browser/tab_contents/page_navigator.h" 31 #include "chrome/browser/tab_contents/page_navigator.h"
32 #include "chrome/browser/tab_contents/tab_contents.h" 32 #include "chrome/browser/tab_contents/tab_contents.h"
33 #include "chrome/browser/themes/browser_theme_provider.h" 33 #include "chrome/browser/themes/browser_theme_provider.h"
34 #include "chrome/browser/ui/browser.h" 34 #include "chrome/browser/ui/browser.h"
35 #include "chrome/browser/view_ids.h" 35 #include "chrome/browser/ui/view_ids.h"
36 #include "chrome/browser/views/bookmark_context_menu.h" 36 #include "chrome/browser/ui/views/bookmark_context_menu.h"
37 #include "chrome/browser/views/event_utils.h" 37 #include "chrome/browser/ui/views/event_utils.h"
38 #include "chrome/browser/views/frame/browser_view.h" 38 #include "chrome/browser/ui/views/frame/browser_view.h"
39 #include "chrome/browser/views/location_bar/location_bar_view.h" 39 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
40 #include "chrome/common/notification_service.h" 40 #include "chrome/common/notification_service.h"
41 #include "chrome/common/page_transition_types.h" 41 #include "chrome/common/page_transition_types.h"
42 #include "chrome/common/pref_names.h" 42 #include "chrome/common/pref_names.h"
43 #include "gfx/canvas_skia.h" 43 #include "gfx/canvas_skia.h"
44 #include "grit/app_resources.h" 44 #include "grit/app_resources.h"
45 #include "grit/generated_resources.h" 45 #include "grit/generated_resources.h"
46 #include "grit/theme_resources.h" 46 #include "grit/theme_resources.h"
47 #include "views/controls/button/menu_button.h" 47 #include "views/controls/button/menu_button.h"
48 #include "views/controls/label.h" 48 #include "views/controls/label.h"
49 #include "views/controls/menu/menu_item_view.h" 49 #include "views/controls/menu/menu_item_view.h"
(...skipping 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 // The tooltip is the only way we have to display text explaining the error 1733 // The tooltip is the only way we have to display text explaining the error
1734 // to the user. 1734 // to the user.
1735 sync_error_button->SetTooltipText( 1735 sync_error_button->SetTooltipText(
1736 l10n_util::GetString(IDS_SYNC_BOOKMARK_BAR_ERROR_DESC)); 1736 l10n_util::GetString(IDS_SYNC_BOOKMARK_BAR_ERROR_DESC));
1737 sync_error_button->SetAccessibleName( 1737 sync_error_button->SetAccessibleName(
1738 l10n_util::GetString(IDS_ACCNAME_SYNC_ERROR_BUTTON)); 1738 l10n_util::GetString(IDS_ACCNAME_SYNC_ERROR_BUTTON));
1739 sync_error_button->SetIcon( 1739 sync_error_button->SetIcon(
1740 *ResourceBundle::GetSharedInstance().GetBitmapNamed(IDR_WARNING)); 1740 *ResourceBundle::GetSharedInstance().GetBitmapNamed(IDR_WARNING));
1741 return sync_error_button; 1741 return sync_error_button;
1742 } 1742 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/accessible_pane_view.cc ('k') | chrome/browser/ui/views/browser_actions_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698