// Return the flag-driven enabled state of permissions bubbles.
static bool Enabled();
- virtual ~PermissionBubbleManager();
+ ~PermissionBubbleManager() override;
// Adds a new request to the permission bubble. Ownership of the request
// remains with the caller. The caller must arrange for the request to
// Sets the active view for the permission bubble. If this is NULL, it
// means any existing permission bubble can no longer be shown. Does not
// take ownership of the view.
- virtual void SetView(PermissionBubbleView* view) OVERRIDE;
+ void SetView(PermissionBubbleView* view) override;
private:
friend class PermissionBubbleManagerTest;
explicit PermissionBubbleManager(content::WebContents* web_contents);
// WebContentsObserver:
- virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE;
- virtual void DocumentLoadedInFrame(
- content::RenderFrameHost* render_frame_host) OVERRIDE;
+ void DocumentOnLoadCompletedInMainFrame() override;
+ void DocumentLoadedInFrame(
+ content::RenderFrameHost* render_frame_host) override;
// If a page on which permissions requests are pending is navigated,
// they will be finalized as if canceled by the user.
- virtual void NavigationEntryCommitted(
- const content::LoadCommittedDetails& details) OVERRIDE;
- virtual void WebContentsDestroyed() OVERRIDE;
+ void NavigationEntryCommitted(
+ const content::LoadCommittedDetails& details) override;
+ void WebContentsDestroyed() override;
// PermissionBubbleView::Delegate:
- virtual void ToggleAccept(int request_index, bool new_value) OVERRIDE;
- virtual void SetCustomizationMode() OVERRIDE;
- virtual void Accept() OVERRIDE;
- virtual void Deny() OVERRIDE;
- virtual void Closing() OVERRIDE;
+ void ToggleAccept(int request_index, bool new_value) override;
+ void SetCustomizationMode() override;
+ void Accept() override;
+ void Deny() override;
+ void Closing() override;
// Posts a task which will allow the bubble to become visible if it is needed.
void ScheduleShowBubble();