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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // Informs the browser that the zoom level has changed as a result of an | 350 // Informs the browser that the zoom level has changed as a result of an |
351 // action that wasn't initiated by the client. | 351 // action that wasn't initiated by the client. |
352 virtual void zoomLevelChanged() { } | 352 virtual void zoomLevelChanged() { } |
353 | 353 |
354 // Registers a new URL handler for the given protocol. | 354 // Registers a new URL handler for the given protocol. |
355 virtual void registerProtocolHandler(const WebString& scheme, | 355 virtual void registerProtocolHandler(const WebString& scheme, |
356 const WebString& baseUrl, | 356 const WebString& baseUrl, |
357 const WebString& url, | 357 const WebString& url, |
358 const WebString& title) { } | 358 const WebString& title) { } |
359 | 359 |
| 360 // Unregisters a given URL handler for the given protocol. |
| 361 virtual void unregisterProtocolHandler(const WebString& scheme, const WebStr
ing& baseUrl, const WebString& url) { } |
| 362 |
360 // Visibility ----------------------------------------------------------- | 363 // Visibility ----------------------------------------------------------- |
361 | 364 |
362 // Returns the current visibility of the WebView. | 365 // Returns the current visibility of the WebView. |
363 virtual WebPageVisibilityState visibilityState() const | 366 virtual WebPageVisibilityState visibilityState() const |
364 { | 367 { |
365 return WebPageVisibilityStateVisible; | 368 return WebPageVisibilityStateVisible; |
366 } | 369 } |
367 | 370 |
368 // Media Streams ------------------------------------------------------- | 371 // Media Streams ------------------------------------------------------- |
369 | 372 |
(...skipping 22 matching lines...) Expand all Loading... |
392 // Informs the browser that the draggable regions have been updated. | 395 // Informs the browser that the draggable regions have been updated. |
393 virtual void draggableRegionsChanged() { } | 396 virtual void draggableRegionsChanged() { } |
394 | 397 |
395 protected: | 398 protected: |
396 ~WebViewClient() { } | 399 ~WebViewClient() { } |
397 }; | 400 }; |
398 | 401 |
399 } // namespace WebKit | 402 } // namespace WebKit |
400 | 403 |
401 #endif | 404 #endif |
OLD | NEW |