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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.h

Issue 2910223003: [refactor] - Rename and Move WebWidget::CaretOrSelectionRange to WebInputMethodController::GetSelec… (Closed)
Patch Set: Rebase Created 3 years, 5 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebInputMethodControllerImpl_h 5 #ifndef WebInputMethodControllerImpl_h
6 #define WebInputMethodControllerImpl_h 6 #define WebInputMethodControllerImpl_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "platform/wtf/Allocator.h" 10 #include "platform/wtf/Allocator.h"
(...skipping 25 matching lines...) Expand all
36 int selection_start, 36 int selection_start,
37 int selection_end) override; 37 int selection_end) override;
38 bool CommitText(const WebString& text, 38 bool CommitText(const WebString& text,
39 const WebVector<WebCompositionUnderline>& underlines, 39 const WebVector<WebCompositionUnderline>& underlines,
40 const WebRange& replacement_range, 40 const WebRange& replacement_range,
41 int relative_caret_position) override; 41 int relative_caret_position) override;
42 bool FinishComposingText( 42 bool FinishComposingText(
43 ConfirmCompositionBehavior selection_behavior) override; 43 ConfirmCompositionBehavior selection_behavior) override;
44 WebTextInputInfo TextInputInfo() override; 44 WebTextInputInfo TextInputInfo() override;
45 WebTextInputType TextInputType() override; 45 WebTextInputType TextInputType() override;
46 WebRange GetSelectionOffsets() const;
46 47
47 DECLARE_TRACE(); 48 DECLARE_TRACE();
48 49
49 private: 50 private:
50 LocalFrame* GetFrame() const; 51 LocalFrame* GetFrame() const;
51 InputMethodController& GetInputMethodController() const; 52 InputMethodController& GetInputMethodController() const;
52 WebPlugin* FocusedPluginIfInputMethodSupported() const; 53 WebPlugin* FocusedPluginIfInputMethodSupported() const;
53 54
54 const Member<WebLocalFrameBase> web_frame_; 55 const Member<WebLocalFrameBase> web_frame_;
55 }; 56 };
56 } // namespace blink 57 } // namespace blink
57 58
58 #endif 59 #endif
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698