Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
eb52044e
Commit
eb52044e
authored
Aug 26, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Beginning implementation of Gecko focus handling.
parent
b0b47774
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
0 deletions
+23
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
nsembed.c
dlls/mshtml/nsembed.c
+5
-0
nsiface.idl
dlls/mshtml/nsiface.idl
+16
-0
view.c
dlls/mshtml/view.c
+1
-0
No files found.
dlls/mshtml/mshtml_private.h
View file @
eb52044e
...
...
@@ -82,6 +82,7 @@ struct NSContainer {
nsIWebNavigation
*
navigation
;
nsIBaseWindow
*
window
;
nsIWebBrowserStream
*
stream
;
nsIWebBrowserFocus
*
focus
;
HTMLDocument
*
doc
;
...
...
dlls/mshtml/nsembed.c
View file @
eb52044e
...
...
@@ -599,6 +599,11 @@ void HTMLDocument_NSContainer_Init(HTMLDocument *This)
if
(
NS_FAILED
(
nsres
))
ERR
(
"Could not get nsIWebNavigation interface: %08lx
\n
"
,
nsres
);
nsres
=
nsIWebBrowserFocus_QueryInterface
(
This
->
nscontainer
->
webbrowser
,
&
IID_nsIWebBrowserFocus
,
(
void
**
)
&
This
->
nscontainer
->
focus
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"Could not get nsIWebBrowserFocus interface: %08lx
\n
"
,
nsres
);
#if 0
nsres = nsIWebBrowserStream_QueryInterface(This->nscontainer->webbrowser, &IID_nsIWebBrowserStream,
(void**)&This->nscontainer->stream);
...
...
dlls/mshtml/nsiface.idl
View file @
eb52044e
...
...
@@ -313,6 +313,22 @@ interface nsIIOService : nsISupports
[
object,
uuid(9c5d3c58-1dd1-11b2-a1c9-f3699284657a)
]
interface nsIWebBrowserFocus : nsISupports
{
nsresult Activate();
nsresult Deactivate();
nsresult SetFocusAtFirstElement();
nsresult SetFocusAtLastElement();
nsresult GetFocusedWindow(nsIDOMWindow **aFocusedWindow);
nsresult SetFocusedWindow(nsIDOMWindow *aFocusedWindow);
nsresult GetFocusedElement(nsIDOMElement **aFocusedElement);
nsresult SetFocusedElement(nsIDOMElement *aFocusedElement);
}
[
object,
uuid(ba434c60-9d52-11d3-afb0-00a024ffc08c)
]
interface nsIWebBrowserChrome : nsISupports
...
...
dlls/mshtml/view.c
View file @
eb52044e
...
...
@@ -74,6 +74,7 @@ static void activate_gecko(HTMLDocument *This)
nsIBaseWindow_SetVisibility
(
This
->
nscontainer
->
window
,
TRUE
);
nsIBaseWindow_SetEnabled
(
This
->
nscontainer
->
window
,
TRUE
);
nsIWebBrowserFocus_Activate
(
This
->
nscontainer
->
focus
);
}
static
LRESULT
WINAPI
serverwnd_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
...
...
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