~unity-team/qtmir/shell_chrome

« back to all changes in this revision

Viewing changes to src/modules/Unity/Application/mirsurface.h

  • Committer: Nick Dedekind
  • Date: 2016-03-10 11:55:28 UTC
  • Revision ID: nick.dedekind@canonical.com-20160310115528-wdionh3b6ivx9r5k
Changed sizeHint to creationHint. Moved chrome property to observer changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include "session.h"
33
33
 
34
34
// mirserver
35
 
#include "sizehints.h"
 
35
#include "creationhints.h"
36
36
 
37
37
// mir
38
38
#include <mir/scene/surface.h>
52
52
            SessionInterface* session,
53
53
            mir::shell::Shell *shell,
54
54
            std::shared_ptr<SurfaceObserver> observer,
55
 
            const SizeHints &);
 
55
            const CreationHints &);
56
56
    virtual ~MirSurface();
57
57
 
58
58
    ////
132
132
    QCursor cursor() const override;
133
133
 
134
134
    Mir::ShellChrome shellChrome() const override;
135
 
    void setShellChrome(Mir::ShellChrome shellChrome) override;
136
135
 
137
136
public Q_SLOTS:
138
137
    void onCompositorSwappedBuffers() override;
143
142
    void setMaximumHeight(int) override;
144
143
    void setWidthIncrement(int) override;
145
144
    void setHeightIncrement(int) override;
 
145
    void setShellChrome(Mir::ShellChrome shellChrome) override;
146
146
 
147
147
private Q_SLOTS:
148
148
    void dropPendingBuffer();