| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 5 * (http://www.torchmobile.com/) | 5 * (http://www.torchmobile.com/) |
| 6 * Copyright (C) 2009 Adam Barth. All rights reserved. | 6 * Copyright (C) 2009 Adam Barth. All rights reserved. |
| 7 * | 7 * |
| 8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
| 9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
| 10 * are met: | 10 * are met: |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 virtual void fire(LocalFrame*) = 0; | 128 virtual void fire(LocalFrame*) = 0; |
| 129 | 129 |
| 130 virtual bool shouldStartTimer(LocalFrame*) { return true; } | 130 virtual bool shouldStartTimer(LocalFrame*) { return true; } |
| 131 | 131 |
| 132 double delay() const { return m_delay; } | 132 double delay() const { return m_delay; } |
| 133 Document* originDocument() const { return m_originDocument.get(); } | 133 Document* originDocument() const { return m_originDocument.get(); } |
| 134 bool replacesCurrentItem() const { return m_replacesCurrentItem; } | 134 bool replacesCurrentItem() const { return m_replacesCurrentItem; } |
| 135 bool isLocationChange() const { return m_isLocationChange; } | 135 bool isLocationChange() const { return m_isLocationChange; } |
| 136 std::unique_ptr<UserGestureIndicator> createUserGestureIndicator() { | 136 std::unique_ptr<UserGestureIndicator> createUserGestureIndicator() { |
| 137 return makeUnique<UserGestureIndicator>(m_userGestureToken); | 137 return WTF::makeUnique<UserGestureIndicator>(m_userGestureToken); |
| 138 } | 138 } |
| 139 | 139 |
| 140 DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_originDocument); } | 140 DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_originDocument); } |
| 141 | 141 |
| 142 protected: | 142 protected: |
| 143 void clearUserGesture() { m_userGestureToken.clear(); } | 143 void clearUserGesture() { m_userGestureToken.clear(); } |
| 144 | 144 |
| 145 private: | 145 private: |
| 146 double m_delay; | 146 double m_delay; |
| 147 Member<Document> m_originDocument; | 147 Member<Document> m_originDocument; |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 m_navigateTaskHandle.cancel(); | 543 m_navigateTaskHandle.cancel(); |
| 544 m_redirect.clear(); | 544 m_redirect.clear(); |
| 545 } | 545 } |
| 546 | 546 |
| 547 DEFINE_TRACE(NavigationScheduler) { | 547 DEFINE_TRACE(NavigationScheduler) { |
| 548 visitor->trace(m_frame); | 548 visitor->trace(m_frame); |
| 549 visitor->trace(m_redirect); | 549 visitor->trace(m_redirect); |
| 550 } | 550 } |
| 551 | 551 |
| 552 } // namespace blink | 552 } // namespace blink |
| OLD | NEW |