~gerboland/unity-mir/enable-OSK-surface

« back to all changes in this revision

Viewing changes to src/modules/Unity/ApplicationManager/applicationscreenshotprovider.h

  • Committer: Tarmac
  • Author(s): Gerry Boland
  • Date: 2013-08-15 17:42:16 UTC
  • mfrom: (28.2.6 fix-screenshots)
  • Revision ID: tarmac-20130815174216-1n903w48j0o2ni90
Remove unnecessary Application id, use app_id instead. Fix screenshots to remove white padding pixels. Application only focused when it creates its surface.

Approved by Michał Sawicz, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    explicit ApplicationScreenshotProvider(ApplicationManager *appManager);
27
27
 
28
28
    Flags flags() const override;
29
 
    QImage requestImage(const QString & id, QSize * size, const QSize & requestedSize) override;
 
29
    QImage requestImage(const QString &appId, QSize *size, const QSize &requestedSize) override;
30
30
 
31
31
private:
32
32
    ApplicationManager* m_appManager;
 
33
    int m_panelHeight;
33
34
};
34
35
 
35
36
#endif // APPLICATIONSCREENSHOTPROVIDER_H