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

Unified Diff: blimp/client/core/contents/blimp_contents_impl.h

Issue 2201433002: Migrate TabControlFeature from 0.5 to 0.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: blimp/client/core/contents/blimp_contents_impl.h
diff --git a/blimp/client/core/contents/blimp_contents_impl.h b/blimp/client/core/contents/blimp_contents_impl.h
index 1d91ba0d1c61321bce2f56656579a88620b9375f..b9a4cae6584042af094e2e90f95b6e13143f47e8 100644
--- a/blimp/client/core/contents/blimp_contents_impl.h
+++ b/blimp/client/core/contents/blimp_contents_impl.h
@@ -32,6 +32,7 @@ class BlimpContentsImpl : public BlimpContents,
public BlimpNavigationControllerDelegate {
public:
BlimpContentsImpl();
+ explicit BlimpContentsImpl(int id);
~BlimpContentsImpl() override;
#if defined(OS_ANDROID)
@@ -47,6 +48,8 @@ class BlimpContentsImpl : public BlimpContents,
// BlimpNavigationControllerDelegate implementation.
void NotifyURLLoaded(const GURL& url) override;
+ int id() { return id_; }
+
private:
// Handles the back/forward list and loading URLs.
BlimpNavigationControllerImpl navigation_controller_;
@@ -54,6 +57,8 @@ class BlimpContentsImpl : public BlimpContents,
// A list of all the observers of this BlimpContentsImpl.
base::ObserverList<BlimpContentsObserver> observers_;
+ int id_;
+
DISALLOW_COPY_AND_ASSIGN(BlimpContentsImpl);
};

Powered by Google App Engine
This is Rietveld 408576698