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

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

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 5 years, 10 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 | « public/web/WebView.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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // Ask users to choose date/time for the specified parameters. When a user 146 // Ask users to choose date/time for the specified parameters. When a user
147 // chooses a value, an implementation of this function should call 147 // chooses a value, an implementation of this function should call
148 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the 148 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the
149 // implementation opened date/time chooser UI successfully, it should return 149 // implementation opened date/time chooser UI successfully, it should return
150 // true. This function is used only if ExternalDateTimeChooser is used. 150 // true. This function is used only if ExternalDateTimeChooser is used.
151 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&, WebDateTim eChooserCompletion*) { return false; } 151 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&, WebDateTim eChooserCompletion*) { return false; }
152 152
153 // Show a notification popup for the specified form vaidation messages 153 // Show a notification popup for the specified form vaidation messages
154 // besides the anchor rectangle. An implementation of this function should 154 // besides the anchor rectangle. An implementation of this function should
155 // not hide the popup until hideValidationMessage call. 155 // not hide the popup until hideValidationMessage call.
156 virtual void showValidationMessage(const WebRect& anchorInRootView, const We bString& mainText, WebTextDirection mainTextDir, const WebString& supplementalTe xt, WebTextDirection supplementalTextDir) { } 156 // FIXME: Clarify anchor coordinates in variable name on Chromium-side.
157 virtual void showValidationMessage(const WebRect& anchorInViewport, const We bString& mainText, WebTextDirection mainTextDir, const WebString& supplementalTe xt, WebTextDirection supplementalTextDir) { }
157 158
158 // Hide notifation popup for form validation messages. 159 // Hide notifation popup for form validation messages.
159 virtual void hideValidationMessage() { } 160 virtual void hideValidationMessage() { }
160 161
161 // Move the existing notifation popup to the new anchor position. 162 // Move the existing notifation popup to the new anchor position.
162 virtual void moveValidationMessage(const WebRect& anchorInRootView) { } 163 // FIXME: Clarify anchor coordinates in variable name on Chromium-side.
164 virtual void moveValidationMessage(const WebRect& anchorInViewport) { }
163 165
164 166
165 // UI ------------------------------------------------------------------ 167 // UI ------------------------------------------------------------------
166 168
167 // Called when script modifies window.status 169 // Called when script modifies window.status
168 virtual void setStatusText(const WebString&) { } 170 virtual void setStatusText(const WebString&) { }
169 171
170 // Called when hovering over an anchor with the given URL. 172 // Called when hovering over an anchor with the given URL.
171 virtual void setMouseOverURL(const WebURL&) { } 173 virtual void setMouseOverURL(const WebURL&) { }
172 174
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // Informs the browser that the draggable regions have been updated. 295 // Informs the browser that the draggable regions have been updated.
294 virtual void draggableRegionsChanged() { } 296 virtual void draggableRegionsChanged() { }
295 297
296 protected: 298 protected:
297 ~WebViewClient() { } 299 ~WebViewClient() { }
298 }; 300 };
299 301
300 } // namespace blink 302 } // namespace blink
301 303
302 #endif 304 #endif
OLDNEW
« no previous file with comments | « public/web/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698