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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 virtual void draggableRegionsChanged() { } | 248 virtual void draggableRegionsChanged() { } |
249 | 249 |
250 // TODO(lfg): These methods are only exposed through WebViewClient while we | 250 // TODO(lfg): These methods are only exposed through WebViewClient while we |
251 // refactor WebView to not inherit from WebWidget. | 251 // refactor WebView to not inherit from WebWidget. |
252 // WebWidgetClient overrides. | 252 // WebWidgetClient overrides. |
253 bool allowsBrokenNullLayerTreeView() const override { return false; } | 253 bool allowsBrokenNullLayerTreeView() const override { return false; } |
254 void closeWidgetSoon() override {} | 254 void closeWidgetSoon() override {} |
255 void convertViewportToWindow(WebRect* rect) override {} | 255 void convertViewportToWindow(WebRect* rect) override {} |
256 void convertWindowToViewport(WebFloatRect* rect) override {} | 256 void convertWindowToViewport(WebFloatRect* rect) override {} |
257 void didAutoResize(const WebSize& newSize) override {} | 257 void didAutoResize(const WebSize& newSize) override {} |
258 void didChangeCursor(const WebCursorInfo&) override {} | |
259 void didFocus() override {} | 258 void didFocus() override {} |
260 void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled
) override {} | 259 void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled
) override {} |
261 void didInvalidateRect(const WebRect&) override {} | 260 void didInvalidateRect(const WebRect&) override {} |
262 void didMeaningfulLayout(WebMeaningfulLayout) override {} | 261 void didMeaningfulLayout(WebMeaningfulLayout) override {} |
263 void didOverscroll(const WebFloatSize& overscrollDelta, const WebFloatSize&
accumulatedOverscroll, const WebFloatPoint& positionInViewport, const WebFloatSi
ze& velocityInViewport) override {} | 262 void didOverscroll(const WebFloatSize& overscrollDelta, const WebFloatSize&
accumulatedOverscroll, const WebFloatPoint& positionInViewport, const WebFloatSi
ze& velocityInViewport) override {} |
264 void didUpdateTextOfFocusedElementByNonUserInput() override {} | 263 void didUpdateTextOfFocusedElementByNonUserInput() override {} |
265 void hasTouchEventHandlers(bool) override {} | 264 void hasTouchEventHandlers(bool) override {} |
266 void initializeLayerTreeView() override {} | 265 void initializeLayerTreeView() override {} |
267 WebLayerTreeView* layerTreeView() override { return 0; } | 266 WebLayerTreeView* layerTreeView() override { return 0; } |
268 void onMouseDown(const WebNode& mouseDownNode) override {} | 267 void onMouseDown(const WebNode& mouseDownNode) override {} |
(...skipping 10 matching lines...) Expand all Loading... |
279 WebRect windowRect() override { return WebRect(); } | 278 WebRect windowRect() override { return WebRect(); } |
280 WebRect windowResizerRect() override { return WebRect(); } | 279 WebRect windowResizerRect() override { return WebRect(); } |
281 | 280 |
282 protected: | 281 protected: |
283 ~WebViewClient() { } | 282 ~WebViewClient() { } |
284 }; | 283 }; |
285 | 284 |
286 } // namespace blink | 285 } // namespace blink |
287 | 286 |
288 #endif | 287 #endif |
OLD | NEW |