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

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

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 10 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 2014 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 FrameletView_h
6 #define FrameletView_h
7
8 #include "platform/Widget.h"
9 #include "platform/geometry/IntRect.h"
10 #include "platform/heap/Handle.h"
11
12 namespace blink {
13
14 class Framelet;
15
16 class FrameletView final : public Widget {
17 public:
18 static PassRefPtrWillBeRawPtr<FrameletView> create(Framelet*);
19
20 ~FrameletView() override;
21
22 // Widget overrides:
23 void dispose() override;
24 void frameRectsChanged() override;
25 void hide() override;
26 void invalidateRect(const IntRect&) override;
27 bool isFrameletView() const override { return true; }
28 void setFocus(bool, WebFocusType) override;
29 void setFrameRect(const IntRect&) override;
30 void setParentVisible(bool) override;
31 void show() override;
32
33 DECLARE_VIRTUAL_TRACE();
34
35 private:
36 explicit FrameletView(Framelet*);
37
38 RefPtrWillBeMember<Framelet> m_framelet;
39 };
40
41 DEFINE_TYPE_CASTS(FrameletView, Widget, widget, widget->isFrameletView(), widget .isFrameletView());
42
43 } // namespace blink
44
45 #endif // FrameletView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameletClient.h ('k') | third_party/WebKit/Source/core/frame/FrameletView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698