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

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

Issue 233323004: Move RenderLayerCompositor trigger caching to be when settings change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed WebViewTest.SetBaseBackgroundColorAndBlendWithExistingContent Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 // Consolidate some common code between starting a drag over a target and 533 // Consolidate some common code between starting a drag over a target and
534 // updating a drag over a target. If we're starting a drag, |isEntering| 534 // updating a drag over a target. If we're starting a drag, |isEntering|
535 // should be true. 535 // should be true.
536 WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint, 536 WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint,
537 const WebPoint& screenPoint, 537 const WebPoint& screenPoint,
538 DragAction, 538 DragAction,
539 int keyModifiers); 539 int keyModifiers);
540 540
541 void configureAutoResizeMode(); 541 void configureAutoResizeMode();
542 542
543 void setCompositorCreationFailed(bool);
543 void setIsAcceleratedCompositingActive(bool); 544 void setIsAcceleratedCompositingActive(bool);
544 void doComposite(); 545 void doComposite();
545 void doPixelReadbackToCanvas(WebCanvas*, const WebCore::IntRect&); 546 void doPixelReadbackToCanvas(WebCanvas*, const WebCore::IntRect&);
546 void reallocateRenderer(); 547 void reallocateRenderer();
547 void updateLayerTreeViewport(); 548 void updateLayerTreeViewport();
548 void updateLayerTreeBackgroundColor(); 549 void updateLayerTreeBackgroundColor();
549 void updateRootLayerTransform(); 550 void updateRootLayerTransform();
550 void updateLayerTreeDeviceScaleFactor(); 551 void updateLayerTreeDeviceScaleFactor();
551 552
552 // Helper function: Widens the width of |source| by the specified margins 553 // Helper function: Widens the width of |source| by the specified margins
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 float m_zoomFactorOverride; 728 float m_zoomFactorOverride;
728 }; 729 };
729 730
730 // We have no ways to check if the specified WebView is an instance of 731 // We have no ways to check if the specified WebView is an instance of
731 // WebViewImpl because WebViewImpl is the only implementation of WebView. 732 // WebViewImpl because WebViewImpl is the only implementation of WebView.
732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 733 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
733 734
734 } // namespace blink 735 } // namespace blink
735 736
736 #endif 737 #endif
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698