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

Side by Side Diff: public/web/WebSurroundingText.h

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin Created 6 years 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
« no previous file with comments | « public/web/WebSpeechRecognizer.h ('k') | public/web/WebUserMediaClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #define WebSurroundingText_h 26 #define WebSurroundingText_h
27 27
28 #include "../platform/WebPrivateOwnPtr.h" 28 #include "../platform/WebPrivateOwnPtr.h"
29 #include "../platform/WebString.h" 29 #include "../platform/WebString.h"
30 #include "WebNode.h" 30 #include "WebNode.h"
31 #include "WebRange.h" 31 #include "WebRange.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class SurroundingText; 35 class SurroundingText;
36 class WebHitTestResult;
37 class WebNode; 36 class WebNode;
38 class WebRange; 37 class WebRange;
39 struct WebPoint; 38 struct WebPoint;
40 39
41 // WebSurroundingText is a Blink API that gives access to the SurroundingText 40 // WebSurroundingText is a Blink API that gives access to the SurroundingText
42 // API. It allows caller to know the text surrounding a point or a range. 41 // API. It allows caller to know the text surrounding a point or a range.
43 class WebSurroundingText { 42 class WebSurroundingText {
44 public: 43 public:
45 WebSurroundingText() { } 44 WebSurroundingText() { }
46 ~WebSurroundingText() { reset(); } 45 ~WebSurroundingText() { reset(); }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // range. 77 // range.
79 BLINK_EXPORT WebRange rangeFromContentOffsets(size_t startOffsetInContent, s ize_t endOffsetInContent); 78 BLINK_EXPORT WebRange rangeFromContentOffsets(size_t startOffsetInContent, s ize_t endOffsetInContent);
80 79
81 protected: 80 protected:
82 WebPrivateOwnPtr<SurroundingText> m_private; 81 WebPrivateOwnPtr<SurroundingText> m_private;
83 }; 82 };
84 83
85 } // namespace blink 84 } // namespace blink
86 85
87 #endif 86 #endif
OLDNEW
« no previous file with comments | « public/web/WebSpeechRecognizer.h ('k') | public/web/WebUserMediaClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698