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

Unified Diff: chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm

Issue 911203002: [Extensions Toolbar Mac] Remove ToolbarActionViewDelegateCocoa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/cocoa/location_bar/page_action_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
index 5196b238ce9da779cf7b8bb2a89e09ce3a5572bf..ff473dd9e1d21204444ca0fd78b3ec5b5a793aa5 100644
--- a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
@@ -161,12 +161,3 @@ void PageActionDecoration::UpdateState() {
owner_->RedrawDecoration(this);
}
}
-
-NSPoint PageActionDecoration::GetPopupPoint() {
- // Anchor popup at the bottom center of the page action icon.
- AutocompleteTextField* field = owner_->GetAutocompleteTextField();
- NSPoint anchor = GetBubblePointInFrame(
- owner_->GetPageActionFrame(viewController_->extension_action()));
- anchor = [field convertPoint:anchor toView:nil];
- return anchor;
-}

Powered by Google App Engine
This is Rietveld 408576698