| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 class WebNode; | 52 class WebNode; |
| 53 class WebPageOverlay; | 53 class WebPageOverlay; |
| 54 class WebPermissionClient; | 54 class WebPermissionClient; |
| 55 class WebPrerendererClient; | 55 class WebPrerendererClient; |
| 56 class WebRange; | 56 class WebRange; |
| 57 class WebSettings; | 57 class WebSettings; |
| 58 class WebSpellCheckClient; | 58 class WebSpellCheckClient; |
| 59 class WebString; | 59 class WebString; |
| 60 class WebPasswordGeneratorClient; | 60 class WebPasswordGeneratorClient; |
| 61 class WebValidationMessageClient; | 61 class WebValidationMessageClient; |
| 62 class WebViewBenchmarkSupport; | |
| 63 class WebViewClient; | 62 class WebViewClient; |
| 64 struct WebActiveWheelFlingParameters; | 63 struct WebActiveWheelFlingParameters; |
| 65 struct WebMediaPlayerAction; | 64 struct WebMediaPlayerAction; |
| 66 struct WebPluginAction; | 65 struct WebPluginAction; |
| 67 struct WebPoint; | 66 struct WebPoint; |
| 68 struct WebWindowFeatures; | 67 struct WebWindowFeatures; |
| 69 | 68 |
| 70 class WebView : public WebWidget { | 69 class WebView : public WebWidget { |
| 71 public: | 70 public: |
| 72 WEBKIT_EXPORT static const double textSizeMultiplierRatio; | 71 WEBKIT_EXPORT static const double textSizeMultiplierRatio; |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; | 484 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; |
| 486 virtual void extendSelectionAndDelete(int before, int after) = 0; | 485 virtual void extendSelectionAndDelete(int before, int after) = 0; |
| 487 | 486 |
| 488 virtual bool isSelectionEditable() const = 0; | 487 virtual bool isSelectionEditable() const = 0; |
| 489 | 488 |
| 490 virtual void setShowPaintRects(bool) = 0; | 489 virtual void setShowPaintRects(bool) = 0; |
| 491 virtual void setShowFPSCounter(bool) = 0; | 490 virtual void setShowFPSCounter(bool) = 0; |
| 492 virtual void setContinuousPaintingEnabled(bool) = 0; | 491 virtual void setContinuousPaintingEnabled(bool) = 0; |
| 493 virtual void setShowScrollBottleneckRects(bool) = 0; | 492 virtual void setShowScrollBottleneckRects(bool) = 0; |
| 494 | 493 |
| 495 // Benchmarking support ------------------------------------------------- | |
| 496 | |
| 497 virtual WebViewBenchmarkSupport* benchmarkSupport() { return 0; } | |
| 498 | |
| 499 // Visibility ----------------------------------------------------------- | 494 // Visibility ----------------------------------------------------------- |
| 500 | 495 |
| 501 // Sets the visibility of the WebView. | 496 // Sets the visibility of the WebView. |
| 502 virtual void setVisibilityState(WebPageVisibilityState visibilityState, | 497 virtual void setVisibilityState(WebPageVisibilityState visibilityState, |
| 503 bool isInitialState) { } | 498 bool isInitialState) { } |
| 504 | 499 |
| 505 // PageOverlay ---------------------------------------------------------- | 500 // PageOverlay ---------------------------------------------------------- |
| 506 | 501 |
| 507 // Adds/removes page overlay to this WebView. These functions change the | 502 // Adds/removes page overlay to this WebView. These functions change the |
| 508 // graphical appearance of the WebView. WebPageOverlay paints the | 503 // graphical appearance of the WebView. WebPageOverlay paints the |
| 509 // contents of the page overlay. It also provides an z-order number for | 504 // contents of the page overlay. It also provides an z-order number for |
| 510 // the page overlay. The z-order number defines the paint order the page | 505 // the page overlay. The z-order number defines the paint order the page |
| 511 // overlays. Page overlays with larger z-order number will be painted after | 506 // overlays. Page overlays with larger z-order number will be painted after |
| 512 // page overlays with smaller z-order number. That is, they appear above | 507 // page overlays with smaller z-order number. That is, they appear above |
| 513 // the page overlays with smaller z-order number. If two page overlays have | 508 // the page overlays with smaller z-order number. If two page overlays have |
| 514 // the same z-order number, the later added one will be on top. | 509 // the same z-order number, the later added one will be on top. |
| 515 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; | 510 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; |
| 516 virtual void removePageOverlay(WebPageOverlay*) = 0; | 511 virtual void removePageOverlay(WebPageOverlay*) = 0; |
| 517 | 512 |
| 518 // Testing functionality for TestRunner --------------------------------- | 513 // Testing functionality for TestRunner --------------------------------- |
| 519 | 514 |
| 520 protected: | 515 protected: |
| 521 ~WebView() {} | 516 ~WebView() {} |
| 522 }; | 517 }; |
| 523 | 518 |
| 524 } // namespace WebKit | 519 } // namespace WebKit |
| 525 | 520 |
| 526 #endif | 521 #endif |
| OLD | NEW |