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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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>
9 #include <stdint.h>
10
8 #include <vector> 11 #include <vector>
9 12
10 #include "base/id_map.h" 13 #include "base/id_map.h"
14 #include "base/macros.h"
11 #include "content/public/renderer/render_view_observer.h" 15 #include "content/public/renderer/render_view_observer.h"
12 #include "content/public/renderer/render_view_observer_tracker.h" 16 #include "content/public/renderer/render_view_observer_tracker.h"
13 #include "third_party/WebKit/public/web/WebSpellCheckClient.h" 17 #include "third_party/WebKit/public/web/WebSpellCheckClient.h"
14 18
15 class RenderView; 19 class RenderView;
16 class SpellCheck; 20 class SpellCheck;
17 class SpellCheckMarker; 21 class SpellCheckMarker;
18 struct SpellCheckResult; 22 struct SpellCheckResult;
19 23
20 namespace blink { 24 namespace blink {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 int& offset, 77 int& offset,
74 int& length, 78 int& length,
75 blink::WebVector<blink::WebString>* optional_suggestions) override; 79 blink::WebVector<blink::WebString>* optional_suggestions) override;
76 void checkTextOfParagraph( 80 void checkTextOfParagraph(
77 const blink::WebString& text, 81 const blink::WebString& text,
78 blink::WebTextCheckingTypeMask mask, 82 blink::WebTextCheckingTypeMask mask,
79 blink::WebVector<blink::WebTextCheckingResult>* results) override; 83 blink::WebVector<blink::WebTextCheckingResult>* results) override;
80 84
81 void requestCheckingOfText( 85 void requestCheckingOfText(
82 const blink::WebString& text, 86 const blink::WebString& text,
83 const blink::WebVector<uint32>& markers, 87 const blink::WebVector<uint32_t>& markers,
84 const blink::WebVector<unsigned>& marker_offsets, 88 const blink::WebVector<unsigned>& marker_offsets,
85 blink::WebTextCheckingCompletion* completion) override; 89 blink::WebTextCheckingCompletion* completion) override;
86 90
87 void showSpellingUI(bool show) override; 91 void showSpellingUI(bool show) override;
88 bool isShowingSpellingUI() override; 92 bool isShowingSpellingUI() override;
89 void updateSpellingUIWithMisspelledWord( 93 void updateSpellingUIWithMisspelledWord(
90 const blink::WebString& word) override; 94 const blink::WebString& word) override;
91 95
92 #if !defined(USE_BROWSER_SPELLCHECKER) 96 #if !defined(USE_BROWSER_SPELLCHECKER)
93 void OnRespondSpellingService( 97 void OnRespondSpellingService(
(...skipping 27 matching lines...) Expand all
121 // True if the browser is showing the spelling panel for us. 125 // True if the browser is showing the spelling panel for us.
122 bool spelling_panel_visible_; 126 bool spelling_panel_visible_;
123 127
124 // Weak pointer to shared (per RenderView) spellcheck data. 128 // Weak pointer to shared (per RenderView) spellcheck data.
125 SpellCheck* spellcheck_; 129 SpellCheck* spellcheck_;
126 130
127 DISALLOW_COPY_AND_ASSIGN(SpellCheckProvider); 131 DISALLOW_COPY_AND_ASSIGN(SpellCheckProvider);
128 }; 132 };
129 133
130 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_ 134 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc ('k') | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698