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

Side by Side Diff: Source/core/html/HTMLMediaElement.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation 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/html/HTMLInputElement.cpp ('k') | Source/core/html/HTMLMediaElement.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) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 bool isSafeToLoadURL(const KURL&, InvalidURLAction); 308 bool isSafeToLoadURL(const KURL&, InvalidURLAction);
309 309
310 const String& mediaGroup() const; 310 const String& mediaGroup() const;
311 void setMediaGroup(const String&); 311 void setMediaGroup(const String&);
312 312
313 MediaController* controller() const; 313 MediaController* controller() const;
314 void setController(PassRefPtr<MediaController>); 314 void setController(PassRefPtr<MediaController>);
315 315
316 virtual bool dispatchEvent(PassRefPtr<Event>) OVERRIDE; 316 virtual bool dispatchEvent(PassRefPtr<Event>) OVERRIDE;
317 317
318 virtual void reportMemoryUsage(MemoryObjectInfo*) const;
319
320 protected: 318 protected:
321 HTMLMediaElement(const QualifiedName&, Document*, bool); 319 HTMLMediaElement(const QualifiedName&, Document*, bool);
322 virtual ~HTMLMediaElement(); 320 virtual ~HTMLMediaElement();
323 321
324 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 322 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
325 virtual void finishParsingChildren(); 323 virtual void finishParsingChildren();
326 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 324 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
327 virtual void attach() OVERRIDE; 325 virtual void attach() OVERRIDE;
328 326
329 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; 327 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE;
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 inline HTMLMediaElement* toMediaElement(Node* node) 683 inline HTMLMediaElement* toMediaElement(Node* node)
686 { 684 {
687 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); 685 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node));
688 return static_cast<HTMLMediaElement*>(node); 686 return static_cast<HTMLMediaElement*>(node);
689 } 687 }
690 688
691 } //namespace 689 } //namespace
692 690
693 #endif 691 #endif
694 #endif 692 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698