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

Side by Side Diff: chrome/renderer/spellchecker/spellcheck_provider.h

Issue 2226833003: Make WebSpellCheckClient aware of leak detection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SpellCheckerDebugInfo
Patch Set: Minor style fix Created 4 years, 4 months 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 | « no previous file | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 const blink::WebString& text, 84 const blink::WebString& text,
85 blink::WebTextCheckingTypeMask mask, 85 blink::WebTextCheckingTypeMask mask,
86 blink::WebVector<blink::WebTextCheckingResult>* results) override; 86 blink::WebVector<blink::WebTextCheckingResult>* results) override;
87 87
88 void requestCheckingOfText( 88 void requestCheckingOfText(
89 const blink::WebString& text, 89 const blink::WebString& text,
90 const blink::WebVector<uint32_t>& markers, 90 const blink::WebVector<uint32_t>& markers,
91 const blink::WebVector<unsigned>& marker_offsets, 91 const blink::WebVector<unsigned>& marker_offsets,
92 blink::WebTextCheckingCompletion* completion) override; 92 blink::WebTextCheckingCompletion* completion) override;
93 93
94 void cancelAllPendingRequests() override;
94 void showSpellingUI(bool show) override; 95 void showSpellingUI(bool show) override;
95 bool isShowingSpellingUI() override; 96 bool isShowingSpellingUI() override;
96 void updateSpellingUIWithMisspelledWord( 97 void updateSpellingUIWithMisspelledWord(
97 const blink::WebString& word) override; 98 const blink::WebString& word) override;
98 99
99 #if !defined(USE_BROWSER_SPELLCHECKER) 100 #if !defined(USE_BROWSER_SPELLCHECKER)
100 void OnRespondSpellingService( 101 void OnRespondSpellingService(
101 int identifier, 102 int identifier,
102 bool succeeded, 103 bool succeeded,
103 const base::string16& text, 104 const base::string16& text,
(...skipping 24 matching lines...) Expand all
128 // True if the browser is showing the spelling panel for us. 129 // True if the browser is showing the spelling panel for us.
129 bool spelling_panel_visible_; 130 bool spelling_panel_visible_;
130 131
131 // Weak pointer to shared (per RenderView) spellcheck data. 132 // Weak pointer to shared (per RenderView) spellcheck data.
132 SpellCheck* spellcheck_; 133 SpellCheck* spellcheck_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(SpellCheckProvider); 135 DISALLOW_COPY_AND_ASSIGN(SpellCheckProvider);
135 }; 136 };
136 137
137 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ 138 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698