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

Side by Side Diff: sky/engine/core/frame/FrameView.h

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class FrameView final : public Widget { 57 class FrameView final : public Widget {
58 public: 58 public:
59 friend class RenderView; 59 friend class RenderView;
60 60
61 static PassRefPtr<FrameView> create(LocalFrame*); 61 static PassRefPtr<FrameView> create(LocalFrame*);
62 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize) ; 62 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize) ;
63 63
64 virtual ~FrameView(); 64 virtual ~FrameView();
65 65
66 virtual HostWindow* hostWindow() const override; 66 virtual HostWindow* hostWindow() const override;
67 virtual void invalidateRect(const IntRect&) override;
68 virtual void setFrameRect(const IntRect&) override; 67 virtual void setFrameRect(const IntRect&) override;
69 68
70 LocalFrame& frame() const { return *m_frame; } 69 LocalFrame& frame() const { return *m_frame; }
71 Page* page() const; 70 Page* page() const;
72 71
73 RenderView* renderView() const; 72 RenderView* renderView() const;
74 73
75 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; 74 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const;
76 75
77 void layout(bool allowSubtree = true); 76 void layout(bool allowSubtree = true);
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 bool m_layoutSizeFixedToFrameSize; 266 bool m_layoutSizeFixedToFrameSize;
268 267
269 Vector<IntRect> m_tickmarks; 268 Vector<IntRect> m_tickmarks;
270 }; 269 };
271 270
272 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 271 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
273 272
274 } // namespace blink 273 } // namespace blink
275 274
276 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 275 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698