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

Side by Side Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.h

Issue 61553006: Rename WebKit namespace to blink (part 5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « android_webview/browser/find_helper.cc ('k') | android_webview/common/render_view_messages.h » ('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 (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_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
7 7
8 #include "content/public/browser/web_contents_observer.h" 8 #include "content/public/browser/web_contents_observer.h"
9 9
10 #include "android_webview/common/aw_hit_test_data.h" 10 #include "android_webview/common/aw_hit_test_data.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 // |result| will be invoked with the outcome of the request. 48 // |result| will be invoked with the outcome of the request.
49 typedef base::Callback<void(bool)> DocumentHasImagesResult; 49 typedef base::Callback<void(bool)> DocumentHasImagesResult;
50 void DocumentHasImages(DocumentHasImagesResult result); 50 void DocumentHasImages(DocumentHasImagesResult result);
51 51
52 // Clear all WebCore memory cache (not only for this view). 52 // Clear all WebCore memory cache (not only for this view).
53 void ClearCache(); 53 void ClearCache();
54 54
55 // Do a hit test at the view port coordinates and asynchronously update 55 // Do a hit test at the view port coordinates and asynchronously update
56 // |last_hit_test_data_|. |view_x| and |view_y| are in density independent 56 // |last_hit_test_data_|. |view_x| and |view_y| are in density independent
57 // pixels used by WebKit::WebView. 57 // pixels used by blink::WebView.
58 void RequestNewHitTestDataAt(int view_x, int view_y); 58 void RequestNewHitTestDataAt(int view_x, int view_y);
59 59
60 // Optimization to avoid unnecessary Java object creation on hit test. 60 // Optimization to avoid unnecessary Java object creation on hit test.
61 bool HasNewHitTestData() const; 61 bool HasNewHitTestData() const;
62 void MarkHitTestDataRead(); 62 void MarkHitTestDataRead();
63 63
64 // Return |last_hit_test_data_|. Note that this is unavoidably racy; 64 // Return |last_hit_test_data_|. Note that this is unavoidably racy;
65 // the corresponding public WebView API is as well. 65 // the corresponding public WebView API is as well.
66 const AwHitTestData& GetLastHitTestData() const; 66 const AwHitTestData& GetLastHitTestData() const;
67 67
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 AwHitTestData last_hit_test_data_; 107 AwHitTestData last_hit_test_data_;
108 108
109 bool has_new_hit_test_data_; 109 bool has_new_hit_test_data_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt); 111 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt);
112 }; 112 };
113 113
114 } // namespace android_webview 114 } // namespace android_webview
115 115
116 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 116 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/find_helper.cc ('k') | android_webview/common/render_view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698