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

Side by Side Diff: sky/engine/core/html/HTMLMediaElement.cpp

Issue 693243002: Remove interactive content and form related API from HTMLElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/html/HTMLMediaElement.h ('k') | sky/engine/core/page/EventHandler.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 2396 matching lines...) Expand 10 before | Expand all | Expand 10 after
2407 if (m_webLayer) { 2407 if (m_webLayer) {
2408 GraphicsLayer::registerContentsLayer(m_webLayer); 2408 GraphicsLayer::registerContentsLayer(m_webLayer);
2409 } 2409 }
2410 } 2410 }
2411 2411
2412 void HTMLMediaElement::mediaPlayerMediaSourceOpened(blink::WebMediaSource* webMe diaSource) 2412 void HTMLMediaElement::mediaPlayerMediaSourceOpened(blink::WebMediaSource* webMe diaSource)
2413 { 2413 {
2414 m_mediaSource->setWebMediaSourceAndOpen(adoptPtr(webMediaSource)); 2414 m_mediaSource->setWebMediaSourceAndOpen(adoptPtr(webMediaSource));
2415 } 2415 }
2416 2416
2417 bool HTMLMediaElement::isInteractiveContent() const
2418 {
2419 return hasAttribute(HTMLNames::controlsAttr);
2420 }
2421
2422 void HTMLMediaElement::defaultEventHandler(Event* event) 2417 void HTMLMediaElement::defaultEventHandler(Event* event)
2423 { 2418 {
2424 HTMLElement::defaultEventHandler(event); 2419 HTMLElement::defaultEventHandler(event);
2425 } 2420 }
2426 2421
2427 } 2422 }
OLDNEW
« no previous file with comments | « sky/engine/core/html/HTMLMediaElement.h ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698