OLD | NEW |
---|---|
(Empty) | |
1 // Delegate for receiving a response containing text surrounding the selection. | |
2 | |
3 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_TEXT_SURROUNDINGS_DELEGATE_H_ | |
4 #define CONTENT_PUBLIC_BROWSER_ANDROID_TEXT_SURROUNDINGS_DELEGATE_H_ | |
5 | |
6 #include "base/strings/string16.h" | |
7 #include "content/common/content_export.h" | |
8 | |
9 namespace content { | |
10 | |
jdduke (slow)
2014/06/18 20:32:53
I think you can get rid of this class now.
donnd
2014/06/18 21:55:27
Done.
| |
11 // Defines an interface for a delegate to receive text that surrounds the | |
12 // selection. | |
13 class CONTENT_EXPORT TextSurroundingsDelegate { | |
14 public: | |
15 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, | |
16 int start_offset, | |
17 int end_offset) = 0; | |
18 protected: | |
19 virtual ~TextSurroundingsDelegate() {} | |
20 }; | |
21 | |
22 } // namespace content | |
23 | |
24 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_TEXT_SURROUNDINGS_DELEGATE_H_ | |
OLD | NEW |