~osomon/oxide/ensure-files-exist

« back to all changes in this revision

Viewing changes to qt/quick/api/oxideqquickwebcontext_p_p.h

  • Committer: Olivier Tilloy
  • Date: 2014-09-25 16:27:09 UTC
  • mfrom: (677.1.95 oxide)
  • Revision ID: olivier.tilloy@canonical.com-20140925162709-h8bai0f1nfaf7cfy
Merge the latest changes from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#define _OXIDE_QT_QUICK_API_WEB_CONTEXT_P_P_H_
20
20
 
21
21
#include <QObject>
 
22
#include <QSharedPointer>
22
23
#include <QtGlobal>
23
24
 
24
25
#include "qt/core/glue/oxide_qt_web_context_adapter.h"
35
36
 
36
37
namespace oxide {
37
38
namespace qquick {
38
 
class WebContextDelegateWorkerIOThreadController;
39
 
class WebContextIOThreadDelegate;
 
39
namespace webcontextdelegateworker {
 
40
class IOThreadController;
 
41
}
 
42
class WebContextIODelegate;
40
43
}
41
44
}
42
45
 
77
80
      int index);
78
81
  static void userScript_clear(QQmlListProperty<OxideQQuickUserScript>* prop);
79
82
 
80
 
  bool attachDelegateWorker(
81
 
      OxideQQuickWebContextDelegateWorker* worker,
82
 
      OxideQQuickWebContextDelegateWorker** ui_slot,
83
 
      oxide::qquick::WebContextDelegateWorkerIOThreadController** io_slot);
 
83
  bool prepareToAttachDelegateWorker(OxideQQuickWebContextDelegateWorker* delegate);
 
84
  void detachedDelegateWorker(OxideQQuickWebContextDelegateWorker* delegate);
 
85
 
 
86
  void CookiesSet(int request_id,
 
87
                  const QList<QNetworkCookie>& failed_cookies) Q_DECL_FINAL;
 
88
  void CookiesRetrieved(int request_id,
 
89
                        const QList<QNetworkCookie>& cookies) Q_DECL_FINAL;
 
90
  void CookiesDeleted(int request_id, int num_deleted) Q_DECL_FINAL;
84
91
 
85
92
  bool constructed_;
86
93
 
87
 
  oxide::qquick::WebContextIOThreadDelegate* io_thread_delegate_;
 
94
  QSharedPointer<oxide::qquick::WebContextIODelegate> io_;
88
95
 
89
96
  OxideQQuickWebContextDelegateWorker* network_request_delegate_;
90
97
  OxideQQuickWebContextDelegateWorker* storage_access_permission_delegate_;
91
98
  OxideQQuickWebContextDelegateWorker* user_agent_override_delegate_;
92
99
 
 
100
  mutable OxideQQuickCookieManager* cookie_manager_;
 
101
 
93
102
  Q_DISABLE_COPY(OxideQQuickWebContextPrivate);
94
103
};
95
104