~osomon/oxide/osk-flicker-fix

« back to all changes in this revision

Viewing changes to qt/core/glue/oxide_qt_web_frame_adapter.h

  • Committer: Chris Coulson
  • Date: 2014-10-14 00:04:28 UTC
  • Revision ID: chris.coulson@canonical.com-20141014000428-bhvsvcxe4g25ks1s
Split more code out of qt/core/glue and move it in to qt/core/browser

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 public:
41
41
  ~WebFrameAdapter();
42
42
 
 
43
  static WebFrameAdapter* FromWebFrame(WebFrame* frame);
 
44
 
43
45
  QUrl url() const;
44
46
 
45
47
  bool sendMessage(const QUrl& context,
50
52
                          const QString& msg_id,
51
53
                          const QVariant& args);
52
54
 
53
 
  QList<ScriptMessageHandlerAdapter *>& message_handlers() {
54
 
    return message_handlers_;
55
 
  }
56
 
 
57
 
  virtual void URLChanged() = 0;
 
55
  QList<ScriptMessageHandlerAdapter *>& messageHandlers();
58
56
 
59
57
 protected:
60
58
  WebFrameAdapter(QObject* q);
61
59
 
62
60
 private:
63
61
  friend class WebFrame;
64
 
  WebFrame* owner_;
 
62
 
 
63
  virtual void URLChanged() = 0;
 
64
 
 
65
  WebFrame* frame_;
65
66
 
66
67
  QList<ScriptMessageHandlerAdapter *> message_handlers_;
67
68
};