| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 virtual WebString acceptLanguages() { return WebString(); } | 116 virtual WebString acceptLanguages() { return WebString(); } |
| 117 | 117 |
| 118 // Developer tools ----------------------------------------------------- | 118 // Developer tools ----------------------------------------------------- |
| 119 | 119 |
| 120 // Called to notify the client that the inspector's settings were | 120 // Called to notify the client that the inspector's settings were |
| 121 // changed and should be saved. See WebView::inspectorSettings. | 121 // changed and should be saved. See WebView::inspectorSettings. |
| 122 virtual void didUpdateInspectorSettings() { } | 122 virtual void didUpdateInspectorSettings() { } |
| 123 | 123 |
| 124 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } | 124 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } |
| 125 | 125 |
| 126 | |
| 127 // Zoom ---------------------------------------------------------------- | |
| 128 | |
| 129 // Informs the browser that the zoom levels for this frame have changed from | |
| 130 // the default values. | |
| 131 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } | |
| 132 | |
| 133 // Informs the browser that the zoom level has changed as a result of an | |
| 134 // action that wasn't initiated by the client. | |
| 135 virtual void zoomLevelChanged() { } | |
| 136 | |
| 137 | |
| 138 // Navigator Content Utils -------------------------------------------- | 126 // Navigator Content Utils -------------------------------------------- |
| 139 | 127 |
| 140 // Registers a new URL handler for the given protocol. | 128 // Registers a new URL handler for the given protocol. |
| 141 virtual void registerProtocolHandler(const WebString& scheme, | 129 virtual void registerProtocolHandler(const WebString& scheme, |
| 142 const WebURL& baseUrl, | 130 const WebURL& baseUrl, |
| 143 const WebURL& url, | 131 const WebURL& url, |
| 144 const WebString& title) { } | 132 const WebString& title) { } |
| 145 | 133 |
| 146 // Unregisters a given URL handler for the given protocol. | 134 // Unregisters a given URL handler for the given protocol. |
| 147 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL
& baseUrl, const WebURL& url) { } | 135 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL
& baseUrl, const WebURL& url) { } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 174 // Cancels any previously scheduled content intents that have not yet launch
ed. | 162 // Cancels any previously scheduled content intents that have not yet launch
ed. |
| 175 virtual void cancelScheduledContentIntents() { } | 163 virtual void cancelScheduledContentIntents() { } |
| 176 | 164 |
| 177 protected: | 165 protected: |
| 178 ~WebViewClient() { } | 166 ~WebViewClient() { } |
| 179 }; | 167 }; |
| 180 | 168 |
| 181 } // namespace blink | 169 } // namespace blink |
| 182 | 170 |
| 183 #endif | 171 #endif |
| OLD | NEW |