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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/sencha_framework.html

Issue 2534693002: Reduce usage of webkit prefixes in extension examples (Closed)
Patch Set: rebase Created 3 years, 10 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 | « chrome/common/extensions/docs/templates/articles/api_other.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <meta name="doc-family" content="apps"> 1 <meta name="doc-family" content="apps">
2 <h1>Build Apps with Sencha Ext JS</h1> 2 <h1>Build Apps with Sencha Ext JS</h1>
3 3
4 <p> 4 <p>
5 The goal of this doc is to get you started 5 The goal of this doc is to get you started
6 on building Chrome Apps with the 6 on building Chrome Apps with the
7 <a href="http://www.sencha.com/products/extjs">Sencha Ext JS</a> framework. 7 <a href="http://www.sencha.com/products/extjs">Sencha Ext JS</a> framework.
8 To achieve this goal, 8 To achieve this goal,
9 we will dive into a media player app built by Sencha. 9 we will dive into a media player app built by Sencha.
10 The <a href="https://github.com/GoogleChrome/sencha-video-player-app">source cod e</a> 10 The <a href="https://github.com/GoogleChrome/sencha-video-player-app">source cod e</a>
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 474
475 var animEnd = function(e) { 475 var animEnd = function(e) {
476 476
477 //show body el 477 //show body el
478 mediaBody.style.display = ''; 478 mediaBody.style.display = '';
479 479
480 //play media 480 //play media
481 mediaEl.play(); 481 mediaEl.play();
482 482
483 //clear listeners 483 //clear listeners
484 playerCt.removeEventListener( 'webkitTransitionEnd', animEnd, false ); 484 playerCt.removeEventListener( 'transitionend', animEnd, false );
485 animEnd = null; 485 animEnd = null;
486 }; 486 };
487 487
488 //load media 488 //load media
489 mediaEl.src = url; 489 mediaEl.src = url;
490 mediaEl.load(); 490 mediaEl.load();
491 491
492 //animate in player 492 //animate in player
493 playerCt.addEventListener( 'webkitTransitionEnd', animEnd, false ); 493 playerCt.addEventListener( 'transitionend', animEnd, false );
494 playerCt.style.webkitTransform = "translateY(0)"; 494 playerCt.style.transform = "translateY(0)";
495 495
496 //reply postmessage 496 //reply postmessage
497 data.result = true; 497 data.result = true;
498 sendMessage(data); 498 sendMessage(data);
499 } 499 }
500 </pre> 500 </pre>
501 501
502 <h2 id="seven">Save media offline</h2> 502 <h2 id="seven">Save media offline</h2>
503 503
504 <p> 504 <p>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 } 569 }
570 ); 570 );
571 </pre> 571 </pre>
572 572
573 <p> 573 <p>
574 When the download process is finished, 574 When the download process is finished,
575 <code>MediaExplorer</code> updates the media file list and the media player tree panel. 575 <code>MediaExplorer</code> updates the media file list and the media player tree panel.
576 </p> 576 </p>
577 577
578 <p class="backtotop"><a href="#top">Back to top</a></p> 578 <p class="backtotop"><a href="#top">Back to top</a></p>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/templates/articles/api_other.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698