| 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 // Informs the browser that the zoom level has changed as a result of an | 257 // Informs the browser that the zoom level has changed as a result of an |
| 258 // action that wasn't initiated by the client. | 258 // action that wasn't initiated by the client. |
| 259 virtual void zoomLevelChanged() { } | 259 virtual void zoomLevelChanged() { } |
| 260 | 260 |
| 261 | 261 |
| 262 // Navigator Content Utils -------------------------------------------- | 262 // Navigator Content Utils -------------------------------------------- |
| 263 | 263 |
| 264 // Registers a new URL handler for the given protocol. | 264 // Registers a new URL handler for the given protocol. |
| 265 virtual void registerProtocolHandler(const WebString& scheme, | 265 virtual void registerProtocolHandler(const WebString& scheme, |
| 266 const WebURL& baseUrl, | |
| 267 const WebURL& url, | 266 const WebURL& url, |
| 268 const WebString& title) { } | 267 const WebString& title) { } |
| 269 | 268 |
| 270 // Unregisters a given URL handler for the given protocol. | 269 // Unregisters a given URL handler for the given protocol. |
| 271 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL
& baseUrl, const WebURL& url) { } | 270 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL
& url) { } |
| 272 | 271 |
| 273 // Check if a given URL handler is registered for the given protocol. | 272 // Check if a given URL handler is registered for the given protocol. |
| 274 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString&
scheme, const WebURL& baseUrl, const WebURL& url) | 273 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString&
scheme, const WebURL& url) |
| 275 { | 274 { |
| 276 return WebCustomHandlersNew; | 275 return WebCustomHandlersNew; |
| 277 } | 276 } |
| 278 | 277 |
| 279 | 278 |
| 280 // Visibility ----------------------------------------------------------- | 279 // Visibility ----------------------------------------------------------- |
| 281 | 280 |
| 282 // Returns the current visibility of the WebView. | 281 // Returns the current visibility of the WebView. |
| 283 virtual WebPageVisibilityState visibilityState() const | 282 virtual WebPageVisibilityState visibilityState() const |
| 284 { | 283 { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 310 // Informs the browser that the draggable regions have been updated. | 309 // Informs the browser that the draggable regions have been updated. |
| 311 virtual void draggableRegionsChanged() { } | 310 virtual void draggableRegionsChanged() { } |
| 312 | 311 |
| 313 protected: | 312 protected: |
| 314 ~WebViewClient() { } | 313 ~WebViewClient() { } |
| 315 }; | 314 }; |
| 316 | 315 |
| 317 } // namespace blink | 316 } // namespace blink |
| 318 | 317 |
| 319 #endif | 318 #endif |
| OLD | NEW |