| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |