Add a minor text member to ui::MenuModel.
[chromium-blink-merge.git] / chrome / browser / ui / startup / startup_tab.h
blobc948725d1dd937b9ad601cce26426dbe8c6e3777
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.
5 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_
6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_
8 #include <string>
9 #include <vector>
11 #include "url/gurl.h"
13 // Represents tab data at startup.
14 struct StartupTab {
15 StartupTab();
16 ~StartupTab();
18 // The url to load.
19 GURL url;
21 // If true, the tab corresponds to an app an |app_id| gives the id of the
22 // app.
23 bool is_app;
25 // True if the is tab pinned.
26 bool is_pinned;
28 // Id of the app.
29 std::string app_id;
32 typedef std::vector<StartupTab> StartupTabs;
34 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_