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

Side by Side Diff: third_party/WebKit/Source/core/plugins/PluginView.h

Issue 1517993004: Oilpan: simplify plugin container finalization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simplify away disconnectContentFrame override Created 5 years 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual bool supportsKeyboardFocus() const { return false; } 50 virtual bool supportsKeyboardFocus() const { return false; }
51 virtual bool supportsInputMethod() const { return false; } 51 virtual bool supportsInputMethod() const { return false; }
52 virtual bool canProcessDrag() const { return false; } 52 virtual bool canProcessDrag() const { return false; }
53 53
54 virtual void didReceiveResponse(const ResourceResponse&) { } 54 virtual void didReceiveResponse(const ResourceResponse&) { }
55 virtual void didReceiveData(const char*, int) { } 55 virtual void didReceiveData(const char*, int) { }
56 56
57 virtual void layoutIfNeeded() { } 57 virtual void layoutIfNeeded() { }
58 virtual void invalidatePaintIfNeeded() { } 58 virtual void invalidatePaintIfNeeded() { }
59 59
60 #if ENABLE(OILPAN)
61 virtual LocalFrame* pluginFrame() const { return nullptr; }
62 virtual void shouldDisposePlugin() { }
63 #endif
64
65 protected: 60 protected:
66 PluginView() : Widget() { } 61 PluginView() : Widget() { }
67 }; 62 };
68 63
69 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP luginView()); 64 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP luginView());
70 65
71 } // namespace blink 66 } // namespace blink
72 67
73 #endif // PluginView_h 68 #endif // PluginView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698