summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.h
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2014-03-05 11:06:09 +0100
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-08-08 17:19:15 +0200
commit3860d79c0b0d1c623746e40b1d0234674535cc90 (patch)
tree57a52a6e52c26bcbb2d73410e92aaefdd5d52caf /src/core/web_engine_context.h
parent5c89832668288db79ed0c79d3dda68af62285d18 (diff)
Use VisitedLinks component.
This allows to resolve visited links in the render process. The newly introduced API at the Core layer should allow exposing this functionality to our widgets and Qt quick API layers. Change-Id: I256376afcfe79014dc274e2dddbac1986a884a93 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'src/core/web_engine_context.h')
-rw-r--r--src/core/web_engine_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/web_engine_context.h b/src/core/web_engine_context.h
index 13554066b..8a10700f7 100644
--- a/src/core/web_engine_context.h
+++ b/src/core/web_engine_context.h
@@ -56,11 +56,14 @@ class ContentMainRunner;
class ContentMainDelegateQt;
class SurfaceFactoryQt;
+class WebEngineVisitedLinksManager;
class WebEngineContext : public base::RefCounted<WebEngineContext> {
public:
static scoped_refptr<WebEngineContext> current();
+ WebEngineVisitedLinksManager *visitedLinksManager();
+
private:
friend class base::RefCounted<WebEngineContext>;
WebEngineContext();
@@ -73,6 +76,7 @@ private:
#if defined(OS_ANDROID)
scoped_ptr<SurfaceFactoryQt> m_surfaceFactory;
#endif
+ scoped_ptr<WebEngineVisitedLinksManager> m_visitedLinksManager;
};
#endif // WEB_ENGINE_CONTEXT_H