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

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

Issue 1093383003: Remove mainthread overhang painting code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/ScrollbarGroup.cpp ('k') | Source/web/WebPluginContainerImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 virtual void didFinishLoading() override; 156 virtual void didFinishLoading() override;
157 virtual void didFailLoading(const ResourceError&) override; 157 virtual void didFailLoading(const ResourceError&) override;
158 158
159 void willDestroyPluginLoadObserver(WebPluginLoadObserver*); 159 void willDestroyPluginLoadObserver(WebPluginLoadObserver*);
160 160
161 ScrollbarGroup* scrollbarGroup(); 161 ScrollbarGroup* scrollbarGroup();
162 162
163 void willStartLiveResize(); 163 void willStartLiveResize();
164 void willEndLiveResize(); 164 void willEndLiveResize();
165 165
166 bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect &, const IntRect&);
167
168 DECLARE_VIRTUAL_TRACE(); 166 DECLARE_VIRTUAL_TRACE();
169 virtual void dispose() override; 167 virtual void dispose() override;
170 168
171 #if ENABLE(OILPAN) 169 #if ENABLE(OILPAN)
172 virtual LocalFrame* pluginFrame() const override { return frame(); } 170 virtual LocalFrame* pluginFrame() const override { return frame(); }
173 virtual void shouldDisposePlugin() override; 171 virtual void shouldDisposePlugin() override;
174 #endif 172 #endif
175 173
176 private: 174 private:
177 WebPluginContainerImpl(HTMLPlugInElement*, WebPlugin*); 175 WebPluginContainerImpl(HTMLPlugInElement*, WebPlugin*);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 }; 223 };
226 224
227 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer()); 225 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer());
228 // Unlike Widget, we need not worry about object type for container. 226 // Unlike Widget, we need not worry about object type for container.
229 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 227 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
230 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); 228 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue);
231 229
232 } // namespace blink 230 } // namespace blink
233 231
234 #endif 232 #endif
OLDNEW
« no previous file with comments | « Source/web/ScrollbarGroup.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698