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

Side by Side Diff: ios/chrome/browser/tabs/tab.h

Issue 2894883004: Removed IsNativeAppLauncherEnabled() experiment (Closed)
Patch Set: rebase Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_H_ 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_H_
6 #define IOS_CHROME_BROWSER_TABS_TAB_H_ 6 #define IOS_CHROME_BROWSER_TABS_TAB_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #import "components/signin/ios/browser/manage_accounts_delegate.h" 13 #import "components/signin/ios/browser/manage_accounts_delegate.h"
14 #import "ios/chrome/browser/web/sad_tab_tab_helper_delegate.h" 14 #import "ios/chrome/browser/web/sad_tab_tab_helper_delegate.h"
15 #include "ios/net/request_tracker.h" 15 #include "ios/net/request_tracker.h"
16 #include "ios/web/public/user_agent.h" 16 #include "ios/web/public/user_agent.h"
17 #import "ios/web/public/web_state/ui/crw_web_delegate.h" 17 #import "ios/web/public/web_state/ui/crw_web_delegate.h"
18 #include "ui/base/page_transition_types.h" 18 #include "ui/base/page_transition_types.h"
19 19
20 @class AutofillController; 20 @class AutofillController;
21 @class AutoReloadBridge; 21 @class AutoReloadBridge;
22 @class CastController; 22 @class CastController;
23 @class CRWWebController; 23 @class CRWWebController;
24 @class ExternalAppLauncher; 24 @class ExternalAppLauncher;
25 @class FormInputAccessoryViewController; 25 @class FormInputAccessoryViewController;
26 @class FullScreenController; 26 @class FullScreenController;
27 @protocol FullScreenControllerDelegate; 27 @protocol FullScreenControllerDelegate;
28 class GURL; 28 class GURL;
29 @class NativeAppNavigationController;
30 @class OpenInController; 29 @class OpenInController;
31 @class OverscrollActionsController; 30 @class OverscrollActionsController;
32 @protocol OverscrollActionsControllerDelegate; 31 @protocol OverscrollActionsControllerDelegate;
33 @protocol PassKitDialogProvider; 32 @protocol PassKitDialogProvider;
34 @class PasswordController; 33 @class PasswordController;
35 @class SnapshotManager; 34 @class SnapshotManager;
36 @protocol SnapshotOverlayProvider; 35 @protocol SnapshotOverlayProvider;
37 @class FormSuggestionController; 36 @class FormSuggestionController;
38 @protocol TabDelegate; 37 @protocol TabDelegate;
39 @protocol TabDialogDelegate; 38 @protocol TabDialogDelegate;
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // When snapshot coalescing is enabled, mutiple calls to generate a snapshot 281 // When snapshot coalescing is enabled, mutiple calls to generate a snapshot
283 // with the same parameters may be coalesced. 282 // with the same parameters may be coalesced.
284 - (void)setSnapshotCoalescingEnabled:(BOOL)snapshotCoalescingEnabled; 283 - (void)setSnapshotCoalescingEnabled:(BOOL)snapshotCoalescingEnabled;
285 284
286 // Returns the rect (in |view|'s coordinate space) to include for snapshotting. 285 // Returns the rect (in |view|'s coordinate space) to include for snapshotting.
287 - (CGRect)snapshotContentArea; 286 - (CGRect)snapshotContentArea;
288 287
289 // Called when the snapshot of the content will be taken. 288 // Called when the snapshot of the content will be taken.
290 - (void)willUpdateSnapshot; 289 - (void)willUpdateSnapshot;
291 290
292 // Returns the NativeAppNavigationController for this tab.
293 - (NativeAppNavigationController*)nativeAppNavigationController;
294
295 // Called when this tab is shown. 291 // Called when this tab is shown.
296 - (void)wasShown; 292 - (void)wasShown;
297 293
298 // Called when this tab is hidden. 294 // Called when this tab is hidden.
299 - (void)wasHidden; 295 - (void)wasHidden;
300 296
301 // Evaluates U2F result. 297 // Evaluates U2F result.
302 - (void)evaluateU2FResultFromURL:(const GURL&)url; 298 - (void)evaluateU2FResultFromURL:(const GURL&)url;
303 299
304 // Cancels prerendering. It is an error to call this on anything except a 300 // Cancels prerendering. It is an error to call this on anything except a
305 // prerender tab (where |isPrerenderTab| is set to YES). 301 // prerender tab (where |isPrerenderTab| is set to YES).
306 - (void)discardPrerender; 302 - (void)discardPrerender;
307 303
308 @end 304 @end
309 305
310 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ 306 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698