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

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

Issue 691453002: Remove a lot of Widget APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
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 HostWindow* hostWindow() const; 66 virtual HostWindow* hostWindow() const override;
67 67 virtual void invalidateRect(const IntRect&) override;
68 void invalidateRect(const IntRect&); 68 virtual void setFrameRect(const IntRect&) override;
69 void setFrameRect(const IntRect&);
70 69
71 LocalFrame& frame() const { return *m_frame; } 70 LocalFrame& frame() const { return *m_frame; }
72 Page* page() const; 71 Page* page() const;
73 72
74 RenderView* renderView() const; 73 RenderView* renderView() const;
75 74
76 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; 75 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const;
77 76
78 void layout(bool allowSubtree = true); 77 void layout(bool allowSubtree = true);
79 bool didFirstLayout() const; 78 bool didFirstLayout() const;
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 342 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
344 } 343 }
345 private: 344 private:
346 FrameView* m_view; 345 FrameView* m_view;
347 bool m_originalValue; 346 bool m_originalValue;
348 }; 347 };
349 348
350 } // namespace blink 349 } // namespace blink
351 350
352 #endif // FrameView_h 351 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/frame/LocalFrame.cpp » ('j') | sky/engine/core/rendering/RenderObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698