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

Side by Side Diff: third_party/WebKit/Source/web/WebInputMethodControllerImpl.h

Issue 2843433004: Remove WebInputMethodControllerImpl::suppress_next_keypress_event_ (Closed)
Patch Set: Created 3 years, 7 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 | third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "public/web/WebCompositionUnderline.h" 9 #include "public/web/WebCompositionUnderline.h"
10 #include "public/web/WebInputMethodController.h" 10 #include "public/web/WebInputMethodController.h"
(...skipping 24 matching lines...) Expand all
35 int selection_end) override; 35 int selection_end) override;
36 bool CommitText(const WebString& text, 36 bool CommitText(const WebString& text,
37 const WebVector<WebCompositionUnderline>& underlines, 37 const WebVector<WebCompositionUnderline>& underlines,
38 const WebRange& replacement_range, 38 const WebRange& replacement_range,
39 int relative_caret_position) override; 39 int relative_caret_position) override;
40 bool FinishComposingText( 40 bool FinishComposingText(
41 ConfirmCompositionBehavior selection_behavior) override; 41 ConfirmCompositionBehavior selection_behavior) override;
42 WebTextInputInfo TextInputInfo() override; 42 WebTextInputInfo TextInputInfo() override;
43 WebTextInputType TextInputType() override; 43 WebTextInputType TextInputType() override;
44 44
45 void SetSuppressNextKeypressEvent(bool suppress) {
46 suppress_next_keypress_event_ = suppress;
47 }
48
49 DECLARE_TRACE(); 45 DECLARE_TRACE();
50 46
51 private: 47 private:
52 LocalFrame* GetFrame() const; 48 LocalFrame* GetFrame() const;
53 InputMethodController& GetInputMethodController() const; 49 InputMethodController& GetInputMethodController() const;
54 WebPlugin* FocusedPluginIfInputMethodSupported() const; 50 WebPlugin* FocusedPluginIfInputMethodSupported() const;
55 51
56 WeakMember<WebLocalFrameImpl> web_local_frame_; 52 WeakMember<WebLocalFrameImpl> web_local_frame_;
57 bool suppress_next_keypress_event_;
58 }; 53 };
59 } // namespace blink 54 } // namespace blink
60 55
61 #endif 56 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698