My favorites | Sign in
Project Home Issues
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://screengrab/skin/screengrab.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://screengrab/locale/screengrab.dtd">

<overlay id="screengrabOverlay" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />

<!-- screenGrab JS import -->
<script type="application/x-javascript" src="chrome://screengrab/content/Includes.js" />
<script type="application/x-javascript" src="chrome://screengrab/content/Dimensions.js" />
<script type="application/x-javascript" src="chrome://screengrab/content/NsUtils.js" />
<script type="application/x-javascript" src="chrome://screengrab/content/JavaGrab.js" />
<script type="application/x-javascript" src="chrome://screengrab/content/NsGrab.js" />
<script type="application/x-javascript" src="chrome://screengrab/content/Screengrab.js" />
<script type="application/x-javascript" src="chrome://screengrab/content/Selection.js" />

<!-- stringbundle to localize strings in .js file -->
<!-- many thanks to Jean-Bernard Marcon for all the help -->
<stringbundleset id="stringbundleset">
<stringbundle id="screengrab-strings" src="chrome://screengrab/locale/screengrab.properties"/>
</stringbundleset>

<!-- Context menu additions -->
<popup id="contentAreaContextMenu">
<menuseparator />
<menu label="&screengrab.name;">
<menupopup id="screengrab-context-items">
<menu id="screengrab-save" label="&screengrab.save;">
<menupopup>
<menuitem id="pop-grabFrame" label="&screengrab.page;"
oncommand="Screengrab.grabCompleteDocument();"/>
<menuitem id="pop-grabViewPort" label="&screengrab.visible.portion.of.page;"
oncommand="Screengrab.grabVisibleDocument();"/>
<!--menuitem id="pop-grabBrowser" label="&screengrab.browser.window;"
oncommand="Screengrab.grabBrowserWindow();"/-->
<menuitem id="pop-grabBrowser" label="&screengrab.selection;"
oncommand="SGSelection.toggleDraw();"/>
</menupopup>
</menu>
<menu id="screengrab-copy" label="&screengrab.copy;">
<menupopup>
<menuitem id="pop-copyFrame" label="&screengrab.page;"
oncommand="Screengrab.copyCompleteDocument();"/>
<menuitem id="pop-copyViewPort" label="&screengrab.visible.portion.of.page;"
oncommand="Screengrab.copyVisibleDocument();"/>
<!--menuitem id="pop-copyBrowserWindow" label="&screengrab.browser.window;"
oncommand="Screengrab.copyBrowserWindow();"/-->
<menuitem id="pop-copyBrowserSelection" label="&screengrab.selection;"
oncommand="SGSelection.toggleDraw(true);"/>
</menupopup>
</menu>
</menupopup>
</menu>
</popup>

<statusbar id="status-bar">
<statusbarpanel id="screengrab_panel"
class="statusbarpanel-menu-iconic"
src="chrome://screengrab/skin/screengrab_status_icon.gif"
collapsed="false"
insertafter="statusbarpanel-progress"
persist="collapsed"
tooltiptext="Screengrab!">
<menupopup orient="horizontal" position="before_start">
<menu id="screengrab-save" label="&screengrab.save;" tooltip="&screengrab.save;">
<menupopup>
<menuitem id="pop-grabFrame" label="&screengrab.page;"
oncommand="Screengrab.grabCompleteDocument();"/>
<menuitem id="pop-grabViewPort" label="&screengrab.visible.portion.of.page;"
oncommand="Screengrab.grabVisibleDocument();"/>
<!--menuitem id="pop-grabBrowser" label="&screengrab.browser.window;"
oncommand="Screengrab.grabBrowserWindow();"/-->
<menuitem id="pop-grabBrowser" label="&screengrab.selection;"
oncommand="SGSelection.toggleDraw();"/>
</menupopup>
</menu>
<menu id="screengrab-copy" label="&screengrab.copy;">
<menupopup>
<menuitem id="pop-copyFrame" label="&screengrab.page;"
oncommand="Screengrab.copyCompleteDocument();"/>
<menuitem id="pop-copyViewPort" label="&screengrab.visible.portion.of.page;"
oncommand="Screengrab.copyVisibleDocument();"/>
<!--menuitem id="pop-copyBrowserWindow" label="&screengrab.browser.window;"
oncommand="Screengrab.copyBrowserWindow();"/-->
<menuitem id="pop-copyBrowserSelection" label="&screengrab.selection;"
oncommand="SGSelection.toggleDraw(true);"/>
</menupopup>
</menu>
</menupopup>
<vbox flex="1">
<scrollbox width="1" height="1">
<html:canvas id="screengrab_buffer_canvas" style="display: none"/>
</scrollbox>
</vbox>
</statusbarpanel>
</statusbar>
// end Status bar
</overlay>

Change log

r46 by andy.mutton on Mar 8, 2009   Diff
[No log message]
Go to: 

Older revisions

r35 by andy.mutton on Mar 3, 2009   Diff
[No log message]
r8 by andy.mutton on Jun 1, 2008   Diff
0.95 release
r5 by andy.mutton on May 12, 2008   Diff
Initial commit to Google code of the
original Screengrab codebase.
All revisions of this file

File info

Size: 5276 bytes, 100 lines
Powered by Google Project Hosting