ContentSettingDecoration(ContentSettingsType settings_type,
LocationBarViewMac* owner,
Profile* profile);
- virtual ~ContentSettingDecoration();
+ ~ContentSettingDecoration() override;
// Updates the image and visibility state based on the supplied WebContents.
// Returns true if the decoration's visible state changed.
bool UpdateFromWebContents(content::WebContents* web_contents);
// Overridden from |LocationBarDecoration|
- virtual bool AcceptsMousePress() OVERRIDE;
- virtual bool OnMousePressed(NSRect frame, NSPoint location) OVERRIDE;
- virtual NSString* GetToolTip() OVERRIDE;
- virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE;
- virtual void DrawInFrame(NSRect frame, NSView* control_view) OVERRIDE;
- virtual NSPoint GetBubblePointInFrame(NSRect frame) OVERRIDE;
+ bool AcceptsMousePress() override;
+ bool OnMousePressed(NSRect frame, NSPoint location) override;
+ NSString* GetToolTip() override;
+ CGFloat GetWidthForSpace(CGFloat width) override;
+ void DrawInFrame(NSRect frame, NSView* control_view) override;
+ NSPoint GetBubblePointInFrame(NSRect frame) override;
// Called from internal animator. Only public because ObjC objects can't
// be friends.