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