| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 bool finished) OVERRIDE; | 142 bool finished) OVERRIDE; |
| 143 // IconHelper::Listener implementation. | 143 // IconHelper::Listener implementation. |
| 144 virtual void OnReceivedIcon(const GURL& icon_url, | 144 virtual void OnReceivedIcon(const GURL& icon_url, |
| 145 const SkBitmap& bitmap) OVERRIDE; | 145 const SkBitmap& bitmap) OVERRIDE; |
| 146 virtual void OnReceivedTouchIconUrl(const std::string& url, | 146 virtual void OnReceivedTouchIconUrl(const std::string& url, |
| 147 const bool precomposed) OVERRIDE; | 147 const bool precomposed) OVERRIDE; |
| 148 | 148 |
| 149 // AwRenderViewHostExtClient implementation. | 149 // AwRenderViewHostExtClient implementation. |
| 150 virtual void OnWebLayoutPageScaleFactorChanged( | 150 virtual void OnWebLayoutPageScaleFactorChanged( |
| 151 float page_scale_factor) OVERRIDE; | 151 float page_scale_factor) OVERRIDE; |
| 152 virtual void OnWebLayoutContentsSizeChanged( |
| 153 const gfx::Size& contents_size) OVERRIDE; |
| 152 | 154 |
| 153 // BrowserViewRenderer::Client implementation. | 155 // BrowserViewRenderer::Client implementation. |
| 154 virtual bool RequestDrawGL(jobject canvas) OVERRIDE; | 156 virtual bool RequestDrawGL(jobject canvas) OVERRIDE; |
| 155 virtual void PostInvalidate() OVERRIDE; | 157 virtual void PostInvalidate() OVERRIDE; |
| 156 virtual void UpdateGlobalVisibleRect() OVERRIDE; | 158 virtual void UpdateGlobalVisibleRect() OVERRIDE; |
| 157 virtual void OnNewPicture() OVERRIDE; | 159 virtual void OnNewPicture() OVERRIDE; |
| 158 virtual gfx::Point GetLocationOnScreen() OVERRIDE; | 160 virtual gfx::Point GetLocationOnScreen() OVERRIDE; |
| 159 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) OVERRIDE; | 161 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) OVERRIDE; |
| 160 virtual void DidOverscroll(gfx::Vector2d overscroll_delta) OVERRIDE; | 162 virtual void DidOverscroll(gfx::Vector2d overscroll_delta) OVERRIDE; |
| 161 | 163 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 std::list<OriginCallback> pending_geolocation_prompts_; | 200 std::list<OriginCallback> pending_geolocation_prompts_; |
| 199 | 201 |
| 200 DISALLOW_COPY_AND_ASSIGN(AwContents); | 202 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 201 }; | 203 }; |
| 202 | 204 |
| 203 bool RegisterAwContents(JNIEnv* env); | 205 bool RegisterAwContents(JNIEnv* env); |
| 204 | 206 |
| 205 } // namespace android_webview | 207 } // namespace android_webview |
| 206 | 208 |
| 207 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 209 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |