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

Side by Side Diff: Source/core/page/DOMWindow.h

Issue 13646013: Enable support for CSS Conditional Rules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/inspector/InspectorStyleSheet.cpp ('k') | Source/core/page/DOMWindow.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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 int setTimeout(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode&) ; 256 int setTimeout(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode&) ;
257 void clearTimeout(int timeoutId); 257 void clearTimeout(int timeoutId);
258 int setInterval(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode& ); 258 int setInterval(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode& );
259 void clearInterval(int timeoutId); 259 void clearInterval(int timeoutId);
260 260
261 // WebKit animation extensions 261 // WebKit animation extensions
262 int requestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback>); 262 int requestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback>);
263 int webkitRequestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback >); 263 int webkitRequestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback >);
264 void cancelAnimationFrame(int id); 264 void cancelAnimationFrame(int id);
265 265
266 #if ENABLE(CSS3_CONDITIONAL_RULES)
267 DOMWindowCSS* css(); 266 DOMWindowCSS* css();
268 #endif
269 267
270 // Events 268 // Events
271 // EventTarget API 269 // EventTarget API
272 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr< EventListener>, bool useCapture); 270 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr< EventListener>, bool useCapture);
273 virtual bool removeEventListener(const AtomicString& eventType, EventLis tener*, bool useCapture); 271 virtual bool removeEventListener(const AtomicString& eventType, EventLis tener*, bool useCapture);
274 virtual void removeAllEventListeners(); 272 virtual void removeAllEventListeners();
275 273
276 using EventTarget::dispatchEvent; 274 using EventTarget::dispatchEvent;
277 bool dispatchEvent(PassRefPtr<Event> prpEvent, PassRefPtr<EventTarget> p rpTarget); 275 bool dispatchEvent(PassRefPtr<Event> prpEvent, PassRefPtr<EventTarget> p rpTarget);
278 276
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 439
442 String m_status; 440 String m_status;
443 String m_defaultStatus; 441 String m_defaultStatus;
444 442
445 mutable RefPtr<Storage> m_sessionStorage; 443 mutable RefPtr<Storage> m_sessionStorage;
446 mutable RefPtr<Storage> m_localStorage; 444 mutable RefPtr<Storage> m_localStorage;
447 mutable RefPtr<DOMApplicationCache> m_applicationCache; 445 mutable RefPtr<DOMApplicationCache> m_applicationCache;
448 446
449 mutable RefPtr<Performance> m_performance; 447 mutable RefPtr<Performance> m_performance;
450 448
451 #if ENABLE(CSS3_CONDITIONAL_RULES)
452 mutable RefPtr<DOMWindowCSS> m_css; 449 mutable RefPtr<DOMWindowCSS> m_css;
453 #endif
454 }; 450 };
455 451
456 inline String DOMWindow::status() const 452 inline String DOMWindow::status() const
457 { 453 {
458 return m_status; 454 return m_status;
459 } 455 }
460 456
461 inline String DOMWindow::defaultStatus() const 457 inline String DOMWindow::defaultStatus() const
462 { 458 {
463 return m_defaultStatus; 459 return m_defaultStatus;
464 } 460 }
465 461
466 } // namespace WebCore 462 } // namespace WebCore
467 463
468 #endif // DOMWindow_h 464 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | Source/core/page/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698