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

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

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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 | Annotate | Revision Log
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 #include "chrome/renderer/spellchecker/spellcheck_provider.h" 5 #include "chrome/renderer/spellchecker/spellcheck_provider.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/spellcheck_marker.h" 10 #include "chrome/common/spellcheck_marker.h"
11 #include "chrome/common/spellcheck_messages.h" 11 #include "chrome/common/spellcheck_messages.h"
12 #include "chrome/common/spellcheck_result.h" 12 #include "chrome/common/spellcheck_result.h"
13 #include "chrome/renderer/spellchecker/spellcheck.h" 13 #include "chrome/renderer/spellchecker/spellcheck.h"
14 #include "content/public/renderer/render_view.h" 14 #include "content/public/renderer/render_view.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 15 #include "third_party/WebKit/public/platform/WebVector.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingComple tion.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingComple tion.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult .h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult .h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingType.h " 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingType.h "
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
21 21
22 using WebKit::WebFrame; 22 using WebKit::WebFrame;
23 using WebKit::WebString; 23 using WebKit::WebString;
24 using WebKit::WebTextCheckingCompletion; 24 using WebKit::WebTextCheckingCompletion;
25 using WebKit::WebTextCheckingResult; 25 using WebKit::WebTextCheckingResult;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 results[i].length = last_results_[i].length; 348 results[i].length = last_results_[i].length;
349 results[i].replacement = last_results_[i].replacement; 349 results[i].replacement = last_results_[i].replacement;
350 } 350 }
351 completion->didFinishCheckingText(results); 351 completion->didFinishCheckingText(results);
352 return true; 352 return true;
353 } 353 }
354 } 354 }
355 355
356 return false; 356 return false;
357 } 357 }
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck.h ('k') | chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698