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

Side by Side Diff: components/spellcheck/browser/spellcheck_action.cc

Issue 2159283003: [WIP][DO NOT LAND] Componentize spellcheck Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/browser/spellchecker/spellcheck_action.h" 5 #include "components/spellcheck/browser/spellcheck_action.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 9
10 SpellcheckAction::SpellcheckAction() : type_(TYPE_PENDING), index_(-1) {} 10 SpellcheckAction::SpellcheckAction() : type_(TYPE_PENDING), index_(-1) {}
11 11
12 SpellcheckAction::SpellcheckAction(SpellcheckActionType type, 12 SpellcheckAction::SpellcheckAction(SpellcheckActionType type,
13 int index, 13 int index,
14 base::string16 value) 14 base::string16 value)
15 : type_(type), index_(index), value_(value) {} 15 : type_(type), index_(index), value_(value) {}
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 case TYPE_PENDING: 65 case TYPE_PENDING:
66 case TYPE_PENDING_IGNORE: 66 case TYPE_PENDING_IGNORE:
67 result->SetString("actionType", "PENDING"); 67 result->SetString("actionType", "PENDING");
68 break; 68 break;
69 default: 69 default:
70 NOTREACHED(); 70 NOTREACHED();
71 break; 71 break;
72 } 72 }
73 return result; 73 return result;
74 } 74 }
OLDNEW
« no previous file with comments | « components/spellcheck/browser/spellcheck_action.h ('k') | components/spellcheck/browser/spellcheck_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698