summaryrefslogtreecommitdiff
path: root/chromium/content/browser/web_contents/web_contents_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/web_contents/web_contents_impl.h')
-rw-r--r--chromium/content/browser/web_contents/web_contents_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/content/browser/web_contents/web_contents_impl.h b/chromium/content/browser/web_contents/web_contents_impl.h
index 18f4c9f12ad..3d24182d36a 100644
--- a/chromium/content/browser/web_contents/web_contents_impl.h
+++ b/chromium/content/browser/web_contents/web_contents_impl.h
@@ -1326,6 +1326,10 @@ class CONTENT_EXPORT WebContentsImpl : public WebContents,
// Reattaches this inner WebContents to its outer WebContents.
void ReattachToOuterWebContentsFrame();
+ // A helper for clearing the link status bubble after navigating away.
+ // See also UpdateTargetURL.
+ void ClearTargetURL();
+
// Data for core operation ---------------------------------------------------
// Delegate for notifying our owner about stuff. Not owned by us.
@@ -1664,6 +1668,9 @@ class CONTENT_EXPORT WebContentsImpl : public WebContents,
bool was_ever_audible_ = false;
+ // Helper variable for resolving races in UpdateTargetURL / ClearTargetURL.
+ RenderViewHost* view_that_set_last_target_url_ = nullptr;
+
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
base::WeakPtrFactory<WebContentsImpl> weak_factory_;