OLD | NEW |
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 WebTextDirection supplemental_text_dir) {} | 138 WebTextDirection supplemental_text_dir) {} |
139 | 139 |
140 // Hide notifation popup for form validation messages. | 140 // Hide notifation popup for form validation messages. |
141 virtual void HideValidationMessage() {} | 141 virtual void HideValidationMessage() {} |
142 | 142 |
143 // Move the existing notifation popup to the new anchor position. | 143 // Move the existing notifation popup to the new anchor position. |
144 virtual void MoveValidationMessage(const WebRect& anchor_in_viewport) {} | 144 virtual void MoveValidationMessage(const WebRect& anchor_in_viewport) {} |
145 | 145 |
146 // UI ------------------------------------------------------------------ | 146 // UI ------------------------------------------------------------------ |
147 | 147 |
148 // Called when script modifies window.status | |
149 virtual void SetStatusText(const WebString&) {} | |
150 | |
151 // Called when hovering over an anchor with the given URL. | 148 // Called when hovering over an anchor with the given URL. |
152 virtual void SetMouseOverURL(const WebURL&) {} | 149 virtual void SetMouseOverURL(const WebURL&) {} |
153 | 150 |
154 // Called when keyboard focus switches to an anchor with the given URL. | 151 // Called when keyboard focus switches to an anchor with the given URL. |
155 virtual void SetKeyboardFocusURL(const WebURL&) {} | 152 virtual void SetKeyboardFocusURL(const WebURL&) {} |
156 | 153 |
157 // Called to determine if drag-n-drop operations may initiate a page | 154 // Called to determine if drag-n-drop operations may initiate a page |
158 // navigation. | 155 // navigation. |
159 virtual bool AcceptsLoadDrops() { return true; } | 156 virtual bool AcceptsLoadDrops() { return true; } |
160 | 157 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 bool page_changed) override {} | 255 bool page_changed) override {} |
259 void Show(WebNavigationPolicy) override {} | 256 void Show(WebNavigationPolicy) override {} |
260 virtual WebWidgetClient* WidgetClient() { return this; } | 257 virtual WebWidgetClient* WidgetClient() { return this; } |
261 | 258 |
262 protected: | 259 protected: |
263 }; | 260 }; |
264 | 261 |
265 } // namespace blink | 262 } // namespace blink |
266 | 263 |
267 #endif | 264 #endif |
OLD | NEW |