Commit 432eb007 authored by bauerb's avatar bauerb Committed by Commit bot

Hide the "Open PDF in Reader" bubble on navigations.

BUG=444957

Review URL: https://codereview.chromium.org/831283002

Cr-Commit-Position: refs/heads/master@{#310167}
parent a4473fef
......@@ -35,6 +35,10 @@ void OpenPDFInReaderView::Update(content::WebContents* web_contents) {
}
SetVisible(!!model_);
// Hide the bubble if it is currently shown and the icon is hidden.
if (!model_ && bubble_)
bubble_->GetWidget()->Hide();
}
void OpenPDFInReaderView::ShowBubble() {
......
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