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

Side by Side Diff: components/spellcheck/common/spellcheck_result.cc

Issue 2848943002: Allow storing multiple replacements on SpellCheckResult (Closed)
Patch Set: Created 3 years, 7 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
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/spellcheck/common/spellcheck_result.h"
6 #include <vector>
7
8 SpellCheckResult::SpellCheckResult(Decoration d,
9 int loc,
10 int len,
11 const std::vector<base::string16>& rep)
12 : decoration(d), location(loc), length(len), replacements(rep) {}
13
14 SpellCheckResult::~SpellCheckResult() = default;
15
16 SpellCheckResult::SpellCheckResult(const SpellCheckResult&) = default;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698