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

Side by Side Diff: third_party/WebKit/Source/core/plugins/PluginView.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, 7 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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 4 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 virtual void SetParent(FrameView*) = 0; 53 virtual void SetParent(FrameView*) = 0;
54 virtual FrameView* Parent() const = 0; 54 virtual FrameView* Parent() const = 0;
55 virtual void SetParentVisible(bool) = 0; 55 virtual void SetParentVisible(bool) = 0;
56 virtual void SetFocused(bool, WebFocusType) = 0; 56 virtual void SetFocused(bool, WebFocusType) = 0;
57 virtual void FrameRectsChanged() = 0; 57 virtual void FrameRectsChanged() = 0;
58 virtual void GeometryMayHaveChanged() = 0; 58 virtual void GeometryMayHaveChanged() = 0;
59 virtual void HandleEvent(Event*) = 0; 59 virtual void HandleEvent(Event*) = 0;
60 virtual void EventListenersRemoved() = 0; 60 virtual void EventListenersRemoved() = 0;
61 virtual bool IsPluginContainer() const { return false; } 61 virtual bool IsPluginContainer() const { return false; }
62 virtual bool IsErrorplaceholder() { return false; }
62 63
63 virtual WebLayer* PlatformLayer() const { return 0; } 64 virtual WebLayer* PlatformLayer() const { return 0; }
64 virtual v8::Local<v8::Object> ScriptableObject(v8::Isolate*) { 65 virtual v8::Local<v8::Object> ScriptableObject(v8::Isolate*) {
65 return v8::Local<v8::Object>(); 66 return v8::Local<v8::Object>();
66 } 67 }
67 virtual bool WantsWheelEvents() { return false; } 68 virtual bool WantsWheelEvents() { return false; }
68 virtual bool SupportsKeyboardFocus() const { return false; } 69 virtual bool SupportsKeyboardFocus() const { return false; }
69 virtual bool SupportsInputMethod() const { return false; } 70 virtual bool SupportsInputMethod() const { return false; }
70 virtual bool CanProcessDrag() const { return false; } 71 virtual bool CanProcessDrag() const { return false; }
71 72
72 virtual void DidReceiveResponse(const ResourceResponse&) {} 73 virtual void DidReceiveResponse(const ResourceResponse&) {}
73 virtual void DidReceiveData(const char*, int) {} 74 virtual void DidReceiveData(const char*, int) {}
74 75
75 virtual void UpdateAllLifecyclePhases() {} 76 virtual void UpdateAllLifecyclePhases() {}
76 virtual void InvalidatePaint() {} 77 virtual void InvalidatePaint() {}
77 }; 78 };
78 79
79 } // namespace blink 80 } // namespace blink
80 81
81 #endif // PluginView_h 82 #endif // PluginView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp ('k') | third_party/WebKit/Source/platform/FrameViewBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698