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

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

Issue 1486743002: Clean up some remaining obsolete coordinate-space naming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Mac compile Created 5 years 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/WebInputEvent.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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // Ask users to choose date/time for the specified parameters. When a user 145 // Ask users to choose date/time for the specified parameters. When a user
146 // chooses a value, an implementation of this function should call 146 // chooses a value, an implementation of this function should call
147 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the 147 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the
148 // implementation opened date/time chooser UI successfully, it should return 148 // implementation opened date/time chooser UI successfully, it should return
149 // true. This function is used only if ExternalDateTimeChooser is used. 149 // true. This function is used only if ExternalDateTimeChooser is used.
150 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&, WebDateTim eChooserCompletion*) { return false; } 150 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&, WebDateTim eChooserCompletion*) { return false; }
151 151
152 // Show a notification popup for the specified form validation messages 152 // Show a notification popup for the specified form validation messages
153 // besides the anchor rectangle. An implementation of this function should 153 // besides the anchor rectangle. An implementation of this function should
154 // not hide the popup until hideValidationMessage call. 154 // not hide the popup until hideValidationMessage call.
155 // FIXME: Clarify anchor coordinates in variable name on Chromium-side.
156 virtual void showValidationMessage(const WebRect& anchorInViewport, const We bString& mainText, WebTextDirection mainTextDir, const WebString& supplementalTe xt, WebTextDirection supplementalTextDir) { } 155 virtual void showValidationMessage(const WebRect& anchorInViewport, const We bString& mainText, WebTextDirection mainTextDir, const WebString& supplementalTe xt, WebTextDirection supplementalTextDir) { }
157 156
158 // Hide notifation popup for form validation messages. 157 // Hide notifation popup for form validation messages.
159 virtual void hideValidationMessage() { } 158 virtual void hideValidationMessage() { }
160 159
161 // Move the existing notifation popup to the new anchor position. 160 // Move the existing notifation popup to the new anchor position.
162 // FIXME: Clarify anchor coordinates in variable name on Chromium-side.
163 virtual void moveValidationMessage(const WebRect& anchorInViewport) { } 161 virtual void moveValidationMessage(const WebRect& anchorInViewport) { }
164 162
165 163
166 // UI ------------------------------------------------------------------ 164 // UI ------------------------------------------------------------------
167 165
168 // Called when script modifies window.status 166 // Called when script modifies window.status
169 virtual void setStatusText(const WebString&) { } 167 virtual void setStatusText(const WebString&) { }
170 168
171 // Called when hovering over an anchor with the given URL. 169 // Called when hovering over an anchor with the given URL.
172 virtual void setMouseOverURL(const WebURL&) { } 170 virtual void setMouseOverURL(const WebURL&) { }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // Informs the browser that the draggable regions have been updated. 270 // Informs the browser that the draggable regions have been updated.
273 virtual void draggableRegionsChanged() { } 271 virtual void draggableRegionsChanged() { }
274 272
275 protected: 273 protected:
276 ~WebViewClient() { } 274 ~WebViewClient() { }
277 }; 275 };
278 276
279 } // namespace blink 277 } // namespace blink
280 278
281 #endif 279 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebInputEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698