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

Side by Side Diff: Source/core/html/ime/InputMethodContext.h

Issue 131793003: Update remaining HTML classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove useless FINAL 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
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include "wtf/text/AtomicString.h" 40 #include "wtf/text/AtomicString.h"
41 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 class ExecutionContext; 45 class ExecutionContext;
46 class InputMethodController; 46 class InputMethodController;
47 class Node; 47 class Node;
48 48
49 class InputMethodContext : public ScriptWrappable, public EventTargetWithInlineD ata { 49 class InputMethodContext FINAL : public ScriptWrappable, public EventTargetWithI nlineData {
50 public: 50 public:
51 static PassOwnPtr<InputMethodContext> create(HTMLElement*); 51 static PassOwnPtr<InputMethodContext> create(HTMLElement*);
52 ~InputMethodContext(); 52 virtual ~InputMethodContext();
53 53
54 void ref() { m_element->ref(); } 54 void ref() { m_element->ref(); }
55 void deref() { m_element->deref(); } 55 void deref() { m_element->deref(); }
56 56
57 String locale() const; 57 String locale() const;
58 HTMLElement* target() const; 58 HTMLElement* target() const;
59 unsigned compositionStartOffset(); 59 unsigned compositionStartOffset();
60 unsigned compositionEndOffset(); 60 unsigned compositionEndOffset();
61 void confirmComposition(); 61 void confirmComposition();
62 62
(...skipping 22 matching lines...) Expand all
85 virtual void refEventTarget() OVERRIDE { ref(); } 85 virtual void refEventTarget() OVERRIDE { ref(); }
86 virtual void derefEventTarget() OVERRIDE { deref(); } 86 virtual void derefEventTarget() OVERRIDE { deref(); }
87 87
88 HTMLElement* m_element; 88 HTMLElement* m_element;
89 Vector<unsigned> m_segments; 89 Vector<unsigned> m_segments;
90 }; 90 };
91 91
92 } // namespace WebCore 92 } // namespace WebCore
93 93
94 #endif // InputMethodContext_h 94 #endif // InputMethodContext_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698