OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
4 * Copyright (C) 2009 Adam Barth. All rights reserved. | 4 * Copyright (C) 2009 Adam Barth. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 void startTimer(); | 86 void startTimer(); |
87 void cancel(); | 87 void cancel(); |
88 | 88 |
89 DECLARE_TRACE(); | 89 DECLARE_TRACE(); |
90 | 90 |
91 private: | 91 private: |
92 bool shouldScheduleReload() const; | 92 bool shouldScheduleReload() const; |
93 bool shouldScheduleNavigation(const String& url) const; | 93 bool shouldScheduleNavigation(const String& url) const; |
94 | 94 |
95 void timerFired(Timer<NavigationScheduler>*); | 95 void timerFired(Timer<NavigationScheduler>*); |
96 void schedule(PassOwnPtr<ScheduledNavigation>); | 96 void schedule(PassOwnPtrWillBeRawPtr<ScheduledNavigation>); |
97 | 97 |
98 static bool mustLockBackForwardList(LocalFrame* targetFrame); | 98 static bool mustLockBackForwardList(LocalFrame* targetFrame); |
99 | 99 |
100 RawPtrWillBeMember<LocalFrame> m_frame; | 100 RawPtrWillBeMember<LocalFrame> m_frame; |
101 Timer<NavigationScheduler> m_timer; | 101 Timer<NavigationScheduler> m_timer; |
102 OwnPtr<ScheduledNavigation> m_redirect; | 102 OwnPtrWillBeMember<ScheduledNavigation> m_redirect; |
103 }; | 103 }; |
104 | 104 |
105 } // namespace blink | 105 } // namespace blink |
106 | 106 |
107 #endif // NavigationScheduler_h | 107 #endif // NavigationScheduler_h |
OLD | NEW |