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

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

Powered by Google App Engine
This is Rietveld 408576698