| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_AW_RENDER_FRAME_EXT_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ |
| 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "content/public/renderer/render_frame_observer.h" | 9 #include "content/public/renderer/render_frame_observer.h" |
| 10 #include "ui/gfx/geometry/point_f.h" | 10 #include "ui/gfx/geometry/point_f.h" |
| 11 #include "ui/gfx/geometry/size.h" | 11 #include "ui/gfx/geometry/size.h" |
| 12 #include "ui/gfx/geometry/size_f.h" | 12 #include "ui/gfx/geometry/size_f.h" |
| 13 #include "url/origin.h" |
| 13 | 14 |
| 14 namespace blink { | 15 namespace blink { |
| 15 enum WebMeaningfulLayout; | 16 enum WebMeaningfulLayout; |
| 16 class WebFrameWidget; | 17 class WebFrameWidget; |
| 17 class WebView; | 18 class WebView; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace android_webview { | 21 namespace android_webview { |
| 21 | 22 |
| 22 // Render process side of AwRenderViewHostExt, this provides cross-process | 23 // Render process side of AwRenderViewHostExt, this provides cross-process |
| (...skipping 23 matching lines...) Expand all Loading... |
| 46 | 47 |
| 47 void OnSetInitialPageScale(double page_scale_factor); | 48 void OnSetInitialPageScale(double page_scale_factor); |
| 48 | 49 |
| 49 void OnSetBackgroundColor(SkColor c); | 50 void OnSetBackgroundColor(SkColor c); |
| 50 | 51 |
| 51 void OnSmoothScroll(int target_x, int target_y, int duration_ms); | 52 void OnSmoothScroll(int target_x, int target_y, int duration_ms); |
| 52 | 53 |
| 53 blink::WebView* GetWebView(); | 54 blink::WebView* GetWebView(); |
| 54 blink::WebFrameWidget* GetWebFrameWidget(); | 55 blink::WebFrameWidget* GetWebFrameWidget(); |
| 55 | 56 |
| 57 url::Origin last_origin_; |
| 58 |
| 56 DISALLOW_COPY_AND_ASSIGN(AwRenderFrameExt); | 59 DISALLOW_COPY_AND_ASSIGN(AwRenderFrameExt); |
| 57 }; | 60 }; |
| 58 | 61 |
| 59 } | 62 } |
| 60 | 63 |
| 61 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ | 64 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ |
| 62 | 65 |
| 63 | 66 |
| OLD | NEW |