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

Unified Diff: chrome/browser/ui/android/tab_model/tab_model.h

Issue 866443003: Push API: Don't require notification if tab is visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ycm_outdir
Patch Set: Fix Android compile Created 5 years, 10 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/ui/android/tab_model/tab_model.h
diff --git a/chrome/browser/ui/android/tab_model/tab_model.h b/chrome/browser/ui/android/tab_model/tab_model.h
index 0125f978e167df36d2fd7d097faca21b0d9a12e7..8a48f09ca1882444e5894fc3eb23431a3c7b002b 100644
--- a/chrome/browser/ui/android/tab_model/tab_model.h
+++ b/chrome/browser/ui/android/tab_model/tab_model.h
@@ -37,6 +37,7 @@ class TabModel : public content::NotificationObserver {
virtual int GetTabCount() const = 0;
virtual int GetActiveIndex() const = 0;
+ virtual content::WebContents* GetActiveWebContents() const;
virtual content::WebContents* GetWebContentsAt(int index) const = 0;
// This will return NULL if the tab has not yet been initialized.
virtual TabAndroid* GetTabAt(int index) const = 0;
« no previous file with comments | « chrome/browser/services/gcm/push_messaging_service_impl.cc ('k') | chrome/browser/ui/android/tab_model/tab_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698