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

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. =
+// ============================================================================
+
+#ifndef IOS_CHROME_APP_STEPS_TAB_GRID_COORDINATOR_APPLICATION_STEP_H_
+#define IOS_CHROME_APP_STEPS_TAB_GRID_COORDINATOR_APPLICATION_STEP_H_
+
+#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>
+@end
+
+#endif // IOS_CHROME_APP_STEPS_TAB_GRID_COORDINATOR_APPLICATION_STEP_H_
« no previous file with comments | « ios/chrome/app/steps/launch_to_foreground.mm ('k') | ios/chrome/app/steps/tab_grid_coordinator+application_step.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698