| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ | 5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ |
| 6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ | 6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
| 11 #include "content/public/renderer/render_view_observer.h" | 11 #include "content/public/renderer/render_view_observer.h" |
| 12 #include "content/public/renderer/render_view_observer_tracker.h" | 12 #include "content/public/renderer/render_view_observer_tracker.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpellCheckClient.h
" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpellCheckClient.h
" |
| 14 | 14 |
| 15 class RenderView; | 15 class RenderView; |
| 16 class SpellCheck; | 16 class SpellCheck; |
| 17 struct SpellCheckMarker; | 17 class SpellCheckMarker; |
| 18 struct SpellCheckResult; | 18 struct SpellCheckResult; |
| 19 | 19 |
| 20 namespace WebKit { | 20 namespace WebKit { |
| 21 class WebString; | 21 class WebString; |
| 22 class WebTextCheckingCompletion; | 22 class WebTextCheckingCompletion; |
| 23 struct WebTextCheckingResult; | 23 struct WebTextCheckingResult; |
| 24 } | 24 } |
| 25 | 25 |
| 26 // This class deals with invoking browser-side spellcheck mechanism | 26 // This class deals with invoking browser-side spellcheck mechanism |
| 27 // which is done asynchronously. | 27 // which is done asynchronously. |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // True if the browser is showing the spelling panel for us. | 122 // True if the browser is showing the spelling panel for us. |
| 123 bool spelling_panel_visible_; | 123 bool spelling_panel_visible_; |
| 124 | 124 |
| 125 // Weak pointer to shared (per RenderView) spellcheck data. | 125 // Weak pointer to shared (per RenderView) spellcheck data. |
| 126 SpellCheck* spellcheck_; | 126 SpellCheck* spellcheck_; |
| 127 | 127 |
| 128 DISALLOW_COPY_AND_ASSIGN(SpellCheckProvider); | 128 DISALLOW_COPY_AND_ASSIGN(SpellCheckProvider); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ | 131 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ |
| OLD | NEW |