| Index: content/browser/find_request_manager.h
|
| diff --git a/content/browser/find_request_manager.h b/content/browser/find_request_manager.h
|
| index 0fa037eb79dc715bddb6a79c8bb0662649afd0fc..a76641b764a0853f843ea709308fa6d646db5c4d 100644
|
| --- a/content/browser/find_request_manager.h
|
| +++ b/content/browser/find_request_manager.h
|
| @@ -8,6 +8,7 @@
|
| #include <set>
|
| #include <vector>
|
|
|
| +#include "content/common/content_export.h"
|
| #include "content/public/common/stop_find_action.h"
|
| #include "third_party/WebKit/public/web/WebFindOptions.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| @@ -26,16 +27,16 @@ class WebContentsImpl;
|
| //
|
| // TODO(paulmeyer): FindRequestManager is currently incomplete and does not do
|
| // all of these things yet, but will soon.
|
| -class FindRequestManager {
|
| +class CONTENT_EXPORT FindRequestManager {
|
| public:
|
| explicit FindRequestManager(WebContentsImpl* web_contents);
|
| - ~FindRequestManager();
|
| + virtual ~FindRequestManager();
|
|
|
| // Initiates a find operation for |search_text| with the options specified in
|
| // |options|. |request_id| uniquely identifies the find request.
|
| - void Find(int request_id,
|
| - const base::string16& search_text,
|
| - const blink::WebFindOptions& options);
|
| + virtual void Find(int request_id,
|
| + const base::string16& search_text,
|
| + const blink::WebFindOptions& options);
|
|
|
| // Stops the active find session and clears the general highlighting of the
|
| // matches. |action| determines whether the last active match (if any) will be
|
| @@ -67,7 +68,7 @@ class FindRequestManager {
|
| const gfx::RectF& active_rect);
|
| #endif
|
|
|
| - private:
|
| + protected:
|
| // An invalid ID. This value is invalid for any render process ID, render
|
| // frame ID, or find request ID.
|
| static const int kInvalidId;
|
| @@ -101,7 +102,7 @@ class FindRequestManager {
|
| void Reset(const FindRequest& initial_request);
|
|
|
| // Send the find results (as they currently are) to the WebContents.
|
| - void NotifyFindReply(int request_id, bool final_update) const;
|
| + virtual void NotifyFindReply(int request_id, bool final_update) const;
|
|
|
| #if defined(OS_ANDROID)
|
| // Request the latest find match rects from a frame.
|
|
|