Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: ios/chrome/app/steps/tab_grid_coordinator+application_step.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years 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/chrome/app/steps/tab_grid_coordinator+application_step.h
diff --git a/ios/chrome/app/steps/tab_grid_coordinator+application_step.h b/ios/chrome/app/steps/tab_grid_coordinator+application_step.h
new file mode 100644
index 0000000000000000000000000000000000000000..e7fdf90149101e32f7fca8a1f520b8bb295d150f
--- /dev/null
+++ b/ios/chrome/app/steps/tab_grid_coordinator+application_step.h
@@ -0,0 +1,27 @@
+// Copyright 2016 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.
+// ====== New Architecture =====
+// = This code is only used in the new iOS Chrome architecture. =
+// ============================================================================
+#import <UIKit/UIKit.h>
+#include "ios/chrome/app/application_step.h"
+#import "ios/chrome/browser/ui/tab_grid/tab_grid_coordinator.h"
+// Category on TabGridCoordinator to allow it to act as an application step
+// and control the root UI for the application when is starts.
+// Creates the main window and makes it key, but doesn't make it visible yet.
+// Pre: Application phase is APPLICATION_FOREGROUNDED and the main window is
+// key.
+// Post: Application phase is (still) APPLICATION_FOREGROUNDED, the main window
+// is visible and has a root view controller set.
+@interface TabGridCoordinator (ApplicationStep)<ApplicationStep>
« no previous file with comments | « ios/chrome/app/steps/ ('k') | ios/chrome/app/steps/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698