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

Side by Side Diff: chrome/browser/spellchecker/spellcheck_platform_mac.mm

Issue 1210943008: Patch 2: Added a preprocessor flag for platform spellcheck. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_spellcheck_flag
Patch Set: Declared the preprocessor flag in build/config/features.gni Created 5 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) 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 // Integration with OS X native spellchecker. 5 // Integration with OS X built-in spellchecker.
6 6
7 #include "chrome/browser/spellchecker/spellcheck_platform_mac.h" 7 #include "chrome/browser/spellchecker/spellcheck_platform_mac.h"
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/mac/foundation_util.h" 14 #include "base/mac/foundation_util.h"
15 #include "base/mac/scoped_nsexception_enabler.h" 15 #include "base/mac/scoped_nsexception_enabler.h"
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 ScopedEnglishLanguageForTest::ScopedEnglishLanguageForTest() 298 ScopedEnglishLanguageForTest::ScopedEnglishLanguageForTest()
299 : state_(new SpellcheckerStateInternal) { 299 : state_(new SpellcheckerStateInternal) {
300 } 300 }
301 301
302 ScopedEnglishLanguageForTest::~ScopedEnglishLanguageForTest() { 302 ScopedEnglishLanguageForTest::~ScopedEnglishLanguageForTest() {
303 delete state_; 303 delete state_;
304 } 304 }
305 305
306 } // namespace spellcheck_mac 306 } // namespace spellcheck_mac
OLDNEW
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter.cc ('k') | chrome/common/spellcheck_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698