| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 // Zoom ---------------------------------------------------------------- | 242 // Zoom ---------------------------------------------------------------- |
| 243 | 243 |
| 244 // Informs the browser that the zoom levels for this frame have changed from | 244 // Informs the browser that the zoom levels for this frame have changed from |
| 245 // the default values. | 245 // the default values. |
| 246 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } | 246 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } |
| 247 | 247 |
| 248 // Informs the browser that the zoom level has changed as a result of an | 248 // Informs the browser that the zoom level has changed as a result of an |
| 249 // action that wasn't initiated by the client. | 249 // action that wasn't initiated by the client. |
| 250 virtual void zoomLevelChanged() { } | 250 virtual void zoomLevelChanged() { } |
| 251 | 251 |
| 252 // Informs the browser that the page scale has changed. |
| 253 virtual void pageScaleFactorChanged() { } |
| 252 | 254 |
| 253 // Navigator Content Utils -------------------------------------------- | 255 // Navigator Content Utils -------------------------------------------- |
| 254 | 256 |
| 255 // Registers a new URL handler for the given protocol. | 257 // Registers a new URL handler for the given protocol. |
| 256 virtual void registerProtocolHandler(const WebString& scheme, | 258 virtual void registerProtocolHandler(const WebString& scheme, |
| 257 const WebURL& url, | 259 const WebURL& url, |
| 258 const WebString& title) { } | 260 const WebString& title) { } |
| 259 | 261 |
| 260 // Unregisters a given URL handler for the given protocol. | 262 // Unregisters a given URL handler for the given protocol. |
| 261 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL
& url) { } | 263 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL
& url) { } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 // Informs the browser that the draggable regions have been updated. | 297 // Informs the browser that the draggable regions have been updated. |
| 296 virtual void draggableRegionsChanged() { } | 298 virtual void draggableRegionsChanged() { } |
| 297 | 299 |
| 298 protected: | 300 protected: |
| 299 ~WebViewClient() { } | 301 ~WebViewClient() { } |
| 300 }; | 302 }; |
| 301 | 303 |
| 302 } // namespace blink | 304 } // namespace blink |
| 303 | 305 |
| 304 #endif | 306 #endif |
| OLD | NEW |