diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-09-20 18:13:54 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-09-23 22:36:36 +0000 |
commit | c30109f24b253756bec249b3cd8853aa90fe0923 (patch) | |
tree | 95d9a925b1b15e2924f8eb25bd6d2abcdc8b19dc /src/core/content_client_qt.h | |
parent | 1ecf3ac50b4ceca4b2b398089912a40aa7450ef1 (diff) |
Enable Chromium content-layer WebUI
Enables the WebUI sources implemented in the content-layer, these are
mostly internals that are not supposed to be used by end-users, but
chrome://gpu is particularly interesting for us.
This enables the following schemes:
chrome://appcache-internals
chrome://blob-internals
chrome://histograms
chrome://indexeddb-internals
chrome://media-internals
chrome://network-errors
chrome://serviceworker-internals
chrome://view-http-cache
chrome://webrtc-internals
and
chrome://gpu
Change-Id: Ib297f8fa2e3c15ca464a2c49022e0257d27c532b
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/content_client_qt.h')
-rw-r--r-- | src/core/content_client_qt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/content_client_qt.h b/src/core/content_client_qt.h index 6a5584cc7..4fd539bf3 100644 --- a/src/core/content_client_qt.h +++ b/src/core/content_client_qt.h @@ -56,6 +56,7 @@ public: #endif virtual base::StringPiece GetDataResource(int, ui::ScaleFactor) const Q_DECL_OVERRIDE; + virtual base::RefCountedMemory* GetDataResourceBytes(int resource_id) const Q_DECL_OVERRIDE; virtual std::string GetUserAgent() const Q_DECL_OVERRIDE { return getUserAgent(); } virtual base::string16 GetLocalizedString(int message_id) const Q_DECL_OVERRIDE; virtual std::string GetProduct() const Q_DECL_OVERRIDE; |