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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h

Issue 677533003: Changes BookmarkBarView to only create buttons as needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: really dont join Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h
index ea24bbbcfb999766bc4eaec265889cab06d51b92..5df0c94f5ce66018593b2748fda97c5b57eb8ab8 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h
@@ -15,8 +15,14 @@ class BookmarkBarViewTestHelper {
int GetBookmarkButtonCount() { return bbv_->GetBookmarkButtonCount(); }
+ views::LabelButton* GetBookmarkButton(int index) {
+ return bbv_->GetBookmarkButton(index);
+ }
+
views::LabelButton* apps_page_shortcut() { return bbv_->apps_page_shortcut_; }
+ views::MenuButton* overflow_button() { return bbv_->overflow_button_; }
+
private:
BookmarkBarView* bbv_;

Powered by Google App Engine
This is Rietveld 408576698