diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-11 09:43:24 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-11 09:43:24 +0200 |
| commit | 1b914638db989aaa98631a1c1e02c7b2d44805d8 (patch) | |
| tree | 87f4fd2c7b38db320079a5de8877890d2ca3c485 /Source/WebKit/chromium/public/WebFrameClient.h | |
| parent | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (diff) | |
| download | qtwebkit-1b914638db989aaa98631a1c1e02c7b2d44805d8.tar.gz | |
Imported WebKit commit 9a52e27980f47e8b0d8f8b7cc0fd7b5741bceb92 (http://svn.webkit.org/repository/webkit/trunk@116736)
New snapshot to include QDeclarative* -> QQml* build fixes
Diffstat (limited to 'Source/WebKit/chromium/public/WebFrameClient.h')
| -rw-r--r-- | Source/WebKit/chromium/public/WebFrameClient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/public/WebFrameClient.h b/Source/WebKit/chromium/public/WebFrameClient.h index 9270d1ab9..662c7c1c5 100644 --- a/Source/WebKit/chromium/public/WebFrameClient.h +++ b/Source/WebKit/chromium/public/WebFrameClient.h @@ -397,6 +397,11 @@ public: WebSecurityOrigin target, WebDOMMessageEvent) { return false; } + // Asks the embedder if a specific user agent should be used for the given + // URL. Returns true if it should, along with the user agent. If false, + // WebKitPlatformSupport::userAgent() will be called to provide one. + virtual bool userAgent(const WebURL& url, WebString* userAgent) { return false; } + protected: ~WebFrameClient() { } }; |
