diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2011-06-15 18:27:24 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-06-15 18:27:24 -0700 |
commit | ab03dc86489826ee11774d136453cfc86ec9ac1b (patch) | |
tree | 8cae856273609af2d93f80bf83eaa2f36fccaaf1 | |
parent | c76dcf83460116fb39cfb33637de964cd171b64f (diff) | |
parent | ab19ca49906518c0d8eacb32a3897682f11335b0 (diff) | |
download | external_webkit-ab03dc86489826ee11774d136453cfc86ec9ac1b.zip external_webkit-ab03dc86489826ee11774d136453cfc86ec9ac1b.tar.gz external_webkit-ab03dc86489826ee11774d136453cfc86ec9ac1b.tar.bz2 |
Merge "Set appropriate initial viewport bounds."
-rw-r--r-- | Source/WebKit/android/jni/WebCoreViewBridge.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/WebKit/android/jni/WebCoreViewBridge.h b/Source/WebKit/android/jni/WebCoreViewBridge.h index f247602..b04a0f9 100644 --- a/Source/WebKit/android/jni/WebCoreViewBridge.h +++ b/Source/WebKit/android/jni/WebCoreViewBridge.h @@ -38,7 +38,14 @@ namespace WebCore class WebCoreViewBridge : public WebCoreRefObject { public: - WebCoreViewBridge() { } + WebCoreViewBridge() + { + m_bounds.setWidth(320); + m_bounds.setHeight(240); + m_visibleBounds = m_bounds; + m_windowBounds = m_bounds; + } + virtual ~WebCoreViewBridge() { } virtual void draw(WebCore::GraphicsContext* ctx, |