Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: Source/web/WebDocument.cpp

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "core/dom/NodeList.h" 54 #include "core/dom/NodeList.h"
55 #include "core/dom/StyleEngine.h" 55 #include "core/dom/StyleEngine.h"
56 #include "core/html/HTMLAllCollection.h" 56 #include "core/html/HTMLAllCollection.h"
57 #include "core/html/HTMLBodyElement.h" 57 #include "core/html/HTMLBodyElement.h"
58 #include "core/html/HTMLCollection.h" 58 #include "core/html/HTMLCollection.h"
59 #include "core/html/HTMLElement.h" 59 #include "core/html/HTMLElement.h"
60 #include "core/html/HTMLFormElement.h" 60 #include "core/html/HTMLFormElement.h"
61 #include "core/html/HTMLHeadElement.h" 61 #include "core/html/HTMLHeadElement.h"
62 #include "core/loader/DocumentLoader.h" 62 #include "core/loader/DocumentLoader.h"
63 #include "core/rendering/RenderObject.h" 63 #include "core/rendering/RenderObject.h"
64 #include "platform/weborigin/SecurityOrigin.h"
64 #include "public/platform/WebURL.h" 65 #include "public/platform/WebURL.h"
65 #include "weborigin/SecurityOrigin.h"
66 #include "wtf/PassRefPtr.h" 66 #include "wtf/PassRefPtr.h"
67 #include <v8.h> 67 #include <v8.h>
68 68
69 using namespace WebCore; 69 using namespace WebCore;
70 70
71 namespace blink { 71 namespace blink {
72 72
73 WebURL WebDocument::url() const 73 WebURL WebDocument::url() const
74 { 74 {
75 return constUnwrap<Document>()->url(); 75 return constUnwrap<Document>()->url();
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 m_private = elem; 315 m_private = elem;
316 return *this; 316 return *this;
317 } 317 }
318 318
319 WebDocument::operator PassRefPtr<Document>() const 319 WebDocument::operator PassRefPtr<Document>() const
320 { 320 {
321 return toDocument(m_private.get()); 321 return toDocument(m_private.get());
322 } 322 }
323 323
324 } // namespace blink 324 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698