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

Side by Side Diff: Source/WebCore/dom/Document.h

Issue 7065057: Merge 87802 - 2011-06-01 Shishir Agrawal <shishir@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/dom/Document.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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 #if ENABLE(TOUCH_EVENTS) 302 #if ENABLE(TOUCH_EVENTS)
303 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); 303 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart);
304 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); 304 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove);
305 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); 305 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend);
306 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); 306 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel);
307 #endif 307 #endif
308 #if ENABLE(FULLSCREEN_API) 308 #if ENABLE(FULLSCREEN_API)
309 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); 309 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
310 #endif 310 #endif
311 #if ENABLE(PAGE_VISIBILITY_API) 311 #if ENABLE(PAGE_VISIBILITY_API)
312 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitvisibilitystatechange); 312 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitvisibilitychange);
313 #endif 313 #endif
314 314
315 ViewportArguments viewportArguments() const { return m_viewportArguments; } 315 ViewportArguments viewportArguments() const { return m_viewportArguments; }
316 316
317 DocumentType* doctype() const { return m_docType.get(); } 317 DocumentType* doctype() const { return m_docType.get(); }
318 318
319 DOMImplementation* implementation(); 319 DOMImplementation* implementation();
320 320
321 Element* documentElement() const 321 Element* documentElement() const
322 { 322 {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 void setXMLVersion(const String&, ExceptionCode&); 381 void setXMLVersion(const String&, ExceptionCode&);
382 void setXMLStandalone(bool, ExceptionCode&); 382 void setXMLStandalone(bool, ExceptionCode&);
383 383
384 String documentURI() const { return m_documentURI; } 384 String documentURI() const { return m_documentURI; }
385 void setDocumentURI(const String&); 385 void setDocumentURI(const String&);
386 386
387 virtual KURL baseURI() const; 387 virtual KURL baseURI() const;
388 388
389 #if ENABLE(PAGE_VISIBILITY_API) 389 #if ENABLE(PAGE_VISIBILITY_API)
390 String webkitVisibilityState() const; 390 String webkitVisibilityState() const;
391 bool webkitIsVisible() const; 391 bool webkitHidden() const;
392 void dispatchVisibilityStateChangeEvent(); 392 void dispatchVisibilityStateChangeEvent();
393 #endif 393 #endif
394 394
395 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionCode&); 395 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionCode&);
396 396
397 PassRefPtr<HTMLCollection> images(); 397 PassRefPtr<HTMLCollection> images();
398 PassRefPtr<HTMLCollection> embeds(); 398 PassRefPtr<HTMLCollection> embeds();
399 PassRefPtr<HTMLCollection> plugins(); // an alias for embeds() required for the JS DOM bindings. 399 PassRefPtr<HTMLCollection> plugins(); // an alias for embeds() required for the JS DOM bindings.
400 PassRefPtr<HTMLCollection> applets(); 400 PassRefPtr<HTMLCollection> applets();
401 PassRefPtr<HTMLCollection> links(); 401 PassRefPtr<HTMLCollection> links();
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 if (m_document) 1438 if (m_document)
1439 m_document->guardRef(); 1439 m_document->guardRef();
1440 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) 1440 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS)
1441 trackForDebugging(); 1441 trackForDebugging();
1442 #endif 1442 #endif
1443 } 1443 }
1444 1444
1445 } // namespace WebCore 1445 } // namespace WebCore
1446 1446
1447 #endif // Document_h 1447 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698