Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/FrameOrPlugin.h |
| diff --git a/third_party/WebKit/Source/core/frame/FrameOrPlugin.h b/third_party/WebKit/Source/core/frame/FrameOrPlugin.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6c88530c0fc6b94924e30662702eec0c26f069bf |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/frame/FrameOrPlugin.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef FrameOrPlugin_h |
| +#define FrameOrPlugin_h |
| + |
| +#include "core/CoreExport.h" |
| + |
| +namespace blink { |
| + |
| +class CullRect; |
| +class GraphicsContext; |
| +class IntRect; |
| + |
| +class CORE_EXPORT FrameOrPlugin { |
|
joelhockey
2017/04/12 04:33:00
This class is pure virtual. I have not made it in
|
| + public: |
| + // FrameOrPlugin(); |
| + virtual ~FrameOrPlugin() {} |
| + |
| + virtual void SetFrameRect(const IntRect& frameRect) = 0; |
| + virtual const IntRect& FrameRect() const = 0; |
| + virtual void Paint(GraphicsContext&, const CullRect&) const = 0; |
| + virtual void Show() = 0; |
| + virtual void Hide() = 0; |
| + virtual void Dispose() = 0; |
| +}; |
| + |
| +} // namespace blink |
| +#endif // FrameOrPlugin_h |