Commit be5810d1 authored by Peter Boström's avatar Peter Boström Committed by Commit Bot

Remove unused observer from ReadLaterBubbleView

Bug: 1109316
Change-Id: Ieb94246f7aabc11a9a6092e67dba67a6610c4147
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500451
Auto-Submit: Peter Boström <pbos@chromium.org>
Commit-Queue: Caroline Rising <corising@chromium.org>
Reviewed-by: default avatarCaroline Rising <corising@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821223}
parent 895f82ed
...@@ -47,6 +47,3 @@ ReadLaterBubbleView::ReadLaterBubbleView(const Browser* browser, ...@@ -47,6 +47,3 @@ ReadLaterBubbleView::ReadLaterBubbleView(const Browser* browser,
: WebBubbleDialogView(browser->profile(), anchor_view) {} : WebBubbleDialogView(browser->profile(), anchor_view) {}
ReadLaterBubbleView::~ReadLaterBubbleView() = default; ReadLaterBubbleView::~ReadLaterBubbleView() = default;
void ReadLaterBubbleView::ReadingListModelLoaded(
const ReadingListModel* model) {}
...@@ -14,8 +14,7 @@ class Browser; ...@@ -14,8 +14,7 @@ class Browser;
// This bubble view displays a list of read-later entries. // This bubble view displays a list of read-later entries.
// This class is only used with the kReadLater feature. // This class is only used with the kReadLater feature.
class ReadLaterBubbleView : public views::WebBubbleDialogView, class ReadLaterBubbleView : public views::WebBubbleDialogView {
public ReadingListModelObserver {
public: public:
// Displays the read-later dialog under |anchor_view|, attached to |browser|. // Displays the read-later dialog under |anchor_view|, attached to |browser|.
static base::WeakPtr<ReadLaterBubbleView> Show(const Browser* browser, static base::WeakPtr<ReadLaterBubbleView> Show(const Browser* browser,
...@@ -27,9 +26,6 @@ class ReadLaterBubbleView : public views::WebBubbleDialogView, ...@@ -27,9 +26,6 @@ class ReadLaterBubbleView : public views::WebBubbleDialogView,
~ReadLaterBubbleView() override; ~ReadLaterBubbleView() override;
private: private:
// ReadingListModelObserver:
void ReadingListModelLoaded(const ReadingListModel* model) override;
base::WeakPtrFactory<ReadLaterBubbleView> weak_factory_{this}; base::WeakPtrFactory<ReadLaterBubbleView> weak_factory_{this};
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment