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

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

Issue 2628943003: Add metrics for triggering of JS dialogs on Android. (Closed)
Patch Set: Rebase and updated comment 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 4669c9dbed867b91ce189a5e7260549f1221aac4..7b477b3cda4d535fe08f881a4875273936903bf4 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -97,6 +97,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();
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698