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

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

Issue 1610063002: Revert of Remove PaintInfo's paintingRoot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 private: 192 private:
193 friend class FrameNavigationDisabler; 193 friend class FrameNavigationDisabler;
194 194
195 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); 195 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*);
196 196
197 // Internal Frame helper overrides: 197 // Internal Frame helper overrides:
198 WindowProxyManager* windowProxyManager() const override; 198 WindowProxyManager* windowProxyManager() const override;
199 199
200 String localLayerTreeAsText(unsigned flags) const; 200 String localLayerTreeAsText(unsigned flags) const;
201 201
202 // Paints the area for the given rect into a DragImage. 202 // Paints the area for the given rect into a DragImage, with the given displ ayItemClient id attached.
203 // The rect is in the coordinate space of the frame. 203 // The rect is in the coordinate space of the frame.
204 PassOwnPtr<DragImage> paintIntoDragImage(const GlobalPaintFlags, 204 PassOwnPtr<DragImage> paintIntoDragImage(const DisplayItemClient&,
205 IntRect paintingRect, Node* draggedNode = nullptr, float opacity = 1); 205 RespectImageOrientationEnum shouldRespectImageOrientation, const GlobalP aintFlags,
206 IntRect paintingRect, float opacity = 1);
206 207
207 void enableNavigation() { --m_navigationDisableCount; } 208 void enableNavigation() { --m_navigationDisableCount; }
208 void disableNavigation() { ++m_navigationDisableCount; } 209 void disableNavigation() { ++m_navigationDisableCount; }
209 210
210 mutable FrameLoader m_loader; 211 mutable FrameLoader m_loader;
211 OwnPtrWillBeMember<NavigationScheduler> m_navigationScheduler; 212 OwnPtrWillBeMember<NavigationScheduler> m_navigationScheduler;
212 213
213 RefPtrWillBeMember<FrameView> m_view; 214 RefPtrWillBeMember<FrameView> m_view;
214 RefPtrWillBeMember<LocalDOMWindow> m_domWindow; 215 RefPtrWillBeMember<LocalDOMWindow> m_domWindow;
215 // Usually 0. Non-null if this is the top frame of PagePopup. 216 // Usually 0. Non-null if this is the top frame of PagePopup.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 explicit FrameNavigationDisabler(LocalFrame&); 322 explicit FrameNavigationDisabler(LocalFrame&);
322 ~FrameNavigationDisabler(); 323 ~FrameNavigationDisabler();
323 324
324 private: 325 private:
325 RawPtrWillBeMember<LocalFrame> m_frame; 326 RawPtrWillBeMember<LocalFrame> m_frame;
326 }; 327 };
327 328
328 } // namespace blink 329 } // namespace blink
329 330
330 #endif // LocalFrame_h 331 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698