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

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

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 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
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"
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 results[i].length = last_results_[i].length; 342 results[i].length = last_results_[i].length;
343 results[i].replacement = last_results_[i].replacement; 343 results[i].replacement = last_results_[i].replacement;
344 } 344 }
345 completion->didFinishCheckingText(results); 345 completion->didFinishCheckingText(results);
346 return true; 346 return true;
347 } 347 }
348 } 348 }
349 349
350 return false; 350 return false;
351 } 351 }
352
353 void SpellCheckProvider::OnDestruct() {
354 delete this;
355 }
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_provider.h ('k') | chromecast/renderer/cast_media_load_deferrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698