~dandrader/unity8/removeApplicationStage

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Application/MirSurface.h

  • Committer: Bileto Bot
  • Date: 2016-07-14 07:09:00 UTC
  • mfrom: (2525.1.5 mirSurfaceInputBounds)
  • Revision ID: ci-train-bot@canonical.com-20160714070900-8wpqiln9hnk2q05i
Make use of MirSurface::inputBounds and drop UbuntuKeyboardInfo hack

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    Mir::ShellChrome shellChrome() const override;
103
103
 
104
104
    bool focused() const override;
 
105
    QRect inputBounds() const override;
105
106
 
106
107
    Q_INVOKABLE void requestFocus() override;
107
108
 
128
129
    Q_INVOKABLE void setWidthIncrement(int);
129
130
    Q_INVOKABLE void setHeightIncrement(int);
130
131
 
 
132
    Q_INVOKABLE virtual void setInputBounds(const QRect &boundsRect);
 
133
 
131
134
    /////
132
135
    // internal mock stuff
133
136
 
160
163
    void raiseRequested();
161
164
    void closeRequested();
162
165
 
 
166
protected:
 
167
    virtual void updateInputBoundsAfterResize();
 
168
 
163
169
private Q_SLOTS:
164
170
    void applyDelayedResize();
165
171
 
202
208
    QHash<qintptr, View> m_views;
203
209
 
204
210
    QTimer m_zombieTimer;
 
211
 
 
212
    QRect m_inputBounds;
205
213
};
206
214
 
207
215
#endif // MOCK_MIR_SURFACE_H