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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
346 | 346 |
347 // Informs the browser that the zoom levels for this frame have changed from | 347 // Informs the browser that the zoom levels for this frame have changed from |
348 // the default values. | 348 // the default values. |
349 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } | 349 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } |
350 | 350 |
351 // Informs the browser that the zoom level has changed as a result of an | 351 // Informs the browser that the zoom level has changed as a result of an |
352 // action that wasn't initiated by the client. | 352 // action that wasn't initiated by the client. |
353 virtual void zoomLevelChanged() { } | 353 virtual void zoomLevelChanged() { } |
354 | 354 |
355 // Registers a new URL handler for the given protocol. | 355 // Registers a new URL handler for the given protocol. |
356 virtual void registerProtocolHandler(const WebString& scheme, | 356 virtual void registerProtocolHandler(const WebString& scheme, const WebURL& baseUrl, const WebURL& url, const WebString& title) { } |
jochen (gone - plz use gerrit)
2014/01/20 09:21:38
please keep the old version around and have the ne
gyuyoung-inactive
2014/01/21 02:17:14
Jochen, can't we land blink's cl and content's cl
| |
357 const WebString& baseUrl, | |
358 const WebString& url, | |
359 const WebString& title) { } | |
360 | 357 |
361 // Unregisters a given URL handler for the given protocol. | 358 // Unregisters a given URL handler for the given protocol. |
362 virtual void unregisterProtocolHandler(const WebString& scheme, const WebStr ing& baseUrl, const WebString& url) { } | 359 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL & baseUrl, const WebURL& url) { } |
363 | 360 |
364 // Check if a given URL handler is registered for the given protocol. | 361 // Check if a given URL handler is registered for the given protocol. |
365 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebString& baseUrl, const WebString& url) | 362 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& baseUrl, const WebURL& url) |
366 { | 363 { |
367 return WebCustomHandlersNew; | 364 return WebCustomHandlersNew; |
368 } | 365 } |
369 | 366 |
370 // Visibility ----------------------------------------------------------- | 367 // Visibility ----------------------------------------------------------- |
371 | 368 |
372 // Returns the current visibility of the WebView. | 369 // Returns the current visibility of the WebView. |
373 virtual WebPageVisibilityState visibilityState() const | 370 virtual WebPageVisibilityState visibilityState() const |
374 { | 371 { |
375 return WebPageVisibilityStateVisible; | 372 return WebPageVisibilityStateVisible; |
(...skipping 26 matching lines...) Expand all Loading... | |
402 // Informs the browser that the draggable regions have been updated. | 399 // Informs the browser that the draggable regions have been updated. |
403 virtual void draggableRegionsChanged() { } | 400 virtual void draggableRegionsChanged() { } |
404 | 401 |
405 protected: | 402 protected: |
406 ~WebViewClient() { } | 403 ~WebViewClient() { } |
407 }; | 404 }; |
408 | 405 |
409 } // namespace blink | 406 } // namespace blink |
410 | 407 |
411 #endif | 408 #endif |
OLD | NEW |