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

Side by Side Diff: third_party/WebKit/public/web/WebFrameWidget.h

Issue 2608293002: [reland, refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodContr… (Closed)
Patch Set: Addressing wjmaclean@'s comments Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void setBaseBackgroundColor(WebColor) = 0; 76 virtual void setBaseBackgroundColor(WebColor) = 0;
77 77
78 // Returns the local root of this WebFrameWidget. 78 // Returns the local root of this WebFrameWidget.
79 virtual WebLocalFrame* localRoot() const = 0; 79 virtual WebLocalFrame* localRoot() const = 0;
80 80
81 // WebWidget implementation. 81 // WebWidget implementation.
82 bool isWebFrameWidget() const final { return true; } 82 bool isWebFrameWidget() const final { return true; }
83 83
84 // Current instance of the active WebInputMethodController, that is, the 84 // Current instance of the active WebInputMethodController, that is, the
85 // WebInputMethodController corresponding to (and owned by) the focused 85 // WebInputMethodController corresponding to (and owned by) the focused
86 // WebLocalFrameImpl. It might return nullptr when there are no focused 86 // WebLocalFrameImpl. It will return nullptr when there are no focused
87 // frames or possibly when the WebFrameWidget does not accept IME events. 87 // frames inside this WebFrameWidget.
88 virtual WebInputMethodController* getActiveWebInputMethodController() 88 virtual WebInputMethodController* getActiveWebInputMethodController()
89 const = 0; 89 const = 0;
90 90
91 // Callback methods when a drag-and-drop operation is trying to drop something 91 // Callback methods when a drag-and-drop operation is trying to drop something
92 // on the WebFrameWidget. 92 // on the WebFrameWidget.
93 virtual WebDragOperation dragTargetDragEnter( 93 virtual WebDragOperation dragTargetDragEnter(
94 const WebDragData&, 94 const WebDragData&,
95 const WebPoint& pointInViewport, 95 const WebPoint& pointInViewport,
96 const WebPoint& screenPoint, 96 const WebPoint& screenPoint,
97 WebDragOperationsMask operationsAllowed, 97 WebDragOperationsMask operationsAllowed,
(...skipping 15 matching lines...) Expand all
113 WebDragOperation) = 0; 113 WebDragOperation) = 0;
114 114
115 // Notfies the WebFrameWidget that the system drag and drop operation has 115 // Notfies the WebFrameWidget that the system drag and drop operation has
116 // ended. 116 // ended.
117 virtual void dragSourceSystemDragEnded() = 0; 117 virtual void dragSourceSystemDragEnded() = 0;
118 }; 118 };
119 119
120 } // namespace blink 120 } // namespace blink
121 121
122 #endif 122 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | third_party/WebKit/public/web/WebInputMethodController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698