summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebCoreFrameBridge.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-08-11 18:17:05 +0100
committerBen Murdoch <benm@google.com>2010-08-13 12:41:54 +0100
commit45b64f60af3cbfa8c78388e35e9b669a0c284bdc (patch)
treebd6df4524a5532b7b090ab042f90e72da3085b9c /WebKit/android/jni/WebCoreFrameBridge.h
parent82eeb7b660065e6e990280e6563ca7eafe4be1cd (diff)
downloadexternal_webkit-45b64f60af3cbfa8c78388e35e9b669a0c284bdc.zip
external_webkit-45b64f60af3cbfa8c78388e35e9b669a0c284bdc.tar.gz
external_webkit-45b64f60af3cbfa8c78388e35e9b669a0c284bdc.tar.bz2
Merge WebKit at r65072: String class has moved to the WTF namespace.
See http://trac.webkit.org/changeset/65021 Change-Id: I779a8ec0c3e1e0aed8f8d1894cfc1e5ca33ee549
Diffstat (limited to 'WebKit/android/jni/WebCoreFrameBridge.h')
-rw-r--r--WebKit/android/jni/WebCoreFrameBridge.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/WebKit/android/jni/WebCoreFrameBridge.h b/WebKit/android/jni/WebCoreFrameBridge.h
index 657ebf1..5fd4da9 100644
--- a/WebKit/android/jni/WebCoreFrameBridge.h
+++ b/WebKit/android/jni/WebCoreFrameBridge.h
@@ -30,6 +30,7 @@
#include "FrameLoaderClient.h"
#include "PlatformBridge.h"
+#include "PlatformString.h"
#include "WebCoreRefObject.h"
#include <jni.h>
#include <wtf/RefCounted.h>
@@ -61,8 +62,8 @@ class WebFrame : public WebCoreRefObject {
const WebCore::ResourceRequest& request, bool mainResource,
bool synchronous);
- void reportError(int errorCode, const WebCore::String& description,
- const WebCore::String& failingUrl);
+ void reportError(int errorCode, const WTF::String& description,
+ const WTF::String& failingUrl);
void loadStarted(WebCore::Frame* frame);
@@ -76,17 +77,17 @@ class WebFrame : public WebCoreRefObject {
void updateHistoryIndex(int newIndex);
- void setTitle(const WebCore::String& title);
+ void setTitle(const WTF::String& title);
void windowObjectCleared(WebCore::Frame* frame);
- void setProgress(float newProgress);
+ void setProgress(float newProgress);
- const WebCore::String userAgentForURL(const WebCore::KURL* url);
+ const WTF::String userAgentForURL(const WebCore::KURL* url);
void didReceiveIcon(WebCore::Image* icon);
- void didReceiveTouchIconURL(const WebCore::String& url, bool precomposed);
+ void didReceiveTouchIconURL(const WTF::String& url, bool precomposed);
void updateVisitedHistory(const WebCore::KURL& url, bool reload);
@@ -100,9 +101,9 @@ class WebFrame : public WebCoreRefObject {
void decidePolicyForFormResubmission(WebCore::FramePolicyFunction func);
- void setUserAgent(WebCore::String userAgent) { mUserAgent = userAgent; }
+ void setUserAgent(WTF::String userAgent) { mUserAgent = userAgent; }
- WebCore::String getRawResourceFilename(WebCore::PlatformBridge::rawResId) const;
+ WTF::String getRawResourceFilename(WebCore::PlatformBridge::rawResId) const;
float density() const;
@@ -124,7 +125,7 @@ private:
struct JavaBrowserFrame;
JavaBrowserFrame* mJavaFrame;
WebCore::Page* mPage;
- WebCore::String mUserAgent;
+ WTF::String mUserAgent;
bool mUserInitiatedClick;
};