Chromium Code Reviews| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 241 // Take focus away from the WebView by focusing an adjacent UI element | 241 // Take focus away from the WebView by focusing an adjacent UI element |
| 242 // in the containing window. | 242 // in the containing window. |
| 243 virtual void focusNext() { } | 243 virtual void focusNext() { } |
| 244 virtual void focusPrevious() { } | 244 virtual void focusPrevious() { } |
| 245 | 245 |
| 246 // Called when a new node gets focused. | 246 // Called when a new node gets focused. |
| 247 virtual void focusedNodeChanged(const WebNode&) { } | 247 virtual void focusedNodeChanged(const WebNode&) { } |
| 248 | 248 |
| 249 virtual void numberOfWheelEventHandlersChanged(unsigned) { } | 249 virtual void numberOfWheelEventHandlersChanged(unsigned) { } |
| 250 | 250 |
| 251 // Call when the size of the view automatically changed. | |
|
levin
2011/11/30 12:03:47
Should be "called".
| |
| 252 virtual void autoSizeChanged(const WebSize&) { } | |
|
darin (slow to review)
2011/11/30 23:29:05
Why do we need this? Isn't WebWidgetClient::setSi
levin
2011/12/01 20:23:45
You're right. It was old cruft laying around (part
| |
| 253 | |
| 251 // Indicates two things: | 254 // Indicates two things: |
| 252 // 1) This view may have a new layout now. | 255 // 1) This view may have a new layout now. |
| 253 // 2) Calling layout() is a no-op. | 256 // 2) Calling layout() is a no-op. |
| 254 // After calling WebWidget::layout(), expect to get this notification | 257 // After calling WebWidget::layout(), expect to get this notification |
| 255 // unless the view did not need a layout. | 258 // unless the view did not need a layout. |
| 256 virtual void didUpdateLayout() { } | 259 virtual void didUpdateLayout() { } |
| 257 | 260 |
| 258 // Session history ----------------------------------------------------- | 261 // Session history ----------------------------------------------------- |
| 259 | 262 |
| 260 // Tells the embedder to navigate back or forward in session history by | 263 // Tells the embedder to navigate back or forward in session history by |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 332 | 335 |
| 333 virtual WebUserMediaClient* userMediaClient() { return 0; } | 336 virtual WebUserMediaClient* userMediaClient() { return 0; } |
| 334 | 337 |
| 335 protected: | 338 protected: |
| 336 ~WebViewClient() { } | 339 ~WebViewClient() { } |
| 337 }; | 340 }; |
| 338 | 341 |
| 339 } // namespace WebKit | 342 } // namespace WebKit |
| 340 | 343 |
| 341 #endif | 344 #endif |
| OLD | NEW |