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 28 matching lines...) Expand all Loading... |
39 #include "../platform/WebVector.h" | 39 #include "../platform/WebVector.h" |
40 #include "WebDragOperation.h" | 40 #include "WebDragOperation.h" |
41 #include "WebHistoryCommitType.h" | 41 #include "WebHistoryCommitType.h" |
42 #include "WebHistoryItem.h" | 42 #include "WebHistoryItem.h" |
43 #include "WebWidget.h" | 43 #include "WebWidget.h" |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 class WebAXObject; | 47 class WebAXObject; |
48 class WebAutofillClient; | 48 class WebAutofillClient; |
| 49 class WebCompositedDisplayList; |
49 class WebCredentialManagerClient; | 50 class WebCredentialManagerClient; |
50 class WebDragData; | 51 class WebDragData; |
51 class WebFrame; | 52 class WebFrame; |
52 class WebHitTestResult; | 53 class WebHitTestResult; |
53 class WebPageOverlay; | 54 class WebPageOverlay; |
54 class WebPrerendererClient; | 55 class WebPrerendererClient; |
55 class WebSettings; | 56 class WebSettings; |
56 class WebSpellCheckClient; | 57 class WebSpellCheckClient; |
57 class WebString; | 58 class WebString; |
58 class WebViewClient; | 59 class WebViewClient; |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 virtual void setShowPaintRects(bool) = 0; | 446 virtual void setShowPaintRects(bool) = 0; |
446 virtual void setShowFPSCounter(bool) = 0; | 447 virtual void setShowFPSCounter(bool) = 0; |
447 virtual void setShowScrollBottleneckRects(bool) = 0; | 448 virtual void setShowScrollBottleneckRects(bool) = 0; |
448 | 449 |
449 // Visibility ----------------------------------------------------------- | 450 // Visibility ----------------------------------------------------------- |
450 | 451 |
451 // Sets the visibility of the WebView. | 452 // Sets the visibility of the WebView. |
452 virtual void setVisibilityState(WebPageVisibilityState visibilityState, | 453 virtual void setVisibilityState(WebPageVisibilityState visibilityState, |
453 bool isInitialState) { } | 454 bool isInitialState) { } |
454 | 455 |
| 456 // Graphics ------------------------------------------------------------- |
| 457 |
| 458 virtual WebCompositedDisplayList* compositedDisplayList() { return nullptr;
} |
| 459 |
455 // PageOverlay ---------------------------------------------------------- | 460 // PageOverlay ---------------------------------------------------------- |
456 | 461 |
457 // Overlay this WebView with a solid color. | 462 // Overlay this WebView with a solid color. |
458 virtual void setPageOverlayColor(WebColor) = 0; | 463 virtual void setPageOverlayColor(WebColor) = 0; |
459 | 464 |
460 | 465 |
461 // i18n ----------------------------------------------------------------- | 466 // i18n ----------------------------------------------------------------- |
462 | 467 |
463 // Inform the WebView that the accept languages have changed. | 468 // Inform the WebView that the accept languages have changed. |
464 // If the WebView wants to get the accept languages value, it will have | 469 // If the WebView wants to get the accept languages value, it will have |
(...skipping 10 matching lines...) Expand all Loading... |
475 // context's ability to deal with that failure gracefully can be tested. | 480 // context's ability to deal with that failure gracefully can be tested. |
476 virtual void forceNextDrawingBufferCreationToFail() = 0; | 481 virtual void forceNextDrawingBufferCreationToFail() = 0; |
477 | 482 |
478 protected: | 483 protected: |
479 ~WebView() {} | 484 ~WebView() {} |
480 }; | 485 }; |
481 | 486 |
482 } // namespace blink | 487 } // namespace blink |
483 | 488 |
484 #endif | 489 #endif |
OLD | NEW |