OLD | NEW |
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_menu_controller_views.h" | 5 #include "chrome/browser/views/bookmark_menu_controller_views.h" |
6 | 6 |
7 #include "app/l10n_util.h" | |
8 #include "app/os_exchange_data.h" | 7 #include "app/os_exchange_data.h" |
9 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
10 #include "base/stl_util-inl.h" | 9 #include "base/stl_util-inl.h" |
11 #include "chrome/browser/bookmarks/bookmark_drag_data.h" | 10 #include "chrome/browser/bookmarks/bookmark_drag_data.h" |
12 #include "chrome/browser/bookmarks/bookmark_model.h" | 11 #include "chrome/browser/bookmarks/bookmark_model.h" |
13 #include "chrome/browser/bookmarks/bookmark_utils.h" | 12 #include "chrome/browser/bookmarks/bookmark_utils.h" |
14 #include "chrome/browser/metrics/user_metrics.h" | 13 #include "chrome/browser/metrics/user_metrics.h" |
15 #include "chrome/browser/profile.h" | 14 #include "chrome/browser/profile.h" |
16 #include "chrome/browser/tab_contents/page_navigator.h" | 15 #include "chrome/browser/tab_contents/page_navigator.h" |
17 #include "chrome/browser/views/bookmark_bar_view.h" | 16 #include "chrome/browser/views/bookmark_bar_view.h" |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 break; | 397 break; |
399 } | 398 } |
400 } | 399 } |
401 if (ancestor_removed) { | 400 if (ancestor_removed) { |
402 node_to_menu_id_map_.erase(i++); | 401 node_to_menu_id_map_.erase(i++); |
403 } else { | 402 } else { |
404 ++i; | 403 ++i; |
405 } | 404 } |
406 } | 405 } |
407 } | 406 } |
OLD | NEW |