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

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

Issue 2733083004: Emit error events if the loading of an object element failed (Closed)
Patch Set: Emit error events if the loading of an object element failed Created 3 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
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void paint(GraphicsContext&, const CullRect&) const override; 86 void paint(GraphicsContext&, const CullRect&) const override;
87 void invalidateRect(const IntRect&) override; 87 void invalidateRect(const IntRect&) override;
88 void setFocused(bool, WebFocusType) override; 88 void setFocused(bool, WebFocusType) override;
89 void show() override; 89 void show() override;
90 void hide() override; 90 void hide() override;
91 void handleEvent(Event*) override; 91 void handleEvent(Event*) override;
92 void frameRectsChanged() override; 92 void frameRectsChanged() override;
93 void setParentVisible(bool) override; 93 void setParentVisible(bool) override;
94 void geometryMayHaveChanged() override; 94 void geometryMayHaveChanged() override;
95 bool isPluginContainer() const override { return true; } 95 bool isPluginContainer() const override { return true; }
96 bool isErrorplaceholder();
97
96 void eventListenersRemoved() override; 98 void eventListenersRemoved() override;
97 99
98 // WebPluginContainer methods 100 // WebPluginContainer methods
99 WebElement element() override; 101 WebElement element() override;
100 WebDocument document() override; 102 WebDocument document() override;
101 void dispatchProgressEvent(const WebString& type, 103 void dispatchProgressEvent(const WebString& type,
102 bool lengthComputable, 104 bool lengthComputable,
103 unsigned long long loaded, 105 unsigned long long loaded,
104 unsigned long long total, 106 unsigned long long total,
105 const WebString& url) override; 107 const WebString& url) override;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 230 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
229 DEFINE_TYPE_CASTS(WebPluginContainerImpl, 231 DEFINE_TYPE_CASTS(WebPluginContainerImpl,
230 WebPluginContainer, 232 WebPluginContainer,
231 container, 233 container,
232 true, 234 true,
233 true); 235 true);
234 236
235 } // namespace blink 237 } // namespace blink
236 238
237 #endif 239 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698