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

Side by Side Diff: Source/core/editing/SpellCheckRequester.h

Issue 134343002: Update editing classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 25 matching lines...) Expand all
36 #include "wtf/Vector.h" 36 #include "wtf/Vector.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class Frame; 41 class Frame;
42 class Node; 42 class Node;
43 class SpellCheckRequester; 43 class SpellCheckRequester;
44 class TextCheckerClient; 44 class TextCheckerClient;
45 45
46 class SpellCheckRequest : public TextCheckingRequest { 46 class SpellCheckRequest FINAL : public TextCheckingRequest {
47 public: 47 public:
48 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextChecki ngProcessType, PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange , int requestNumber = 0); 48 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextChecki ngProcessType, PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange , int requestNumber = 0);
49 virtual ~SpellCheckRequest(); 49 virtual ~SpellCheckRequest();
50 50
51 PassRefPtr<Range> checkingRange() const { return m_checkingRange; } 51 PassRefPtr<Range> checkingRange() const { return m_checkingRange; }
52 PassRefPtr<Range> paragraphRange() const { return m_paragraphRange; } 52 PassRefPtr<Range> paragraphRange() const { return m_paragraphRange; }
53 PassRefPtr<Element> rootEditableElement() const { return m_rootEditableEleme nt; } 53 PassRefPtr<Element> rootEditableElement() const { return m_rootEditableEleme nt; }
54 54
55 void setCheckerAndSequence(SpellCheckRequester*, int sequence); 55 void setCheckerAndSequence(SpellCheckRequester*, int sequence);
56 void requesterDestroyed(); 56 void requesterDestroyed();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 Timer<SpellCheckRequester> m_timerToProcessQueuedRequest; 116 Timer<SpellCheckRequester> m_timerToProcessQueuedRequest;
117 117
118 RefPtr<SpellCheckRequest> m_processingRequest; 118 RefPtr<SpellCheckRequest> m_processingRequest;
119 RequestQueue m_requestQueue; 119 RequestQueue m_requestQueue;
120 }; 120 };
121 121
122 } // namespace WebCore 122 } // namespace WebCore
123 123
124 #endif // SpellCheckRequester_h 124 #endif // SpellCheckRequester_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698