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 | |
8 namespace content { | |
9 | |
10 // Defines an interface for a delegate to receive text that surrounds the | |
11 // selection. | |
12 class TextSurroundingsDelegate { | |
jdduke (slow)
2014/06/17 22:43:26
I think you'll want to make this:
class CONTENT_E
donnd
2014/06/18 00:09:59
Done.
| |
13 public: | |
14 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, | |
15 int start_offset, | |
16 int end_offset) = 0; | |
17 protected: | |
18 virtual ~TextSurroundingsDelegate() {} | |
19 }; | |
20 | |
21 } // namespace content | |
jdduke (slow)
2014/06/17 22:43:26
Nit: Newline before the #endif.
donnd
2014/06/18 00:09:59
Done.
| |
22 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_TEXT_SURROUNDINGS_DELEGATE_H_ | |
OLD | NEW |