~abreu-alexandre/unity-webapps-qml/bug-1228208

« back to all changes in this revision

Viewing changes to src/Ubuntu/UnityWebApps/plugin/unity-webapps-app-manifest-parser.h

  • Committer: Tarmac
  • Author(s): Alexandre Abreu
  • Date: 2013-08-28 22:58:43 UTC
  • mfrom: (44.2.3 add-chrome-selection)
  • Revision ID: tarmac-20130828225843-u3zgt7bgleqn267z
Add webapp chrome selection from the manifest file.

Approved by Robert Bruce Park, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include "unity-webapps-common-priv.h"
27
27
 
28
 
 
29
28
/*!
30
29
 * \brief Data view of a given WebApp manifest
31
30
 *
45
44
    QStringList scripts;
46
45
    // List of javascript files required by the WebApp (but not included)
47
46
    QStringList requires;
 
47
    // The currently selected chrome option for this WebApp
 
48
    QStringList chromeOptions;
48
49
};
49
50
 
50
51
/*!
86
87
    QStringList parseArray(const QJsonObject& parent,
87
88
                           const QString& name);
88
89
 
 
90
    QStringList
 
91
    parseChromeOptions(const QString& options);
 
92
 
89
93
    /*!
90
94
     * \brief parseContent
91
95
     * \param content