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

Side by Side Diff: third_party/WebKit/Source/platform/FrameViewBase.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) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. 3 * Copyright (C) 2008 Collabora Ltd. All rights reserved.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. 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 29 matching lines...) Expand all
40 // and use it to replace this class. 40 // and use it to replace this class.
41 class PLATFORM_EXPORT FrameViewBase : public GarbageCollectedMixin { 41 class PLATFORM_EXPORT FrameViewBase : public GarbageCollectedMixin {
42 public: 42 public:
43 FrameViewBase(){}; 43 FrameViewBase(){};
44 virtual ~FrameViewBase(){}; 44 virtual ~FrameViewBase(){};
45 45
46 virtual IntPoint Location() const = 0; 46 virtual IntPoint Location() const = 0;
47 47
48 virtual bool IsFrameView() const { return false; } 48 virtual bool IsFrameView() const { return false; }
49 virtual bool IsRemoteFrameView() const { return false; } 49 virtual bool IsRemoteFrameView() const { return false; }
50 virtual bool IsErrorplaceholder() { return false; }
50 51
51 virtual void SetParent(FrameViewBase*) = 0; 52 virtual void SetParent(FrameViewBase*) = 0;
52 virtual FrameViewBase* Parent() const = 0; 53 virtual FrameViewBase* Parent() const = 0;
53 54
54 // TODO(joelhockey): Remove this from FrameViewBase once FrameView children 55 // TODO(joelhockey): Remove this from FrameViewBase once FrameView children
55 // use FrameOrPlugin rather than FrameViewBase. This method does not apply to 56 // use FrameOrPlugin rather than FrameViewBase. This method does not apply to
56 // scrollbars. 57 // scrollbars.
57 virtual void SetParentVisible(bool visible) {} 58 virtual void SetParentVisible(bool visible) {}
58 59
59 // ConvertFromRootFrame must be in FrameViewBase rather than FrameView 60 // ConvertFromRootFrame must be in FrameViewBase rather than FrameView
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 114 }
114 115
115 virtual void FrameRectsChanged() { NOTREACHED(); } 116 virtual void FrameRectsChanged() { NOTREACHED(); }
116 117
117 virtual void Dispose() {} 118 virtual void Dispose() {}
118 }; 119 };
119 120
120 } // namespace blink 121 } // namespace blink
121 122
122 #endif // FrameViewBase_h 123 #endif // FrameViewBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/plugins/PluginView.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698