substantive: ACTION-22 UIZoomRequestEvent
authorJames Craig <jcraig@apple.com>
Sun, 11 Nov 2012 19:38:25 -0800
changeset 24d98997ee66c7
parent 23 8ffc69b0e906
child 25 65a23f4f6ed4
substantive: ACTION-22 UIZoomRequestEvent
src/indie-ui-events.html
     1.1 --- a/src/indie-ui-events.html	Sun Nov 11 19:35:56 2012 -0800
     1.2 +++ b/src/indie-ui-events.html	Sun Nov 11 19:38:25 2012 -0800
     1.3 @@ -322,6 +322,53 @@
     1.4  			</section>
     1.5  			<!-- :::::::::::::::::::: END UIValueChangeRequestEvent :::::::::::::::::::: -->
     1.6  
     1.7 +			<!-- :::::::::::::::::::: UIZoomRequestEvent :::::::::::::::::::: -->
     1.8 +			<section id="UIZoomRequestEvent">
     1.9 +				<h3><strong>Interface <em>UIZoomRequestEvent</em></strong></h3>
    1.10 +
    1.11 +				<div class="idlwrapper">
    1.12 +					<pre class="idl">interface UIZoomRequestEvent : UIRequestEvent {
    1.13 +  
    1.14 +  <span class="comment">// zoom changes (e.g. maps or custom layout views)</span>
    1.15 +  const unsigned short    IN   =  TBD;
    1.16 +  const unsigned short    MIN  =  TBD;
    1.17 +  const unsigned short    MAX  =  TBD;
    1.18 +  const unsigned short    OUT  =  TBD;
    1.19 +  
    1.20 +  <span class="comment">// may need specific zoomRatio in addition to discrete in/out requests</span>
    1.21 +  
    1.22 +  readonly attribute unsigned short   zoomType;
    1.23 +  readonly attribute unsigned long    originX;
    1.24 +  readonly attribute unsigned long    originY;
    1.25 +  
    1.26 +  void initUIZoomRequestEvent(
    1.27 +    in DOMString typeArg,
    1.28 +    in boolean canBubbleArg,
    1.29 +    in boolean cancelableArg,
    1.30 +    in views::AbstractView viewArg,
    1.31 +    in long detailArg,
    1.32 +    in unsigned short zoomTypeArg,
    1.33 +    in unsigned long originX,
    1.34 +    in unsigned long originY
    1.35 +  );
    1.36 +};</pre>
    1.37 +				</div>
    1.38 +				<h4>The single type of UIZoomRequestEvent that can occur is:</h4>
    1.39 +				<dl>
    1.40 +					<dt id="zoomrequest">Zoom Request <code class="event">zoomrequest</code></dt>
    1.41 +					<dd>
    1.42 +						<p>Initiated when the user agent sends a zoom request to the web application.</p>
    1.43 +						<ul>
    1.44 +							<li>Bubbles: Yes</li>
    1.45 +							<li>Cancelable: Yes</li>
    1.46 +							<li>Context Info: <code>zoomType</code>, <code>originX</code>, and <code>originY</code></li>
    1.47 +						</ul>
    1.48 +						<p class="ednote">This may need to be split into zoomstartrequest, zoomchangerequest, and zoomendrequest events.</p>
    1.49 +					</dd>
    1.50 +				</dl>
    1.51 +			</section>
    1.52 +			<!-- :::::::::::::::::::: END UIZoomRequestEvent :::::::::::::::::::: -->
    1.53 +
    1.54  		</section>
    1.55  		<!-- :::::::::::::::::::: END UI Request Event Interfaces :::::::::::::::::::: -->
    1.56