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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 343273002: Revert r175934 "Accelerate small canvases if Ganesh is on." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/html/HTMLCanvasElement.cpp ('k') | Source/core/page/ChromeClient.h » ('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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 virtual void attachRootGraphicsLayer(GraphicsLayer*) OVERRIDE { } 154 virtual void attachRootGraphicsLayer(GraphicsLayer*) OVERRIDE { }
155 155
156 virtual void needTouchEvents(bool) OVERRIDE { } 156 virtual void needTouchEvents(bool) OVERRIDE { }
157 virtual void setTouchAction(TouchAction touchAction) OVERRIDE { }; 157 virtual void setTouchAction(TouchAction touchAction) OVERRIDE { };
158 158
159 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) OVERRIDE { } 159 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) OVERRIDE { }
160 160
161 virtual void annotatedRegionsChanged() OVERRIDE { } 161 virtual void annotatedRegionsChanged() OVERRIDE { }
162 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; } 162 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; }
163 virtual String acceptLanguages() OVERRIDE; 163 virtual String acceptLanguages() OVERRIDE;
164
165 virtual bool usesGpuRasterization() OVERRIDE { return false; }
166
167 }; 164 };
168 165
169 class EmptyFrameLoaderClient FINAL : public FrameLoaderClient { 166 class EmptyFrameLoaderClient FINAL : public FrameLoaderClient {
170 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; 167 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED;
171 public: 168 public:
172 EmptyFrameLoaderClient() { } 169 EmptyFrameLoaderClient() { }
173 virtual ~EmptyFrameLoaderClient() { } 170 virtual ~EmptyFrameLoaderClient() { }
174 171
175 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse rtions 172 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse rtions
176 173
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 public: 331 public:
335 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 332 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
336 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; } 333 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; }
337 }; 334 };
338 335
339 void fillWithEmptyClients(Page::PageClients&); 336 void fillWithEmptyClients(Page::PageClients&);
340 337
341 } 338 }
342 339
343 #endif // EmptyClients_h 340 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698