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

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

Issue 584023005: Clean up forward declarations in Source/core/editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « Source/core/editing/FrameSelection.h ('k') | Source/core/editing/SpellCheckRequester.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) 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 15 matching lines...) Expand all
26 #ifndef InputMethodController_h 26 #ifndef InputMethodController_h
27 #define InputMethodController_h 27 #define InputMethodController_h
28 28
29 #include "core/editing/CompositionUnderline.h" 29 #include "core/editing/CompositionUnderline.h"
30 #include "core/editing/PlainTextRange.h" 30 #include "core/editing/PlainTextRange.h"
31 #include "wtf/Vector.h" 31 #include "wtf/Vector.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class Editor; 35 class Editor;
36 class EditorClient;
37 class LocalFrame; 36 class LocalFrame;
38 class Range; 37 class Range;
39 class Text; 38 class Text;
40 39
41 class InputMethodController { 40 class InputMethodController {
42 WTF_MAKE_NONCOPYABLE(InputMethodController); 41 WTF_MAKE_NONCOPYABLE(InputMethodController);
43 public: 42 public:
44 enum ConfirmCompositionBehavior { 43 enum ConfirmCompositionBehavior {
45 DoNotKeepSelection, 44 DoNotKeepSelection,
46 KeepSelection, 45 KeepSelection,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void selectComposition() const; 108 void selectComposition() const;
110 enum FinishCompositionMode { ConfirmComposition, CancelComposition }; 109 enum FinishCompositionMode { ConfirmComposition, CancelComposition };
111 // Returns true if composition exists. 110 // Returns true if composition exists.
112 bool finishComposition(const String&, FinishCompositionMode); 111 bool finishComposition(const String&, FinishCompositionMode);
113 bool setSelectionOffsets(const PlainTextRange&); 112 bool setSelectionOffsets(const PlainTextRange&);
114 }; 113 };
115 114
116 } // namespace blink 115 } // namespace blink
117 116
118 #endif // InputMethodController_h 117 #endif // InputMethodController_h
OLDNEW
« no previous file with comments | « Source/core/editing/FrameSelection.h ('k') | Source/core/editing/SpellCheckRequester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698