| Index: chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h b/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
|
| index bc70f83d159bb84e02404dca5da495c8918b296f..a51ffca070b0d847104f07c6a7bef216cb070a17 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
|
| +++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
|
| @@ -13,6 +13,7 @@
|
| class LocationBarViewMac;
|
| @class ZoomBubbleController;
|
| class ZoomController;
|
| +class ZoomDecorationTest;
|
|
|
| // Zoom icon at the end of the omnibox (close to page actions) when at a
|
| // non-standard zoom level.
|
| @@ -30,7 +31,11 @@ class ZoomDecoration : public ImageDecoration {
|
| void ShowBubble(BOOL auto_close);
|
|
|
| private:
|
| + friend ZoomDecorationTest;
|
| +
|
| NSPoint GetBubblePointInFrame(NSRect frame);
|
| + bool IsAtDefaultZoom() const;
|
| + bool ShouldShowDecoration() const;
|
|
|
| // LocationBarDecoration implementation.
|
| virtual bool AcceptsMousePress() OVERRIDE;
|
|
|