OLD | NEW |
---|---|
(Empty) | |
1 // Delegate for receiving a response containing text surrounding the selection. | |
2 | |
3 #ifndef CONTENT_BROWSER_ANDROID_TEXT_SURROUNDINGS_DELEGATE_H_ | |
4 #define CONTENT_BROWSER_ANDROID_TEXT_SURROUNDINGS_DELEGATE_H_ | |
5 | |
6 namespace content { | |
7 | |
8 // Defines an interface for a delegate to receive text that surrounds the | |
9 // selection. | |
10 class TextSurroundingsDelegate { | |
11 public: | |
12 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, | |
13 int start_offset, | |
14 int end_offset) = 0; | |
15 protected: | |
jdduke (slow)
2014/06/10 22:08:09
This should probably go in the content/public/andr
donnd
2014/06/17 22:23:25
Done.
Looks like the delegate never holds on to t
| |
16 virtual ~TextSurroundingsDelegate() {} | |
17 }; | |
18 | |
19 } // namespace content | |
20 #endif // CONTENT_BROWSER_ANDROID_TEXT_SURROUNDINGS_DELEGATE_H_ | |
OLD | NEW |