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

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

Issue 2325893002: [blimp] Add support for having multiple tabs (Closed)
Patch Set: Add tablet and non-blimp support Created 4 years, 3 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_navigation_controller_impl.h
diff --git a/blimp/client/core/contents/blimp_navigation_controller_impl.h b/blimp/client/core/contents/blimp_navigation_controller_impl.h
index db15cb68e645674c0dafe046b2a731c2da7ae73c..c8ec7517f595483bbeaf170a9b9fd9d5b0c33fa7 100644
--- a/blimp/client/core/contents/blimp_navigation_controller_impl.h
+++ b/blimp/client/core/contents/blimp_navigation_controller_impl.h
@@ -23,7 +23,8 @@ class BlimpNavigationControllerImpl
public NavigationFeature::NavigationFeatureDelegate {
public:
// The life time of |feature| must remain valid throughout |this|.
- BlimpNavigationControllerImpl(BlimpNavigationControllerDelegate* delegate,
+ BlimpNavigationControllerImpl(int blimp_contents_id,
+ BlimpNavigationControllerDelegate* delegate,
NavigationFeature* feature);
~BlimpNavigationControllerImpl() override;
@@ -45,6 +46,9 @@ class BlimpNavigationControllerImpl
void OnLoadingChanged(int tab_id, bool loading) override;
void OnPageLoadStatusUpdate(int tab_id, bool completed) override;
+ // The ID for the BlimpContentsImpl this is a controller for.
+ int blimp_contents_id_;
+
// The |navigation_feature_| is responsible for sending and receiving the
// navigation state to the server over the proto channel.
NavigationFeature* navigation_feature_;

Powered by Google App Engine
This is Rietveld 408576698