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

Side by Side Diff: Source/web/ChromeClientImpl.cpp

Issue 206543005: Add GPURasterizationTrigger (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/core/rendering/compositing/CompositingTriggers.h ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 if (settings.acceleratedCompositingForPluginsEnabled()) 725 if (settings.acceleratedCompositingForPluginsEnabled())
726 flags |= WebCore::PluginTrigger; 726 flags |= WebCore::PluginTrigger;
727 if (settings.acceleratedCompositingForAnimationEnabled()) 727 if (settings.acceleratedCompositingForAnimationEnabled())
728 flags |= WebCore::AnimationTrigger; 728 flags |= WebCore::AnimationTrigger;
729 if (settings.acceleratedCompositingForCanvasEnabled()) 729 if (settings.acceleratedCompositingForCanvasEnabled())
730 flags |= WebCore::CanvasTrigger; 730 flags |= WebCore::CanvasTrigger;
731 if (settings.acceleratedCompositingForScrollableFramesEnabled()) 731 if (settings.acceleratedCompositingForScrollableFramesEnabled())
732 flags |= WebCore::ScrollableInnerFrameTrigger; 732 flags |= WebCore::ScrollableInnerFrameTrigger;
733 if (settings.acceleratedCompositingForFiltersEnabled()) 733 if (settings.acceleratedCompositingForFiltersEnabled())
734 flags |= WebCore::FilterTrigger; 734 flags |= WebCore::FilterTrigger;
735 if (settings.acceleratedCompositingForGpuRasterizationHintEnabled())
736 flags |= WebCore::GPURasterizationTrigger;
735 737
736 return flags; 738 return flags;
737 } 739 }
738 740
739 void ChromeClientImpl::enterFullScreenForElement(Element* element) 741 void ChromeClientImpl::enterFullScreenForElement(Element* element)
740 { 742 {
741 m_webView->enterFullScreenForElement(element); 743 m_webView->enterFullScreenForElement(element);
742 } 744 }
743 745
744 void ChromeClientImpl::exitFullScreenForElement(Element* element) 746 void ChromeClientImpl::exitFullScreenForElement(Element* element)
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 { 970 {
969 return static_cast<NavigatorContentUtilsClient::CustomHandlersState>(m_webVi ew->client()->isProtocolHandlerRegistered(scheme, baseURL, url)); 971 return static_cast<NavigatorContentUtilsClient::CustomHandlersState>(m_webVi ew->client()->isProtocolHandlerRegistered(scheme, baseURL, url));
970 } 972 }
971 973
972 void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc heme, const WebCore::KURL& baseURL, const WebCore::KURL& url) 974 void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc heme, const WebCore::KURL& baseURL, const WebCore::KURL& url)
973 { 975 {
974 m_webView->client()->unregisterProtocolHandler(scheme, baseURL, url); 976 m_webView->client()->unregisterProtocolHandler(scheme, baseURL, url);
975 } 977 }
976 978
977 } // namespace blink 979 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/CompositingTriggers.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698