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

Side by Side Diff: third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 TextCheckingParagraph::TextCheckingParagraph(const EphemeralRange& checkingRange , const EphemeralRange& paragraphRange) 111 TextCheckingParagraph::TextCheckingParagraph(const EphemeralRange& checkingRange , const EphemeralRange& paragraphRange)
112 : m_checkingRange(checkingRange) 112 : m_checkingRange(checkingRange)
113 , m_paragraphRange(paragraphRange) 113 , m_paragraphRange(paragraphRange)
114 , m_checkingStart(-1) 114 , m_checkingStart(-1)
115 , m_checkingEnd(-1) 115 , m_checkingEnd(-1)
116 , m_checkingLength(-1) 116 , m_checkingLength(-1)
117 { 117 {
118 } 118 }
119 119
120 TextCheckingParagraph::TextCheckingParagraph(PassRefPtrWillBeRawPtr<Range> check ingRange, PassRefPtrWillBeRawPtr<Range> paragraphRange) 120 TextCheckingParagraph::TextCheckingParagraph(RawPtr<Range> checkingRange, RawPtr <Range> paragraphRange)
121 : m_checkingRange(checkingRange.get()) 121 : m_checkingRange(checkingRange.get())
122 , m_paragraphRange(paragraphRange.get()) 122 , m_paragraphRange(paragraphRange.get())
123 , m_checkingStart(-1) 123 , m_checkingStart(-1)
124 , m_checkingEnd(-1) 124 , m_checkingEnd(-1)
125 , m_checkingLength(-1) 125 , m_checkingLength(-1)
126 { 126 {
127 } 127 }
128 128
129 TextCheckingParagraph::~TextCheckingParagraph() 129 TextCheckingParagraph::~TextCheckingParagraph()
130 { 130 {
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 return false; 564 return false;
565 565
566 const Settings* settings = frame->settings(); 566 const Settings* settings = frame->settings();
567 if (!settings) 567 if (!settings)
568 return false; 568 return false;
569 569
570 return settings->unifiedTextCheckerEnabled(); 570 return settings->unifiedTextCheckerEnabled();
571 } 571 }
572 572
573 } // namespace blink 573 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698