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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 1956893003: compositor-worker: Add CompositorProxyClient worker client of CompositorWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use local root frame and remove unneeded includes. Created 4 years, 7 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 class PaintLayerCompositor; 80 class PaintLayerCompositor;
81 class TopControls; 81 class TopControls;
82 class UserGestureToken; 82 class UserGestureToken;
83 class WebActiveGestureAnimation; 83 class WebActiveGestureAnimation;
84 class WebDevToolsAgentImpl; 84 class WebDevToolsAgentImpl;
85 class WebElement; 85 class WebElement;
86 class WebLayerTreeView; 86 class WebLayerTreeView;
87 class WebLocalFrame; 87 class WebLocalFrame;
88 class WebLocalFrameImpl; 88 class WebLocalFrameImpl;
89 class WebImage; 89 class WebImage;
90 class CompositorMutatorImpl;
90 class WebPagePopupImpl; 91 class WebPagePopupImpl;
91 class WebPlugin; 92 class WebPlugin;
92 class WebRemoteFrame; 93 class WebRemoteFrame;
93 class WebSelection; 94 class WebSelection;
94 class WebSettingsImpl; 95 class WebSettingsImpl;
95 class WebViewScheduler; 96 class WebViewScheduler;
96 97
97 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView) 98 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView)
98 , public RefCounted<WebViewImpl> 99 , public RefCounted<WebViewImpl>
99 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget)
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 496
496 void updateTopControlsState(WebTopControlsState constraint, WebTopControlsSt ate current, bool animate) override; 497 void updateTopControlsState(WebTopControlsState constraint, WebTopControlsSt ate current, bool animate) override;
497 498
498 TopControls& topControls(); 499 TopControls& topControls();
499 // Called anytime top controls layout height or content offset have changed. 500 // Called anytime top controls layout height or content offset have changed.
500 void didUpdateTopControls(); 501 void didUpdateTopControls();
501 502
502 void forceNextWebGLContextCreationToFail() override; 503 void forceNextWebGLContextCreationToFail() override;
503 void forceNextDrawingBufferCreationToFail() override; 504 void forceNextDrawingBufferCreationToFail() override;
504 505
506 CompositorProxyClient* createCompositorProxyClient();
505 IntSize mainFrameSize(); 507 IntSize mainFrameSize();
506 WebDisplayMode displayMode() const { return m_displayMode; } 508 WebDisplayMode displayMode() const { return m_displayMode; }
507 509
508 PageScaleConstraintsSet& pageScaleConstraintsSet() const; 510 PageScaleConstraintsSet& pageScaleConstraintsSet() const;
509 511
510 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } 512 FloatSize elasticOverscroll() const { return m_elasticOverscroll; }
511 513
512 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree 514 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree
513 // view. 515 // view.
514 void attachPaintArtifactCompositor(); 516 void attachPaintArtifactCompositor();
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 double m_lastFrameTimeMonotonic; 757 double m_lastFrameTimeMonotonic;
756 }; 758 };
757 759
758 // We have no ways to check if the specified WebView is an instance of 760 // We have no ways to check if the specified WebView is an instance of
759 // WebViewImpl because WebViewImpl is the only implementation of WebView. 761 // WebViewImpl because WebViewImpl is the only implementation of WebView.
760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
761 763
762 } // namespace blink 764 } // namespace blink
763 765
764 #endif 766 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698