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

Side by Side Diff: chrome/browser/ui/startup/startup_tab.h

Issue 10332117: Revert 136573 - Extract StartupTabs and startup types from StartupBrowserCreator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_
6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_
7 #pragma once
8
9 #include <string>
10 #include <vector>
11
12 #include "googleurl/src/gurl.h"
13
14 // Represents tab data at startup.
15 struct StartupTab {
16 StartupTab();
17 ~StartupTab();
18
19 // The url to load.
20 GURL url;
21
22 // If true, the tab corresponds to an app an |app_id| gives the id of the
23 // app.
24 bool is_app;
25
26 // True if the is tab pinned.
27 bool is_pinned;
28
29 // Id of the app.
30 std::string app_id;
31 };
32
33 typedef std::vector<StartupTab> StartupTabs;
34
35 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl.cc ('k') | chrome/browser/ui/startup/startup_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698