Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1826)

Unified Diff: chrome/browser/android/tab_android.h

Issue 2628943003: Add metrics for triggering of JS dialogs on Android. (Closed)
Patch Set: Log only for confirm dialog Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index 1bdebccc7d4f0ac77f5d43bacbb51102ab3cc56e..95ccf673623c707488a5980fcea716ebcc818c7a 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -108,6 +108,10 @@ class TabAndroid : public CoreTabHelperDelegate,
// Return the tab url.
GURL GetURL() const;
+ // Return whether the tab is currently visible and the user can interact with
+ // it.
+ bool IsUserInteractable() const;
+
// Load the tab if it was unloaded from memory.
bool LoadIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698