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

Side by Side Diff: chrome/browser/views/bookmark_bubble_view.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_bubble_view.h" 5 #include "chrome/browser/views/bookmark_bubble_view.h"
6 6
7 #include "app/gfx/canvas.h"
8 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
9 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
10 #include "base/keyboard_codes.h" 9 #include "base/keyboard_codes.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "chrome/app/chrome_dll_resource.h" 11 #include "chrome/app/chrome_dll_resource.h"
13 #include "chrome/browser/bookmarks/bookmark_editor.h" 12 #include "chrome/browser/bookmarks/bookmark_editor.h"
14 #include "chrome/browser/bookmarks/bookmark_model.h" 13 #include "chrome/browser/bookmarks/bookmark_model.h"
15 #include "chrome/browser/bookmarks/bookmark_utils.h" 14 #include "chrome/browser/bookmarks/bookmark_utils.h"
16 #include "chrome/browser/metrics/user_metrics.h" 15 #include "chrome/browser/metrics/user_metrics.h"
17 #include "chrome/browser/profile.h" 16 #include "chrome/browser/profile.h"
18 #include "chrome/browser/views/info_bubble.h" 17 #include "chrome/browser/views/info_bubble.h"
19 #include "chrome/common/notification_service.h" 18 #include "chrome/common/notification_service.h"
19 #include "gfx/canvas.h"
20 #include "gfx/color_utils.h" 20 #include "gfx/color_utils.h"
21 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
22 #include "grit/theme_resources.h" 22 #include "grit/theme_resources.h"
23 #include "views/event.h" 23 #include "views/event.h"
24 #include "views/standard_layout.h" 24 #include "views/standard_layout.h"
25 #include "views/controls/button/native_button.h" 25 #include "views/controls/button/native_button.h"
26 #include "views/controls/textfield/textfield.h" 26 #include "views/controls/textfield/textfield.h"
27 #include "views/focus/focus_manager.h" 27 #include "views/focus/focus_manager.h"
28 28
29 using views::Combobox; 29 using views::Combobox;
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 parent_model_.GetItemCount() - 1) { 444 parent_model_.GetItemCount() - 1) {
445 const BookmarkNode* new_parent = 445 const BookmarkNode* new_parent =
446 parent_model_.GetNodeAt(parent_combobox_->selected_item()); 446 parent_model_.GetNodeAt(parent_combobox_->selected_item());
447 if (new_parent != node->GetParent()) { 447 if (new_parent != node->GetParent()) {
448 UserMetrics::RecordAction("BookmarkBubble_ChangeParent", profile_); 448 UserMetrics::RecordAction("BookmarkBubble_ChangeParent", profile_);
449 model->Move(node, new_parent, new_parent->GetChildCount()); 449 model->Move(node, new_parent, new_parent->GetChildCount());
450 } 450 }
451 } 451 }
452 } 452 }
453 } 453 }
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698