Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 22 matching lines...) Expand all Loading... | |
| 33 #include "core/frame/Frame.h" | 33 #include "core/frame/Frame.h" |
| 34 #include "core/frame/LocalFrameLifecycleNotifier.h" | 34 #include "core/frame/LocalFrameLifecycleNotifier.h" |
| 35 #include "core/frame/LocalFrameLifecycleObserver.h" | 35 #include "core/frame/LocalFrameLifecycleObserver.h" |
| 36 #include "core/loader/FrameLoader.h" | 36 #include "core/loader/FrameLoader.h" |
| 37 #include "core/page/FrameTree.h" | 37 #include "core/page/FrameTree.h" |
| 38 #include "core/paint/PaintPhase.h" | 38 #include "core/paint/PaintPhase.h" |
| 39 #include "platform/Supplementable.h" | 39 #include "platform/Supplementable.h" |
| 40 #include "platform/graphics/ImageOrientation.h" | 40 #include "platform/graphics/ImageOrientation.h" |
| 41 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
| 42 #include "platform/scroll/ScrollTypes.h" | 42 #include "platform/scroll/ScrollTypes.h" |
| 43 #include "public/platform/BlameContext.h" | |
| 43 #include "wtf/HashSet.h" | 44 #include "wtf/HashSet.h" |
| 44 | 45 |
| 45 namespace blink { | 46 namespace blink { |
| 46 | 47 |
| 47 class Color; | 48 class Color; |
| 48 class Document; | 49 class Document; |
| 49 class DragImage; | 50 class DragImage; |
| 50 class Editor; | 51 class Editor; |
| 51 template <typename Traversal> class EditingAlgorithm; | 52 template <typename Traversal> class EditingAlgorithm; |
| 52 class Element; | 53 class Element; |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 307 WTF_MAKE_NONCOPYABLE(FrameNavigationDisabler); | 308 WTF_MAKE_NONCOPYABLE(FrameNavigationDisabler); |
| 308 STACK_ALLOCATED(); | 309 STACK_ALLOCATED(); |
| 309 public: | 310 public: |
| 310 explicit FrameNavigationDisabler(LocalFrame&); | 311 explicit FrameNavigationDisabler(LocalFrame&); |
| 311 ~FrameNavigationDisabler(); | 312 ~FrameNavigationDisabler(); |
| 312 | 313 |
| 313 private: | 314 private: |
| 314 Member<LocalFrame> m_frame; | 315 Member<LocalFrame> m_frame; |
| 315 }; | 316 }; |
| 316 | 317 |
| 318 class ScopedFrameBlamer { | |
|
tkent
2016/06/01 23:14:56
Please add a comment that what this class does con
Xiaocheng
2016/06/02 03:17:19
Done.
| |
| 319 WTF_MAKE_NONCOPYABLE(ScopedFrameBlamer); | |
| 320 STACK_ALLOCATED(); | |
| 321 public: | |
| 322 explicit ScopedFrameBlamer(LocalFrame*); | |
|
Sami
2016/06/01 11:05:17
Could the parameter be const?
Xiaocheng
2016/06/02 03:17:19
Yes. Done.
| |
| 323 ~ScopedFrameBlamer(); | |
| 324 | |
| 325 private: | |
| 326 BlameContext* m_frameBlameContext; | |
|
tkent
2016/06/01 23:14:56
Is it safe to hold a raw pointer? Can the BlameCon
Xiaocheng
2016/06/02 03:17:19
FrameBlameContext (the BlameContext subclass for f
| |
| 327 }; | |
| 328 | |
| 317 } // namespace blink | 329 } // namespace blink |
| 318 | 330 |
| 319 #endif // LocalFrame_h | 331 #endif // LocalFrame_h |
| OLD | NEW |