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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameOrPlugin.h

Issue 2814643003: Remove FrameViewBase as base class of PluginView. (Closed)
Patch Set: Address final comments Created 3 years, 8 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FrameOrPlugin_h
6 #define FrameOrPlugin_h
7
8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h"
10
11 namespace blink {
12
13 class CullRect;
14 class GraphicsContext;
15 class IntRect;
16
17 // FrameOrPlugin is a pure virtual class which is implemented by FrameView,
18 // RemoteFrameView, and PluginView.
19 class CORE_EXPORT FrameOrPlugin : public GarbageCollectedMixin {
20 public:
21 virtual ~FrameOrPlugin() {}
22
23 virtual void SetFrameRect(const IntRect&) = 0;
24 virtual const IntRect& FrameRect() const = 0;
25 virtual void Paint(GraphicsContext&, const CullRect&) const = 0;
26 virtual void Show() = 0;
27 virtual void Hide() = 0;
28 virtual void Dispose() = 0;
29 };
30
31 } // namespace blink
32 #endif // FrameOrPlugin_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/BUILD.gn ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698