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

Unified Diff: extensions/browser/guest_view/web_view/web_view_find_helper.h

Issue 579563002: Find working in app_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/guest_view/web_view/web_view_guest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/web_view/web_view_find_helper.h
diff --git a/extensions/browser/guest_view/web_view/web_view_find_helper.h b/extensions/browser/guest_view/web_view/web_view_find_helper.h
index db1c39d577ed18fa14239c67de852642bc45a981..2ed0d0006d3dc96c25e4752612ce2b2d5c6edb87 100644
--- a/extensions/browser/guest_view/web_view/web_view_find_helper.h
+++ b/extensions/browser/guest_view/web_view/web_view_find_helper.h
@@ -36,11 +36,10 @@ class WebViewFindHelper {
void EndFindSession(int session_request_id, bool canceled);
// Helper function for WebViewGuest::Find().
- void Find(
- content::WebContents* guest_web_contents,
- const base::string16& search_text,
- const blink::WebFindOptions& options,
- scoped_refptr<WebViewInternalFindFunction> find_function);
+ void Find(content::WebContents* guest_web_contents,
+ const base::string16& search_text,
+ const blink::WebFindOptions& options,
+ scoped_refptr<WebViewInternalFindFunction> find_function);
// Helper function for WeViewGuest:FindReply().
void FindReply(int request_id,
@@ -101,11 +100,10 @@ class WebViewFindHelper {
// Handles all information about a find request and its results.
class FindInfo {
public:
- FindInfo(
- int request_id,
- const base::string16& search_text,
- const blink::WebFindOptions& options,
- scoped_refptr<WebViewInternalFindFunction> find_function);
+ FindInfo(int request_id,
+ const base::string16& search_text,
+ const blink::WebFindOptions& options,
+ scoped_refptr<WebViewInternalFindFunction> find_function);
~FindInfo();
// Add another request to |find_next_requests_|.
@@ -158,7 +156,6 @@ class WebViewFindHelper {
friend void WebViewFindHelper::EndFindSession(int session_request_id,
bool canceled);
-// Weak pointer used to access the find info of fin.
base::WeakPtrFactory<FindInfo> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(FindInfo);
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/guest_view/web_view/web_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698