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

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

Issue 616603006: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple 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 20 matching lines...) Expand all
31 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
32 #include "wtf/Vector.h" 32 #include "wtf/Vector.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class Editor; 36 class Editor;
37 class LocalFrame; 37 class LocalFrame;
38 class Range; 38 class Range;
39 class Text; 39 class Text;
40 40
41 class InputMethodController FINAL : public NoBaseWillBeGarbageCollectedFinalized <InputMethodController> { 41 class InputMethodController final : public NoBaseWillBeGarbageCollectedFinalized <InputMethodController> {
42 WTF_MAKE_NONCOPYABLE(InputMethodController); 42 WTF_MAKE_NONCOPYABLE(InputMethodController);
43 public: 43 public:
44 enum ConfirmCompositionBehavior { 44 enum ConfirmCompositionBehavior {
45 DoNotKeepSelection, 45 DoNotKeepSelection,
46 KeepSelection, 46 KeepSelection,
47 }; 47 };
48 48
49 static PassOwnPtrWillBeRawPtr<InputMethodController> create(LocalFrame&); 49 static PassOwnPtrWillBeRawPtr<InputMethodController> create(LocalFrame&);
50 ~InputMethodController(); 50 ~InputMethodController();
51 void trace(Visitor*); 51 void trace(Visitor*);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 void selectComposition() const; 117 void selectComposition() const;
118 enum FinishCompositionMode { ConfirmComposition, CancelComposition }; 118 enum FinishCompositionMode { ConfirmComposition, CancelComposition };
119 // Returns true if composition exists. 119 // Returns true if composition exists.
120 bool finishComposition(const String&, FinishCompositionMode); 120 bool finishComposition(const String&, FinishCompositionMode);
121 bool setSelectionOffsets(const PlainTextRange&); 121 bool setSelectionOffsets(const PlainTextRange&);
122 }; 122 };
123 123
124 } // namespace blink 124 } // namespace blink
125 125
126 #endif // InputMethodController_h 126 #endif // InputMethodController_h
OLDNEW
« no previous file with comments | « Source/core/editing/IndentOutdentCommand.h ('k') | Source/core/editing/InputMethodControllerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698