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

Side by Side Diff: sky/engine/web/WebDocument.cpp

Issue 726133002: Use root-relative V8 includes (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/web/Sky.cpp ('k') | sky/engine/web/WebLeakDetector.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 27 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « sky/engine/web/Sky.cpp ('k') | sky/engine/web/WebLeakDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698