DescriptionCleanup BookmarkBubbleView, remove LocationBarBubbleDelegateView::GetDialogButtons().
We want BookmarkBubbleView to be consistent with other dialogs. E.g. it
should use GetDialogButtons(), but LocationBarBubbleDelegateView's
override gets in the way, remove it. Most LocationBarBubbleDelegateView
will not want it, but don't break them yet.
Then, cleanups for BookmarkBubbleView:
- Renames GetTitle() to GetBookmarkName() so it's not confused with the
dialog title.
- Renames close_button_ to save_button_ so it's not confused with the
close [x].
- Renames bookmark_details_view_ to bookmark_contents_view_ (there's
only one level of detail). Also don't use unique_ptr for a View that's
also owned by the View hierarchy.
- Removes some FRIEND_TEST_ALL_PREFIXES; use neater techniques.
- Removes ScopedAllowIO from the browsertest and reduces boilerplate.
BUG=726187
Review-Url: https://codereview.chromium.org/2905243003
Cr-Commit-Position: refs/heads/master@{#475259}
Committed: https://chromium.googlesource.com/chromium/src/+/85c36f9e4420de87c3b5cff31d090f158a5252d0
Patch Set 1 #Patch Set 2 : neater #
Total comments: 10
Patch Set 3 : respond to comments #Patch Set 4 : rebase on crrev/2904333002 #Patch Set 5 : Can you find the CL now? #
Total comments: 4
Patch Set 6 : better comments #Patch Set 7 : Rebase for r475249 #Messages
Total messages: 56 (47 generated)
|