~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/webshell/tests/viewer/vieweros2.rc

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
2
/* ***** BEGIN LICENSE BLOCK *****
 
3
 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
 
4
 *
 
5
 * The contents of this file are subject to the Netscape Public License
 
6
 * Version 1.1 (the "License"); you may not use this file except in
 
7
 * compliance with the License. You may obtain a copy of the License at
 
8
 * http://www.mozilla.org/NPL/
 
9
 *
 
10
 * Software distributed under the License is distributed on an "AS IS" basis,
 
11
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
 * for the specific language governing rights and limitations under the
 
13
 * License.
 
14
 *
 
15
 * The Original Code is mozilla.org code.
 
16
 *
 
17
 * The Initial Developer of the Original Code is 
 
18
 * Netscape Communications Corporation.
 
19
 * Portions created by the Initial Developer are Copyright (C) 1998
 
20
 * the Initial Developer. All Rights Reserved.
 
21
 *
 
22
 * Contributor(s):
 
23
 *
 
24
 * Alternatively, the contents of this file may be used under the terms of
 
25
 * either the GNU General Public License Version 2 or later (the "GPL"), or 
 
26
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
27
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
28
 * of those above. If you wish to allow use of your version of this file only
 
29
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
30
 * use your version of this file under the terms of the NPL, indicate your
 
31
 * decision by deleting the provisions above and replace them with the notice
 
32
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
33
 * the provisions above, a recipient may use your version of this file under
 
34
 * the terms of any one of the NPL, the GPL or the LGPL.
 
35
 *
 
36
 * ***** END LICENSE BLOCK ***** */
 
37
#include "resources.h"
 
38
#include <os2.h>
 
39
 
 
40
#define IDM_VIEWERBAR  40990
 
41
 
 
42
MENU IDM_VIEWERBAR
 
