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

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

Issue 1610233002: [Reland] 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, with the given displ ayItemClient id attached. 202 // Paints the area for the given rect into a DragImage.
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 DisplayItemClient&, 204 PassOwnPtr<DragImage> paintIntoDragImage(const GlobalPaintFlags,
205 RespectImageOrientationEnum shouldRespectImageOrientation, const GlobalP aintFlags, 205 IntRect paintingRect, Node* draggedNode = nullptr, float opacity = 1);
206 IntRect paintingRect, float opacity = 1);
207 206
208 void enableNavigation() { --m_navigationDisableCount; } 207 void enableNavigation() { --m_navigationDisableCount; }
209 void disableNavigation() { ++m_navigationDisableCount; } 208 void disableNavigation() { ++m_navigationDisableCount; }
210 209
211 mutable FrameLoader m_loader; 210 mutable FrameLoader m_loader;
212 OwnPtrWillBeMember<NavigationScheduler> m_navigationScheduler; 211 OwnPtrWillBeMember<NavigationScheduler> m_navigationScheduler;
213 212
214 RefPtrWillBeMember<FrameView> m_view; 213 RefPtrWillBeMember<FrameView> m_view;
215 RefPtrWillBeMember<LocalDOMWindow> m_domWindow; 214 RefPtrWillBeMember<LocalDOMWindow> m_domWindow;
216 // Usually 0. Non-null if this is the top frame of PagePopup. 215 // Usually 0. Non-null if this is the top frame of PagePopup.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 explicit FrameNavigationDisabler(LocalFrame&); 321 explicit FrameNavigationDisabler(LocalFrame&);
323 ~FrameNavigationDisabler(); 322 ~FrameNavigationDisabler();
324 323
325 private: 324 private:
326 RawPtrWillBeMember<LocalFrame> m_frame; 325 RawPtrWillBeMember<LocalFrame> m_frame;
327 }; 326 };
328 327
329 } // namespace blink 328 } // namespace blink
330 329
331 #endif // LocalFrame_h 330 #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