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

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

Issue 8776025: Makes views show the 'mobile' bookmark folder where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ('k') | 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/views/wrench_menu.h" 5 #include "chrome/browser/ui/views/wrench_menu.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <set> 9 #include <set>
10 10
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 // TODO(oshima): Replace with views only API. 887 // TODO(oshima): Replace with views only API.
888 views::Widget* parent = views::Widget::GetWidgetForNativeWindow( 888 views::Widget* parent = views::Widget::GetWidgetForNativeWindow(
889 browser_->window()->GetNativeHandle()); 889 browser_->window()->GetNativeHandle());
890 bookmark_menu_delegate_.reset( 890 bookmark_menu_delegate_.reset(
891 new BookmarkMenuDelegate(browser_->profile(), 891 new BookmarkMenuDelegate(browser_->profile(),
892 NULL, 892 NULL,
893 parent, 893 parent,
894 first_bookmark_command_id_)); 894 first_bookmark_command_id_));
895 bookmark_menu_delegate_->Init( 895 bookmark_menu_delegate_->Init(
896 this, bookmark_menu_, model->bookmark_bar_node(), 0, 896 this, bookmark_menu_, model->bookmark_bar_node(), 0,
897 BookmarkMenuDelegate::SHOW_OTHER_FOLDER, 897 BookmarkMenuDelegate::SHOW_PERMANENT_FOLDERS,
898 bookmark_utils::LAUNCH_WRENCH_MENU); 898 bookmark_utils::LAUNCH_WRENCH_MENU);
899 } 899 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698