43
{
 
44
  SUBMENU "~File", 0
 
45
  {
 
46
    MENUITEM "~New Window", VIEWER_WINDOW_OPEN
 
47
    MENUITEM "~Open...", VIEWER_FILE_OPEN
 
48
    MENUITEM "~ViewSource", VIEW_SOURCE
 
49
    SUBMENU  "~Samples", 0
 
50
    {
 
51
      MENUITEM "demo #0", VIEWER_DEMO0
 
52
      MENUITEM "demo #1", VIEWER_DEMO1
 
53
      MENUITEM "demo #2", VIEWER_DEMO2
 
54
      MENUITEM "demo #3", VIEWER_DEMO3
 
55
      MENUITEM "demo #4", VIEWER_DEMO4
 
56
      MENUITEM "demo #5", VIEWER_DEMO5
 
57
      MENUITEM "demo #6", VIEWER_DEMO6
 
58
      MENUITEM "demo #7", VIEWER_DEMO7
 
59
      MENUITEM "demo #8", VIEWER_DEMO8
 
60
      MENUITEM "demo #9", VIEWER_DEMO9
 
61
      MENUITEM "demo #10", VIEWER_DEMO10
 
62
      MENUITEM "demo #11", VIEWER_DEMO11
 
63
      MENUITEM "demo #12", VIEWER_DEMO12
 
64
      MENUITEM "demo #13", VIEWER_DEMO13
 
65
      MENUITEM "demo #14", VIEWER_DEMO14
 
66
      MENUITEM "demo #15", VIEWER_DEMO15
 
67
      MENUITEM "demo #16", VIEWER_DEMO16
 
68
      MENUITEM "demo #17", VIEWER_DEMO17
 
69
    }
 
70
    MENUITEM "~Test sites", VIEWER_TOP100
 
71
    SUBMENU "~XPToolkit tests", 0
 
72
    {
 
73
      MENUITEM "~Toolbar Test 1", VIEWER_XPTOOLKITTOOLBAR1
 
74
      MENUITEM "T~ree Test 1", VIEWER_XPTOOLKITTREE1
 
75
    }
 
76
    MENUITEM SEPARATOR
 
77
    MENUITEM "Print ~Preview", VIEWER_ONE_COLUMN
 
78
    MENUITEM "~Print", VIEWER_PRINT
 
79
    MENUITEM SEPARATOR
 
80
    MENUITEM "E~xit", VIEWER_EXIT
 
81
  }
 
82
  SUBMENU "~Edit", 0
 
83
  {
 
84
    MENUITEM "Cu~t",            VIEWER_EDIT_CUT, , MIA_DISABLED
 
85
    MENUITEM "~Copy",           VIEWER_EDIT_COPY
 
86
    MENUITEM "~Paste",          VIEWER_EDIT_PASTE, , MIA_DISABLED
 
87
    MENUITEM SEPARATOR
 
88
    MENUITEM "Select ~All",     VIEWER_EDIT_SELECTALL
 
89
    MENUITEM SEPARATOR
 
90
    MENUITEM "~Find in Page",   VIEWER_EDIT_FINDINPAGE
 
91
    MENUITEM SEPARATOR
 
92
    MENUITEM "P~refs",          VIEWER_PREFS
 
93
  }
 
94
  SUBMENU "~Debug", 0
 
95
  {
 
96
    MENUITEM "~Visual Debugging", VIEWER_VISUAL_DEBUGGING
 
97
    MENUITEM "Visual ~Event Debugging", VIEWER_VISUAL_EVENT_DEBUGGING
 
98
    MENUITEM "~Reflow Test", VIEWER_REFLOW_TEST
 
99
    MENUITEM SEPARATOR
 
100
    MENUITEM "Dump ~Content", VIEWER_DUMP_CONTENT
 
101
    MENUITEM "Dump ~Frames", VIEWER_DUMP_FRAMES
 
102
    MENUITEM "Dump ~Views", VIEWER_DUMP_VIEWS
 
103
    MENUITEM SEPARATOR
 
104
    MENUITEM "Dump ~Style Sheets", VIEWER_DUMP_STYLE_SHEETS
 
105
    MENUITEM "Dump ~Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
 
106
    MENUITEM SEPARATOR
 
107
    MENUITEM "Debug Save", VIEWER_DEBUGSAVE
 
108
    MENUITEM "Debug Display Text", VIEWER_DISPLAYTEXT
 
109
    MENUITEM "Debug Display HTML", VIEWER_DISPLAYHTML
 
110
    MENUITEM "Debug Toggle Selection", VIEWER_TOGGLE_SELECTION
 
111
    MENUITEM SEPARATOR
 
112
    MENUITEM "Debu~g Robot", VIEWER_DEBUGROBOT
 
113
    MENUITEM SEPARATOR
 
114
  }
 
115
 
 
116
  SUBMENU "~Style", 0
 
117
  {
 
118
    SUBMENU "Select ~Style Sheet", 0
 
119
    {
 
120
      MENUITEM "List Availabe Sheets", VIEWER_SELECT_STYLE_LIST
 
121
      MENUITEM SEPARATOR
 
122
      MENUITEM "Select Default", VIEWER_SELECT_STYLE_DEFAULT
 
123
      MENUITEM SEPARATOR
 
124
      MENUITEM "Select Alternate 1", VIEWER_SELECT_STYLE_ONE
 
125
      MENUITEM "Select Alternate 2", VIEWER_SELECT_STYLE_TWO
 
126
      MENUITEM "Select Alternate 3", VIEWER_SELECT_STYLE_THREE
 
127
      MENUITEM "Select Alternate 4", VIEWER_SELECT_STYLE_FOUR
 
128
    }
 
129
    SUBMENU "~Compatibility Mode Pref", 0
 
130
    {
 
131
      MENUITEM "Use DTD", VIEWER_USE_DTD_MODE
 
132
      MENUITEM "Nav Quirks", VIEWER_NAV_QUIRKS_MODE
 
133
      MENUITEM "Standard", VIEWER_STANDARD_MODE
 
134
    }
 
135
  }
 
136
  SUBMENU "~Tools", 0
 
137
  {
 
138
    MENUITEM "~JavaScript Console", JS_CONSOLE
 
139
    MENUITEM "~Editor Mode", EDITOR_MODE
 
140
    MENUITEM SEPARATOR
 
141
    SUBMENU "~Privacy Tools", 0
 
142
    {
 
143
      MENUITEM "Safe Prefill from ~Wallet", PRVCY_PREFILL
 
144
      MENUITEM "~Quick Prefill from Wallet", PRVCY_QPREFILL
 
145
      MENUITEM SEPARATOR
 
146
      MENUITEM "Display Wa~llet", PRVCY_DISPLAY_WALLET
 
147
      MENUITEM "Display ~Cookies", PRVCY_DISPLAY_COOKIES
 
148
      MENUITEM "Display ~Signons", PRVCY_DISPLAY_SIGNONS
 
149
    }
 
150
    SUBMENU "Editor Tests", 0
 
151
    {
 
152
      MENUITEM  "Insert Table",   VIEWER_EDIT_INSERT_TABLE  
 
153
      MENUITEM  "Insert Cell",    VIEWER_EDIT_INSERT_CELL   
 
154
      MENUITEM  "Insert Column",  VIEWER_EDIT_INSERT_COLUMN 
 
155
      MENUITEM  "Insert Row",     VIEWER_EDIT_INSERT_ROW    
 
156
      MENUITEM SEPARATOR
 
157
      MENUITEM  "Delete Table",   VIEWER_EDIT_DELETE_TABLE
 
158
      MENUITEM  "Delete Cell",    VIEWER_EDIT_DELETE_CELL   
 
159
      MENUITEM  "Delete Column",  VIEWER_EDIT_DELETE_COLUMN 
 
160
      MENUITEM  "Delete Row",     VIEWER_EDIT_DELETE_ROW    
 
161
      MENUITEM SEPARATOR
 
162
      MENUITEM  "Join with cell to right",     VIEWER_EDIT_JOIN_CELL_RIGHT
 
163
    }
 
164
  }
 
165
}