| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 220 |
| 221 // Zoom ---------------------------------------------------------------- | 221 // Zoom ---------------------------------------------------------------- |
| 222 | 222 |
| 223 // Informs the browser that the zoom levels for this frame have changed from | 223 // Informs the browser that the zoom levels for this frame have changed from |
| 224 // the default values. | 224 // the default values. |
| 225 virtual void ZoomLimitsChanged(double minimum_level, double maximum_level) {} | 225 virtual void ZoomLimitsChanged(double minimum_level, double maximum_level) {} |
| 226 | 226 |
| 227 // Informs the browser that the page scale has changed. | 227 // Informs the browser that the page scale has changed. |
| 228 virtual void PageScaleFactorChanged() {} | 228 virtual void PageScaleFactorChanged() {} |
| 229 | 229 |
| 230 // Draggable regions ---------------------------------------------------- | 230 // Gestures ------------------------------------------------------------- |
| 231 | |
| 232 // Informs the browser that the draggable regions have been updated. | |
| 233 virtual void DraggableRegionsChanged() {} | |
| 234 | 231 |
| 235 virtual bool CanHandleGestureEvent() { return false; } | 232 virtual bool CanHandleGestureEvent() { return false; } |
| 236 | 233 |
| 237 // TODO(lfg): These methods are only exposed through WebViewClient while we | 234 // TODO(lfg): These methods are only exposed through WebViewClient while we |
| 238 // refactor WebView to not inherit from WebWidget. | 235 // refactor WebView to not inherit from WebWidget. |
| 239 // WebWidgetClient overrides. | 236 // WebWidgetClient overrides. |
| 240 void CloseWidgetSoon() override {} | 237 void CloseWidgetSoon() override {} |
| 241 void ConvertViewportToWindow(WebRect* rect) override {} | 238 void ConvertViewportToWindow(WebRect* rect) override {} |
| 242 void ConvertWindowToViewport(WebFloatRect* rect) override {} | 239 void ConvertWindowToViewport(WebFloatRect* rect) override {} |
| 243 void DidHandleGestureEvent(const WebGestureEvent& event, | 240 void DidHandleGestureEvent(const WebGestureEvent& event, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 255 bool page_changed) override {} | 252 bool page_changed) override {} |
| 256 void Show(WebNavigationPolicy) override {} | 253 void Show(WebNavigationPolicy) override {} |
| 257 virtual WebWidgetClient* WidgetClient() { return this; } | 254 virtual WebWidgetClient* WidgetClient() { return this; } |
| 258 | 255 |
| 259 protected: | 256 protected: |
| 260 }; | 257 }; |
| 261 | 258 |
| 262 } // namespace blink | 259 } // namespace blink |
| 263 | 260 |
| 264 #endif | 261 #endif |
| OLD | NEW |