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

Side by Side Diff: content/public/browser/browser_plugin_guest_delegate.h

Issue 901833002: Allow MimeHandlerViewGuest to be notified of StopFinding events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/process/kill.h" 9 #include "base/process/kill.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // it is about to be destroyed. 73 // it is about to be destroyed.
74 typedef base::Callback<void()> DestructionCallback; 74 typedef base::Callback<void()> DestructionCallback;
75 virtual void RegisterDestructionCallback( 75 virtual void RegisterDestructionCallback(
76 const DestructionCallback& callback) {} 76 const DestructionCallback& callback) {}
77 77
78 // Find the given |search_text| in the page. Returns true if the find request 78 // Find the given |search_text| in the page. Returns true if the find request
79 // is handled by this browser plugin guest delegate. 79 // is handled by this browser plugin guest delegate.
80 virtual bool Find(int request_id, 80 virtual bool Find(int request_id,
81 const base::string16& search_text, 81 const base::string16& search_text,
82 const blink::WebFindOptions& options); 82 const blink::WebFindOptions& options);
83 virtual bool StopFinding(StopFindAction action);
83 84
84 // Provides the delegate with an interface with which to size the guest. 85 // Provides the delegate with an interface with which to size the guest.
85 virtual void SetGuestSizer(GuestSizer* guest_sizer) {} 86 virtual void SetGuestSizer(GuestSizer* guest_sizer) {}
86 }; 87 };
87 88
88 } // namespace content 89 } // namespace content
89 90
90 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 91 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/browser_plugin_guest_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698