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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary scope Created 4 years, 8 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 26 matching lines...) Expand all
37 #include "../platform/WebFocusType.h" 37 #include "../platform/WebFocusType.h"
38 #include "../platform/WebPageVisibilityState.h" 38 #include "../platform/WebPageVisibilityState.h"
39 #include "../platform/WebString.h" 39 #include "../platform/WebString.h"
40 #include "../platform/WebVector.h" 40 #include "../platform/WebVector.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 CompositorProxyClient;
47 class WebAXObject; 48 class WebAXObject;
48 class WebAutofillClient; 49 class WebAutofillClient;
49 class WebCompositedDisplayList; 50 class WebCompositedDisplayList;
50 class WebCredentialManagerClient; 51 class WebCredentialManagerClient;
51 class WebDragData; 52 class WebDragData;
52 class WebFrame; 53 class WebFrame;
53 class WebHitTestResult; 54 class WebHitTestResult;
54 class WebLocalFrame; 55 class WebLocalFrame;
55 class WebPageImportanceSignals; 56 class WebPageImportanceSignals;
56 class WebPageOverlay; 57 class WebPageOverlay;
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 // Testing functionality for TestRunner --------------------------------- 474 // Testing functionality for TestRunner ---------------------------------
474 475
475 // Force the webgl context to fail so that webglcontextcreationerror 476 // Force the webgl context to fail so that webglcontextcreationerror
476 // event gets generated/tested. 477 // event gets generated/tested.
477 virtual void forceNextWebGLContextCreationToFail() = 0; 478 virtual void forceNextWebGLContextCreationToFail() = 0;
478 479
479 // Force the drawing buffer used by webgl contexts to fail so that the webgl 480 // Force the drawing buffer used by webgl contexts to fail so that the webgl
480 // context's ability to deal with that failure gracefully can be tested. 481 // context's ability to deal with that failure gracefully can be tested.
481 virtual void forceNextDrawingBufferCreationToFail() = 0; 482 virtual void forceNextDrawingBufferCreationToFail() = 0;
482 483
484 // CompositorWorker -----------------------------------------------------
485
486 // Initializes the compositor worker machinery and ensures that it is
487 // plumbed to the compositor.
488 virtual CompositorProxyClient* createCompositorProxyClient() = 0;
jbroman 2016/04/20 19:24:51 This is not called outside of Source/web/ (AFIACT
flackr 2016/04/25 14:06:28 Good catch, this doesn't need to be virtual at all
489
483 protected: 490 protected:
484 ~WebView() {} 491 ~WebView() {}
485 }; 492 };
486 493
487 } // namespace blink 494 } // namespace blink
488 495
489 #endif 496 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698