| 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 27 matching lines...) Expand all Loading... |
| 38 #include "core/css/StyleSheetContents.h" | 38 #include "core/css/StyleSheetContents.h" |
| 39 #include "core/dom/Document.h" | 39 #include "core/dom/Document.h" |
| 40 #include "core/dom/Element.h" | 40 #include "core/dom/Element.h" |
| 41 #include "core/dom/StyleEngine.h" | 41 #include "core/dom/StyleEngine.h" |
| 42 #include "core/events/Event.h" | 42 #include "core/events/Event.h" |
| 43 #include "core/html/HTMLElement.h" | 43 #include "core/html/HTMLElement.h" |
| 44 #include "core/rendering/RenderObject.h" | 44 #include "core/rendering/RenderObject.h" |
| 45 #include "core/rendering/RenderView.h" | 45 #include "core/rendering/RenderView.h" |
| 46 #include "public/platform/WebURL.h" | 46 #include "public/platform/WebURL.h" |
| 47 #include "public/web/WebElement.h" | 47 #include "public/web/WebElement.h" |
| 48 #include "v8/include/v8.h" |
| 48 #include "web/WebLocalFrameImpl.h" | 49 #include "web/WebLocalFrameImpl.h" |
| 49 #include "wtf/PassRefPtr.h" | 50 #include "wtf/PassRefPtr.h" |
| 50 #include <v8.h> | |
| 51 | 51 |
| 52 namespace blink { | 52 namespace blink { |
| 53 | 53 |
| 54 WebURL WebDocument::url() const | 54 WebURL WebDocument::url() const |
| 55 { | 55 { |
| 56 return constUnwrap<Document>()->url(); | 56 return constUnwrap<Document>()->url(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 WebString WebDocument::encoding() const | 59 WebString WebDocument::encoding() const |
| 60 { | 60 { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 m_private = elem; | 148 m_private = elem; |
| 149 return *this; | 149 return *this; |
| 150 } | 150 } |
| 151 | 151 |
| 152 WebDocument::operator PassRefPtr<Document>() const | 152 WebDocument::operator PassRefPtr<Document>() const |
| 153 { | 153 { |
| 154 return toDocument(m_private.get()); | 154 return toDocument(m_private.get()); |
| 155 } | 155 } |
| 156 | 156 |
| 157 } // namespace blink | 157 } // namespace blink |
| OLD | NEW |