Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: public/web/WebView.h

Issue 1301033002: Plumb CompositedDisplayList to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: papa delta romeo request for landing via cq, over Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
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
OLDNEW
« public/platform/WebCompositedDisplayList.h ('K') | « public/platform/WebCompositedDisplayList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698