| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 2007 Apple Inc.  All rights reserved. |    2  * Copyright (C) 2007 Apple Inc.  All rights reserved. | 
|    3  * |    3  * | 
|    4  * Redistribution and use in source and binary forms, with or without |    4  * Redistribution and use in source and binary forms, with or without | 
|    5  * modification, are permitted provided that the following conditions |    5  * modification, are permitted provided that the following conditions | 
|    6  * are met: |    6  * are met: | 
|    7  * 1. Redistributions of source code must retain the above copyright |    7  * 1. Redistributions of source code must retain the above copyright | 
|    8  *    notice, this list of conditions and the following disclaimer. |    8  *    notice, this list of conditions and the following disclaimer. | 
|    9  * 2. Redistributions in binary form must reproduce the above copyright |    9  * 2. Redistributions in binary form must reproduce the above copyright | 
|   10  *    notice, this list of conditions and the following disclaimer in the |   10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
|   37 namespace blink { |   37 namespace blink { | 
|   38  |   38  | 
|   39 class LocalFrame; |   39 class LocalFrame; | 
|   40 class KURL; |   40 class KURL; | 
|   41 class ExecutionContext; |   41 class ExecutionContext; | 
|   42 class ExceptionState; |   42 class ExceptionState; | 
|   43 class SecurityOrigin; |   43 class SecurityOrigin; | 
|   44  |   44  | 
|   45 class CORE_EXPORT History final : public GarbageCollectedFinalized<History>, pub
     lic ScriptWrappable, public DOMWindowProperty { |   45 class CORE_EXPORT History final : public GarbageCollectedFinalized<History>, pub
     lic ScriptWrappable, public DOMWindowProperty { | 
|   46     DEFINE_WRAPPERTYPEINFO(); |   46     DEFINE_WRAPPERTYPEINFO(); | 
|   47     WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(History); |   47     USING_GARBAGE_COLLECTED_MIXIN(History); | 
|   48 public: |   48 public: | 
|   49     static History* create(LocalFrame* frame) |   49     static History* create(LocalFrame* frame) | 
|   50     { |   50     { | 
|   51         return new History(frame); |   51         return new History(frame); | 
|   52     } |   52     } | 
|   53  |   53  | 
|   54     unsigned length() const; |   54     unsigned length() const; | 
|   55     SerializedScriptValue* state(); |   55     SerializedScriptValue* state(); | 
|   56  |   56  | 
|   57     void back(ExecutionContext*); |   57     void back(ExecutionContext*); | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   91     void stateObjectAdded(PassRefPtr<SerializedScriptValue>, const String& title
     , const String& url, HistoryScrollRestorationType, FrameLoadType, ExceptionState
     &); |   91     void stateObjectAdded(PassRefPtr<SerializedScriptValue>, const String& title
     , const String& url, HistoryScrollRestorationType, FrameLoadType, ExceptionState
     &); | 
|   92     SerializedScriptValue* stateInternal() const; |   92     SerializedScriptValue* stateInternal() const; | 
|   93     HistoryScrollRestorationType scrollRestorationInternal() const; |   93     HistoryScrollRestorationType scrollRestorationInternal() const; | 
|   94  |   94  | 
|   95     RefPtr<SerializedScriptValue> m_lastStateObjectRequested; |   95     RefPtr<SerializedScriptValue> m_lastStateObjectRequested; | 
|   96 }; |   96 }; | 
|   97  |   97  | 
|   98 } // namespace blink |   98 } // namespace blink | 
|   99  |   99  | 
|  100 #endif // History_h |  100 #endif // History_h | 
| OLD | NEW |