Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
496abd05
Commit
496abd05
authored
Mar 12, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Get rid of handle_edit_load.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
34c84fd1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
editor.c
dlls/mshtml/editor.c
+0
-5
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-2
nsembed.c
dlls/mshtml/nsembed.c
+1
-1
nsevents.c
dlls/mshtml/nsevents.c
+1
-1
No files found.
dlls/mshtml/editor.c
View file @
496abd05
...
...
@@ -488,11 +488,6 @@ void handle_edit_event(HTMLDocumentNode *doc, nsIDOMEvent *event)
nsIDOMKeyEvent_Release
(
key_event
);
}
void
handle_edit_load
(
HTMLDocument
*
This
)
{
get_editor_controller
(
This
->
doc_obj
->
nscontainer
);
}
static
void
set_ns_fontname
(
HTMLDocumentNode
*
doc
,
const
char
*
fontname
)
{
nsICommandParams
*
nsparam
=
create_nscommand_params
();
...
...
dlls/mshtml/mshtml_private.h
View file @
496abd05
...
...
@@ -962,7 +962,7 @@ HRESULT return_nsform(nsresult,nsIDOMHTMLFormElement*,IHTMLFormElement**) DECLSP
nsICommandParams
*
create_nscommand_params
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
nsnode_to_nsstring
(
nsIDOMNode
*
,
nsAString
*
)
DECLSPEC_HIDDEN
;
void
get
_editor_controller
(
GeckoBrowser
*
)
DECLSPEC_HIDDEN
;
void
setup
_editor_controller
(
GeckoBrowser
*
)
DECLSPEC_HIDDEN
;
nsresult
get_nsinterface
(
nsISupports
*
,
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
nsIWritableVariant
*
create_nsvariant
(
void
)
DECLSPEC_HIDDEN
;
nsIXMLHttpRequest
*
create_nsxhr
(
nsIDOMWindow
*
nswindow
)
DECLSPEC_HIDDEN
;
...
...
@@ -1140,7 +1140,6 @@ void handle_edit_event(HTMLDocumentNode*,nsIDOMEvent*) DECLSPEC_HIDDEN;
HRESULT
editor_exec_copy
(
HTMLDocumentNode
*
,
DWORD
,
VARIANT
*
,
VARIANT
*
)
DECLSPEC_HIDDEN
;
HRESULT
editor_exec_cut
(
HTMLDocumentNode
*
,
DWORD
,
VARIANT
*
,
VARIANT
*
)
DECLSPEC_HIDDEN
;
HRESULT
editor_exec_paste
(
HTMLDocumentNode
*
,
DWORD
,
VARIANT
*
,
VARIANT
*
)
DECLSPEC_HIDDEN
;
void
handle_edit_load
(
HTMLDocument
*
)
DECLSPEC_HIDDEN
;
HRESULT
browser_is_dirty
(
GeckoBrowser
*
)
DECLSPEC_HIDDEN
;
void
set_dirty
(
GeckoBrowser
*
,
VARIANT_BOOL
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/nsembed.c
View file @
496abd05
...
...
@@ -1068,7 +1068,7 @@ HRESULT nsnode_to_nsstring(nsIDOMNode *nsnode, nsAString *str)
return
hres
;
}
void
get
_editor_controller
(
GeckoBrowser
*
This
)
void
setup
_editor_controller
(
GeckoBrowser
*
This
)
{
nsIEditingSession
*
editing_session
=
NULL
;
nsIControllerContext
*
ctrlctx
;
...
...
dlls/mshtml/nsevents.c
View file @
496abd05
...
...
@@ -197,7 +197,7 @@ static void handle_docobj_load(HTMLDocumentObj *doc)
}
if
(
doc
->
nscontainer
->
usermode
==
EDITMODE
)
handle_edit_load
(
&
doc
->
basedoc
);
setup_editor_controller
(
doc
->
nscontainer
);
if
(
doc
->
client
)
{
hres
=
IOleClientSite_QueryInterface
(
doc
->
client
,
&
IID_IOleCommandTarget
,
(
void
**
)
&
olecmd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment