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

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

Issue 2741993003: Revert restartInput change off the M57 release branch. (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « third_party/WebKit/public/web/WebViewClient.h ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // content view area, i.e. doesn't include any window decorations. 99 // content view area, i.e. doesn't include any window decorations.
100 virtual WebRect viewRect() { return WebRect(); } 100 virtual WebRect viewRect() { return WebRect(); }
101 101
102 // Called when a tooltip should be shown at the current cursor position. 102 // Called when a tooltip should be shown at the current cursor position.
103 virtual void setToolTipText(const WebString&, WebTextDirection hint) {} 103 virtual void setToolTipText(const WebString&, WebTextDirection hint) {}
104 104
105 // Called to query information about the screen where this widget is 105 // Called to query information about the screen where this widget is
106 // displayed. 106 // displayed.
107 virtual WebScreenInfo screenInfo() { return WebScreenInfo(); } 107 virtual WebScreenInfo screenInfo() { return WebScreenInfo(); }
108 108
109 // When this method gets called, WebWidgetClient implementation should
110 // reset the input method by cancelling any ongoing composition.
111 virtual void resetInputMethod() {}
112
109 // Requests to lock the mouse cursor. If true is returned, the success 113 // Requests to lock the mouse cursor. If true is returned, the success
110 // result will be asynchronously returned via a single call to 114 // result will be asynchronously returned via a single call to
111 // WebWidget::didAcquirePointerLock() or 115 // WebWidget::didAcquirePointerLock() or
112 // WebWidget::didNotAcquirePointerLock(). 116 // WebWidget::didNotAcquirePointerLock().
113 // If false, the request has been denied synchronously. 117 // If false, the request has been denied synchronously.
114 virtual bool requestPointerLock() { return false; } 118 virtual bool requestPointerLock() { return false; }
115 119
116 // Cause the pointer lock to be released. This may be called at any time, 120 // Cause the pointer lock to be released. This may be called at any time,
117 // including when a lock is pending but not yet acquired. 121 // including when a lock is pending but not yet acquired.
118 // WebWidget::didLosePointerLock() is called when unlock is complete. 122 // WebWidget::didLosePointerLock() is called when unlock is complete.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const WebImage& dragImage, 184 const WebImage& dragImage,
181 const WebPoint& dragImageOffset) {} 185 const WebPoint& dragImageOffset) {}
182 186
183 protected: 187 protected:
184 ~WebWidgetClient() {} 188 ~WebWidgetClient() {}
185 }; 189 };
186 190
187 } // namespace blink 191 } // namespace blink
188 192
189 #endif 193 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebViewClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698