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

Side by Side Diff: chrome/browser/bookmark_bar_context_menu_controller.cc

Issue 1868: Moves bookmark related classes into bookmarks directory. There are no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/bookmark_bar_context_menu_controller.h" 5 #include "chrome/browser/bookmark_bar_context_menu_controller.h"
6 6
7 #include "chrome/browser/bookmark_bar_model.h" 7 #include "chrome/browser/bookmarks/bookmark_bar_model.h"
8 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
9 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/page_navigator.h" 10 #include "chrome/browser/page_navigator.h"
11 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profile.h"
12 #include "chrome/browser/tab_contents.h" 12 #include "chrome/browser/tab_contents.h"
13 #include "chrome/browser/user_metrics.h" 13 #include "chrome/browser/user_metrics.h"
14 #include "chrome/browser/views/bookmark_editor_view.h" 14 #include "chrome/browser/views/bookmark_editor_view.h"
15 #include "chrome/browser/views/input_window.h" 15 #include "chrome/browser/views/input_window.h"
16 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
17 #include "chrome/common/pref_service.h" 17 #include "chrome/common/pref_service.h"
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // Adding to a group always adds to the end. 367 // Adding to a group always adds to the end.
368 *visual_order = node_->GetChildCount(); 368 *visual_order = node_->GetChildCount();
369 return node_; 369 return node_;
370 } else { 370 } else {
371 DCHECK(node_->GetParent()); 371 DCHECK(node_->GetParent());
372 *visual_order = node_->GetParent()->IndexOfChild(node_) + 1; 372 *visual_order = node_->GetParent()->IndexOfChild(node_) + 1;
373 return node_->GetParent(); 373 return node_->GetParent();
374 } 374 }
375 } 375 }
376 376
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/search_provider.cc ('k') | chrome/browser/bookmark_bar_context_menu_controller_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698