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

Unified Diff: ios/shared/chrome/browser/tabs/web_state_opener.h

Issue 2799723002: [ios] Move WebStateList to ios/chrome/browser/web_state_list. (Closed)
Patch Set: Rebase. Created 3 years, 8 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: ios/shared/chrome/browser/tabs/web_state_opener.h
diff --git a/ios/shared/chrome/browser/tabs/web_state_opener.h b/ios/shared/chrome/browser/tabs/web_state_opener.h
deleted file mode 100644
index ef286444b33da3be2878e64a21d7491635a2495f..0000000000000000000000000000000000000000
--- a/ios/shared/chrome/browser/tabs/web_state_opener.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_SHARED_CHROME_BROWSER_TABS_WEB_STATE_OPENER_H_
-#define IOS_SHARED_CHROME_BROWSER_TABS_WEB_STATE_OPENER_H_
-
-namespace web {
-class WebState;
-}
-
-// Represents the opener of a WebState.
-struct WebStateOpener {
- // WebState responsible for the creation of the new WebState. May be null if
- // the WebState has no opener.
- web::WebState* opener;
-
- // Recorded value of the |opener| last committed navigation index when the
- // WebState was open. Value is undefined if |opener| is null.
- int navigation_index;
-
- // Creates WebStateOpener initialising the members from |opener| (the
- // |navigation_index| will be initialised from |opener|'s navigation
- // manager if |opener| is not null).
- explicit WebStateOpener(web::WebState* opener);
-
- // Creates WebStateOpener initialising the members from the parameters.
- WebStateOpener(web::WebState* opener, int navigation_index);
-
- // Forbids default construction.
- WebStateOpener() = delete;
-};
-
-#endif // IOS_SHARED_CHROME_BROWSER_TABS_WEB_STATE_OPENER_H_
« no previous file with comments | « ios/shared/chrome/browser/tabs/web_state_list_unittest.mm ('k') | ios/shared/chrome/browser/tabs/web_state_opener.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698