Chromium Code Reviews| Index: third_party/WebKit/public/web/WebPlugin.h |
| diff --git a/third_party/WebKit/public/web/WebPlugin.h b/third_party/WebKit/public/web/WebPlugin.h |
| index 6e6403a7a6a5e5ce5129610d46044c0bbe83a7b6..4d28e153cf22b5e3fb318f5c9d7433af57bcf9d5 100644 |
| --- a/third_party/WebKit/public/web/WebPlugin.h |
| +++ b/third_party/WebKit/public/web/WebPlugin.h |
| @@ -237,10 +237,13 @@ class WebPlugin { |
| // Rotates the plugin's view of its content. |
| virtual void rotateView(RotationType type) {} |
| - virtual bool isPlaceholder() { return true; } |
| + virtual bool isPlaceholder() { return placeholder; } |
| + virtual void markAsErrorPlaceholder() { placeholder = true; } |
| + virtual void unmarkAsErrorPlaceholder() { placeholder = false; } |
| protected: |
| ~WebPlugin() {} |
| + bool placeholder = false; |
|
Bernhard Bauer
2017/03/27 09:20:27
WebPlugin is an interface; it shouldn't have membe
George Joseph
2017/03/28 10:08:31
Done.
|
| }; |
| } // namespace blink |