dont know anything about BrowserFrame. They know about Frame and they
need to cann getURL(). So im putting it here and making it a virtual noop
by default.
git-svn-id: svn://10.0.0.236/trunk@12557 18797224-902f-48f8-a5cc-f745e15eee43
Also, add a FULL_STATIC define to the Makefile to allow the option
of compiling a truly static binary (e.g. to test for unresolveds).
git-svn-id: svn://10.0.0.236/trunk@9364 18797224-902f-48f8-a5cc-f745e15eee43
(HTMLArea) on the page. Approved and reviewd by ramiro and akkana.
Command.cpp
Command.h
- Modified the XFE_ViewCommand constructor to take a view
argument (defaults to NULL when not provided). If not NULL,
this view is used to dispatch the command.
EditorView.cpp
EditorView.h
- Modified all XFE_EditorViewCommands to take a view argument
for their constructors to pass on to XFE_ViewCommand. Only
ENDERs pass non-NULL views to the constructors, so the Editor
still dispatches commands the way it always has.
Frame.cpp
Frame.h
- Modified xfe_ExecuteCommand to take a cmdDispatcher argument.
If non-null, it is casted to either a frame or view and then
used to dispatch the command passed in. If it is null,
xfe_ExecuteCommand dispatches as it always has.
Menu.cpp
Menu.h
PopupMenu.cpp
PopupMenu.h
- Modified XFE_Menu and XFE_PopupMenu constructors to take a
cmdDispatch argument. If it is non null, it is used to dispatch
the command that is attatched to the menuitem.
MozillaApp.cpp
- Modified xfeDoCommandAction ENDER code to call xfe_ExecuteCommand(),
passing in the view as the cmdDispatcher.
View.cpp
- Removed unused local variable in removeView(), to fix compiler
warning.
- Modified getCommandView() to recurse down the entire View tree
to find a view that can handle a command. The old code only looked
one level deep.
git-svn-id: svn://10.0.0.236/trunk@7778 18797224-902f-48f8-a5cc-f745e15eee43
XFE_Component methods can be used instead of various other toggle/hide/show
hacks.
git-svn-id: svn://10.0.0.236/trunk@596 18797224-902f-48f8-a5cc-f745e15eee43
doAttachments(). Fixes numerous toolbox bugs and completely simplifies
the way xfe does chrome. Reviewed by slamm.
git-svn-id: svn://10.0.0.236/trunk@291 18797224-902f-48f8-a5cc-f745e15eee43