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

Side by Side Diff: Source/core/dom/Element.cpp

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whee 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #include "core/dom/custom/CustomElementRegistrationContext.h" 72 #include "core/dom/custom/CustomElementRegistrationContext.h"
73 #include "core/dom/shadow/InsertionPoint.h" 73 #include "core/dom/shadow/InsertionPoint.h"
74 #include "core/dom/shadow/ShadowRoot.h" 74 #include "core/dom/shadow/ShadowRoot.h"
75 #include "core/editing/FrameSelection.h" 75 #include "core/editing/FrameSelection.h"
76 #include "core/editing/TextIterator.h" 76 #include "core/editing/TextIterator.h"
77 #include "core/editing/htmlediting.h" 77 #include "core/editing/htmlediting.h"
78 #include "core/editing/markup.h" 78 #include "core/editing/markup.h"
79 #include "core/events/EventDispatcher.h" 79 #include "core/events/EventDispatcher.h"
80 #include "core/events/FocusEvent.h" 80 #include "core/events/FocusEvent.h"
81 #include "core/frame/FrameView.h" 81 #include "core/frame/FrameView.h"
82 #include "core/frame/LocalDOMWindow.h"
82 #include "core/frame/LocalFrame.h" 83 #include "core/frame/LocalFrame.h"
83 #include "core/frame/Settings.h" 84 #include "core/frame/Settings.h"
84 #include "core/frame/UseCounter.h" 85 #include "core/frame/UseCounter.h"
85 #include "core/frame/csp/ContentSecurityPolicy.h" 86 #include "core/frame/csp/ContentSecurityPolicy.h"
86 #include "core/html/ClassList.h" 87 #include "core/html/ClassList.h"
87 #include "core/html/HTMLCanvasElement.h" 88 #include "core/html/HTMLCanvasElement.h"
88 #include "core/html/HTMLCollection.h" 89 #include "core/html/HTMLCollection.h"
89 #include "core/html/HTMLDocument.h" 90 #include "core/html/HTMLDocument.h"
90 #include "core/html/HTMLElement.h" 91 #include "core/html/HTMLElement.h"
91 #include "core/html/HTMLFormControlsCollection.h" 92 #include "core/html/HTMLFormControlsCollection.h"
(...skipping 3175 matching lines...) Expand 10 before | Expand all | Expand 10 after
3267 return wrapper; 3268 return wrapper;
3268 3269
3269 CustomElementBinding* binding = perContextData->customElementBinding(customE lementDefinition()); 3270 CustomElementBinding* binding = perContextData->customElementBinding(customE lementDefinition());
3270 3271
3271 wrapper->SetPrototype(binding->prototype()); 3272 wrapper->SetPrototype(binding->prototype());
3272 3273
3273 return V8DOMWrapper::associateObjectWithWrapperNonTemplate(this, wrapperType , wrapper, isolate); 3274 return V8DOMWrapper::associateObjectWithWrapperNonTemplate(this, wrapperType , wrapper, isolate);
3274 } 3275 }
3275 3276
3276 } // namespace blink 3277 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698