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

Remove ExtensionInstalledBubble::GetAnchorPoint

This code is super-dead (no call sites) since r723360 and was
effectively dead even before.

Bug: None
Change-Id: Ide433205873285a783efa4dc8a07185d66b6021b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1959804
Commit-Queue: Peter Boström <pbos@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Auto-Submit: Peter Boström <pbos@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723395}
parent 25f00bd5
...@@ -22,10 +22,6 @@ class Command; ...@@ -22,10 +22,6 @@ class Command;
class Extension; class Extension;
} }
namespace gfx {
class Point;
}
// Provides feedback to the user upon successful installation of an // Provides feedback to the user upon successful installation of an
// extension. Depending on the type of extension, the Bubble will // extension. Depending on the type of extension, the Bubble will
// point to: // point to:
...@@ -96,10 +92,6 @@ class ExtensionInstalledBubble : public BubbleDelegate { ...@@ -96,10 +92,6 @@ class ExtensionInstalledBubble : public BubbleDelegate {
// TODO(hcarmona): Detect animation in a platform-agnostic manner. // TODO(hcarmona): Detect animation in a platform-agnostic manner.
bool ShouldShow(); bool ShouldShow();
// Returns the anchor point in screen coordinates. Used when there is no
// anchor view.
gfx::Point GetAnchorPoint(gfx::NativeWindow window) const;
// Returns the string describing how to use the new extension. // Returns the string describing how to use the new extension.
base::string16 GetHowToUseDescription() const; base::string16 GetHowToUseDescription() const;
......
...@@ -487,12 +487,6 @@ bool ExtensionInstalledBubble::ShouldShow() { ...@@ -487,12 +487,6 @@ bool ExtensionInstalledBubble::ShouldShow() {
return true; return true;
} }
gfx::Point ExtensionInstalledBubble::GetAnchorPoint(
gfx::NativeWindow window) const {
NOTREACHED(); // There is always an anchor view.
return gfx::Point();
}
std::unique_ptr<BubbleUi> ExtensionInstalledBubble::BuildBubbleUi() { std::unique_ptr<BubbleUi> ExtensionInstalledBubble::BuildBubbleUi() {
return base::WrapUnique(new ExtensionInstalledBubbleUi(this)); return base::WrapUnique(new ExtensionInstalledBubbleUi(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