Chromium Code Reviews| 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 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 30 #include "content/public/browser/web_contents_observer.h" | 30 #include "content/public/browser/web_contents_observer.h" |
| 31 | 31 |
| 32 class SkBitmap; | 32 class SkBitmap; |
| 33 class TabContents; | 33 class TabContents; |
| 34 struct AwDrawGLInfo; | 34 struct AwDrawGLInfo; |
| 35 | 35 |
| 36 namespace content { | 36 namespace content { |
| 37 class WebContents; | 37 class WebContents; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace ui { | |
| 41 class TouchHandleDrawable; | |
| 42 } | |
| 43 | |
| 40 namespace android_webview { | 44 namespace android_webview { |
| 41 | 45 |
| 42 class AwContentsContainer; | 46 class AwContentsContainer; |
| 43 class AwContentsClientBridge; | 47 class AwContentsClientBridge; |
| 44 class AwGLFunctor; | 48 class AwGLFunctor; |
| 45 class AwPdfExporter; | 49 class AwPdfExporter; |
| 46 class AwWebContentsDelegate; | 50 class AwWebContentsDelegate; |
| 47 class HardwareRenderer; | 51 class HardwareRenderer; |
| 48 class PermissionRequestHandler; | 52 class PermissionRequestHandler; |
| 49 | 53 |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 332 const base::android::JavaParamRef<jobject>& obj); | 336 const base::android::JavaParamRef<jobject>& obj); |
| 333 | 337 |
| 334 void ResumeLoadingCreatedPopupWebContents( | 338 void ResumeLoadingCreatedPopupWebContents( |
| 335 JNIEnv* env, | 339 JNIEnv* env, |
| 336 const base::android::JavaParamRef<jobject>& obj); | 340 const base::android::JavaParamRef<jobject>& obj); |
| 337 | 341 |
| 338 // content::WebContentsObserver overrides | 342 // content::WebContentsObserver overrides |
| 339 void RenderViewHostChanged(content::RenderViewHost* old_host, | 343 void RenderViewHostChanged(content::RenderViewHost* old_host, |
| 340 content::RenderViewHost* new_host) override; | 344 content::RenderViewHost* new_host) override; |
| 341 | 345 |
| 346 void DidCreateTouchHandle(ui::TouchHandleDrawable* drawable) override; | |
|
boliu
2016/08/22 18:10:46
no blank line above
| |
| 347 | |
| 342 private: | 348 private: |
| 343 void InitAutofillIfNecessary(bool enabled); | 349 void InitAutofillIfNecessary(bool enabled); |
| 344 | 350 |
| 345 // Geolocation API support | 351 // Geolocation API support |
| 346 void ShowGeolocationPrompt(const GURL& origin, base::Callback<void(bool)>); | 352 void ShowGeolocationPrompt(const GURL& origin, base::Callback<void(bool)>); |
| 347 void HideGeolocationPrompt(const GURL& origin); | 353 void HideGeolocationPrompt(const GURL& origin); |
| 348 | 354 |
| 349 void SetDipScaleInternal(float dip_scale); | 355 void SetDipScaleInternal(float dip_scale); |
| 350 | 356 |
| 351 void SetAwGLFunctor(AwGLFunctor* functor); | 357 void SetAwGLFunctor(AwGLFunctor* functor); |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 374 GLViewRendererManager::Key renderer_manager_key_; | 380 GLViewRendererManager::Key renderer_manager_key_; |
| 375 | 381 |
| 376 DISALLOW_COPY_AND_ASSIGN(AwContents); | 382 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 377 }; | 383 }; |
| 378 | 384 |
| 379 bool RegisterAwContents(JNIEnv* env); | 385 bool RegisterAwContents(JNIEnv* env); |
| 380 | 386 |
| 381 } // namespace android_webview | 387 } // namespace android_webview |
| 382 | 388 |
| 383 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 389 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |