Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Side by Side Diff: android_webview/renderer/aw_render_frame_ext.h

Issue 1785493002: Move cache clearing from AwRenderViewExt to AwRenderFrameExt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/renderer/aw_render_frame_ext.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | android_webview/renderer/aw_render_frame_ext.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698