OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "platform/network/FormData.h" | 36 #include "platform/network/FormData.h" |
37 #include "platform/weborigin/KURL.h" | 37 #include "platform/weborigin/KURL.h" |
38 #include "public/platform/WebFloatPoint.h" | 38 #include "public/platform/WebFloatPoint.h" |
39 #include "public/platform/WebHTTPBody.h" | 39 #include "public/platform/WebHTTPBody.h" |
40 #include "public/platform/WebPoint.h" | 40 #include "public/platform/WebPoint.h" |
41 #include "public/platform/WebString.h" | 41 #include "public/platform/WebString.h" |
42 #include "public/platform/WebVector.h" | 42 #include "public/platform/WebVector.h" |
43 #include "public/web/WebSerializedScriptValue.h" | 43 #include "public/web/WebSerializedScriptValue.h" |
44 #include "wtf/text/StringHash.h" | 44 #include "wtf/text/StringHash.h" |
45 | 45 |
46 using namespace blink; | |
47 | |
48 namespace blink { | 46 namespace blink { |
49 | 47 |
50 void WebHistoryItem::initialize() | 48 void WebHistoryItem::initialize() |
51 { | 49 { |
52 m_private = HistoryItem::create(); | 50 m_private = HistoryItem::create(); |
53 } | 51 } |
54 | 52 |
55 void WebHistoryItem::reset() | 53 void WebHistoryItem::reset() |
56 { | 54 { |
57 m_private.reset(); | 55 m_private.reset(); |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 m_private = item; | 230 m_private = item; |
233 return *this; | 231 return *this; |
234 } | 232 } |
235 | 233 |
236 WebHistoryItem::operator PassRefPtr<HistoryItem>() const | 234 WebHistoryItem::operator PassRefPtr<HistoryItem>() const |
237 { | 235 { |
238 return m_private.get(); | 236 return m_private.get(); |
239 } | 237 } |
240 | 238 |
241 } // namespace blink | 239 } // namespace blink |
OLD | NEW |