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

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

Issue 14929004: Remove captureEvents and releaseEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/HTMLDocument.h ('k') | Source/core/html/HTMLDocument.idl » ('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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 if (bodyElement) { 263 if (bodyElement) {
264 // This check is a bit silly, but some benchmarks like to set the 264 // This check is a bit silly, but some benchmarks like to set the
265 // document's link colors over and over to the same value and we 265 // document's link colors over and over to the same value and we
266 // don't want to incur a style update each time. 266 // don't want to incur a style update each time.
267 if (bodyElement->vLink() != value) 267 if (bodyElement->vLink() != value)
268 bodyElement->setVLink(value); 268 bodyElement->setVLink(value);
269 } 269 }
270 } 270 }
271 271
272 void HTMLDocument::captureEvents()
273 {
274 }
275
276 void HTMLDocument::releaseEvents()
277 {
278 }
279
280 PassRefPtr<DocumentParser> HTMLDocument::createParser() 272 PassRefPtr<DocumentParser> HTMLDocument::createParser()
281 { 273 {
282 bool reportErrors = InspectorInstrumentation::collectingHTMLParseErrors(this ->page()); 274 bool reportErrors = InspectorInstrumentation::collectingHTMLParseErrors(this ->page());
283 return HTMLDocumentParser::create(this, reportErrors); 275 return HTMLDocumentParser::create(this, reportErrors);
284 } 276 }
285 277
286 // -------------------------------------------------------------------------- 278 // --------------------------------------------------------------------------
287 // not part of the DOM 279 // not part of the DOM
288 // -------------------------------------------------------------------------- 280 // --------------------------------------------------------------------------
289 281
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 // But I do see it in the documentation for Mozilla. 400 // But I do see it in the documentation for Mozilla.
409 } 401 }
410 402
411 bool HTMLDocument::isFrameSet() const 403 bool HTMLDocument::isFrameSet() const
412 { 404 {
413 HTMLElement* bodyElement = body(); 405 HTMLElement* bodyElement = body();
414 return bodyElement && bodyElement->hasTagName(framesetTag); 406 return bodyElement && bodyElement->hasTagName(framesetTag);
415 } 407 }
416 408
417 } 409 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLDocument.h ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698