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

Side by Side Diff: chrome/browser/ui/cocoa/applescript/scripting.sdef

Issue 8118030: Add Applescript commands to enter presentation mode (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: adapt to api change Created 9 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 | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd"> 2 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
3 <dictionary title="Dictionary"> 3 <dictionary title="Dictionary">
4 <!-- 4 <!--
5 STANDARD SUITE 5 STANDARD SUITE
6 --> 6 -->
7 <suite name="Standard Suite" code="core" description="Common classes and commands for all applications."> 7 <suite name="Standard Suite" code="core" description="Common classes and commands for all applications.">
8 <cocoa name="NSCoreSuite"/> 8 <cocoa name="NSCoreSuite"/>
9 <class name="application" code="capp" description="The applicati on&apos;s top-level scripting object."> 9 <class name="application" code="capp" description="The applicati on&apos;s top-level scripting object.">
10 <cocoa class="BrowserCrApplication"/> 10 <cocoa class="BrowserCrApplication"/>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 </class> 256 </class>
257 <class name="bookmark item" code="CrBI" description="An item con sists of an URL and the title of a bookmark"> 257 <class name="bookmark item" code="CrBI" description="An item con sists of an URL and the title of a bookmark">
258 <cocoa class="BookmarkItemAppleScript"/> 258 <cocoa class="BookmarkItemAppleScript"/>
259 <property name="id" code="ID " description="Unique ID o f the bookmark item." type="integer" access="r"> 259 <property name="id" code="ID " description="Unique ID o f the bookmark item." type="integer" access="r">
260 <cocoa key="uniqueID"/> 260 <cocoa key="uniqueID"/>
261 </property> 261 </property>
262 <property name="title" code="pnam" description="The titl e of the bookmark item." type="text"/> 262 <property name="title" code="pnam" description="The titl e of the bookmark item." type="text"/>
263 <property name="URL" code="URL " description="The URL of the bookmark." type="text"/> 263 <property name="URL" code="URL " description="The URL of the bookmark." type="text"/>
264 <property name="index" code="indx" description="Returns the index with respect to its parent bookmark folder" type="number" access="r"/> 264 <property name="index" code="indx" description="Returns the index with respect to its parent bookmark folder" type="number" access="r"/>
265 </class> 265 </class>
266 <class-extension extends="window">
267 <property name="presenting" code="pres" description="Whe ther the window is in presentation mode." type="boolean" access="r">
268 <cocoa key="presenting"/>
269 </property>
270 <responds-to command="enter presentation mode">
271 <cocoa method="handlesEnterPresentationMode:"/>
272 </responds-to>
273 <responds-to command="exit presentation mode">
274 <cocoa method="handlesExitPresentationMode:"/>
275 </responds-to>
276 </class-extension>
266 <command name="reload" code="CrSuRlod" description="Reload a tab ."> 277 <command name="reload" code="CrSuRlod" description="Reload a tab .">
267 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/> 278 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/>
268 </command> 279 </command>
269 <command name="go back" code="CrSuBack" description="Go Back (If Possible)."> 280 <command name="go back" code="CrSuBack" description="Go Back (If Possible).">
270 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/> 281 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/>
271 </command> 282 </command>
272 <command name="go forward" code="CrSuFwd " description="Go Forwa rd (If Possible)."> 283 <command name="go forward" code="CrSuFwd " description="Go Forwa rd (If Possible).">
273 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/> 284 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/>
274 </command> 285 </command>
275 <command name="select all" code="CrSuSlAl" description="Select a ll."> 286 <command name="select all" code="CrSuSlAl" description="Select a ll.">
(...skipping 20 matching lines...) Expand all
296 <command name="view source" code="CrSuVSrc" description="View th e HTML source of the tab."> 307 <command name="view source" code="CrSuVSrc" description="View th e HTML source of the tab.">
297 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/> 308 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/>
298 </command> 309 </command>
299 <command name="execute" code="CrSuExJa" description="Execute a p iece of javascript."> 310 <command name="execute" code="CrSuExJa" description="Execute a p iece of javascript.">
300 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/> 311 <direct-parameter description="The tab to execute the co mmand in." type="specifier"/>
301 <parameter name="javascript" code="JvSc" description="Th e javascript code to execute." type="text"> 312 <parameter name="javascript" code="JvSc" description="Th e javascript code to execute." type="text">
302 <cocoa key="javascript"/> 313 <cocoa key="javascript"/>
303 </parameter> 314 </parameter>
304 <result type="any"/> 315 <result type="any"/>
305 </command> 316 </command>
317 <command name="enter presentation mode" code="CrSuEnPM" descript ion="Enter presentation mode in window.">
318 <direct-parameter description="The window to enter prese ntation mode." type="specifier"/>
319 </command>
320 <command name="exit presentation mode" code="CrSuExPM" descripti on="Exit presentation mode in window.">
321 <direct-parameter description="The window to exit presen tation mode." type="specifier"/>
322 </command>
306 </suite> 323 </suite>
307 </dictionary> 324 </dictionary>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698