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

Side by Side Diff: Source/core/html/HTMLHtmlElement.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 months 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/core/html/HTMLHeadingElement.cpp ('k') | Source/core/html/HTMLIFrameElement.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) 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) 2000 Simon Hausmann (hausmann@kde.org) 4 * (C) 2000 Simon Hausmann (hausmann@kde.org)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2006, 2010 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2006, 2010 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 21 matching lines...) Expand all
32 #include "core/loader/FrameLoader.h" 32 #include "core/loader/FrameLoader.h"
33 #include "core/loader/appcache/ApplicationCacheHost.h" 33 #include "core/loader/appcache/ApplicationCacheHost.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 using namespace HTMLNames; 37 using namespace HTMLNames;
38 38
39 inline HTMLHtmlElement::HTMLHtmlElement(Document& document) 39 inline HTMLHtmlElement::HTMLHtmlElement(Document& document)
40 : HTMLElement(htmlTag, document) 40 : HTMLElement(htmlTag, document)
41 { 41 {
42 ScriptWrappable::init(this);
43 } 42 }
44 43
45 DEFINE_NODE_FACTORY(HTMLHtmlElement) 44 DEFINE_NODE_FACTORY(HTMLHtmlElement)
46 45
47 bool HTMLHtmlElement::isURLAttribute(const Attribute& attribute) const 46 bool HTMLHtmlElement::isURLAttribute(const Attribute& attribute) const
48 { 47 {
49 return attribute.name() == manifestAttr || HTMLElement::isURLAttribute(attri bute); 48 return attribute.name() == manifestAttr || HTMLElement::isURLAttribute(attri bute);
50 } 49 }
51 50
52 void HTMLHtmlElement::insertedByParser() 51 void HTMLHtmlElement::insertedByParser()
(...skipping 10 matching lines...) Expand all
63 return; 62 return;
64 63
65 const AtomicString& manifest = fastGetAttribute(manifestAttr); 64 const AtomicString& manifest = fastGetAttribute(manifestAttr);
66 if (manifest.isEmpty()) 65 if (manifest.isEmpty())
67 documentLoader->applicationCacheHost()->selectCacheWithoutManifest(); 66 documentLoader->applicationCacheHost()->selectCacheWithoutManifest();
68 else 67 else
69 documentLoader->applicationCacheHost()->selectCacheWithManifest(document ().completeURL(manifest)); 68 documentLoader->applicationCacheHost()->selectCacheWithManifest(document ().completeURL(manifest));
70 } 69 }
71 70
72 } 71 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLHeadingElement.cpp ('k') | Source/core/html/HTMLIFrameElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698