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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 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) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 2315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2326 bool FrameView::isPainting() const 2326 bool FrameView::isPainting() const
2327 { 2327 {
2328 return m_isPainting; 2328 return m_isPainting;
2329 } 2329 }
2330 2330
2331 void FrameView::setNodeToDraw(Node* node) 2331 void FrameView::setNodeToDraw(Node* node)
2332 { 2332 {
2333 m_nodeToDraw = node; 2333 m_nodeToDraw = node;
2334 } 2334 }
2335 2335
2336 Node* FrameView::nodeToDraw() const
2337 {
2338 return m_nodeToDraw.get();
2339 }
2340
2341 void FrameView::updateWidgetPositionsIfNeeded() 2336 void FrameView::updateWidgetPositionsIfNeeded()
2342 { 2337 {
2343 if (!m_needsUpdateWidgetPositions) 2338 if (!m_needsUpdateWidgetPositions)
2344 return; 2339 return;
2345 2340
2346 m_needsUpdateWidgetPositions = false; 2341 m_needsUpdateWidgetPositions = false;
2347 2342
2348 updateWidgetPositions(); 2343 updateWidgetPositions();
2349 } 2344 }
2350 2345
(...skipping 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after
3986 return m_hiddenForThrottling && m_crossOriginForThrottling; 3981 return m_hiddenForThrottling && m_crossOriginForThrottling;
3987 } 3982 }
3988 3983
3989 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const 3984 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const
3990 { 3985 {
3991 ASSERT(layoutView()); 3986 ASSERT(layoutView());
3992 return *layoutView(); 3987 return *layoutView();
3993 } 3988 }
3994 3989
3995 } // namespace blink 3990 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698