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
0e53cfb3
Commit
0e53cfb3
authored
Apr 04, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed load flags usage.
parent
7a222508
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
5 deletions
+30
-5
nsiface.idl
dlls/mshtml/nsiface.idl
+29
-4
persist.c
dlls/mshtml/persist.c
+1
-1
No files found.
dlls/mshtml/nsiface.idl
View file @
0e53cfb3
...
...
@@ -545,6 +545,16 @@ interface nsILoadGroup : nsIRequest
]
interface nsIChannel : nsIRequest
{
const UINT LOAD_DOCUMENT_URI = 1 << 16;
const UINT LOAD_RETARGETED_DOCUMENT_URI = 1 << 17;
const UINT LOAD_REPLACE = 1 << 18;
const UINT LOAD_INITIAL_DOCUMENT_URI = 1 << 19;
const UINT LOAD_TARGETED = 1 << 20;
const UINT LOAD_CALL_CONTENT_SNIFFERS = 1 << 21;
const UINT LOAD_CLASSIFY_URI = 1 << 22;
const UINT LOAD_TREAT_APPLICATION_OCTET_STREAM_AS_UNKNOWN = 1 << 23;
const UINT LOAD_EXPLICIT_CREDENTIALS = 1 << 24;
nsresult GetOriginalURI(nsIURI **aOriginalURI);
nsresult SetOriginalURI(nsIURI *aOriginalURI);
nsresult GetURI(nsIURI **aURI);
...
...
@@ -2299,10 +2309,6 @@ interface nsIBaseWindow : nsISupports
nsresult
SetTitle
(
const
PRUnichar
*
aTitle
)
;
}
cpp_quote
(
"#define LOAD_FLAGS_NONE 0x00000000"
)
cpp_quote
(
"#define LOAD_REPLACE 0x00040000"
)
cpp_quote
(
"#define LOAD_INITIAL_DOCUMENT_URI 0x00080000"
)
[
object
,
uuid
(
f5d9e7b0
-
d930
-
11
d3
-
b057
-
00
a024ffc08c
),
...
...
@@ -2310,6 +2316,25 @@ cpp_quote("#define LOAD_INITIAL_DOCUMENT_URI 0x00080000")
]
interface
nsIWebNavigation
:
nsISupports
{
const
UINT
LOAD_FLAGS_MASK
=
0
xffff
;
const
UINT
LOAD_FLAGS_NONE
=
0
;
const
UINT
LOAD_FLAGS_IS_REFRESH
=
0
x0010
;
const
UINT
LOAD_FLAGS_IS_LINK
=
0
x0020
;
const
UINT
LOAD_FLAGS_BYPASS_HISTORY
=
0
x0040
;
const
UINT
LOAD_FLAGS_REPLACE_HISTORY
=
0
x0080
;
const
UINT
LOAD_FLAGS_BYPASS_CACHE
=
0
x0100
;
const
UINT
LOAD_FLAGS_BYPASS_PROXY
=
0
x0200
;
const
UINT
LOAD_FLAGS_CHARSET_CHANGE
=
0
x0400
;
const
UINT
LOAD_FLAGS_STOP_CONTENT
=
0
x0800
;
const
UINT
LOAD_FLAGS_FROM_EXTERNAL
=
0
x1000
;
const
UINT
LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP
=
0
x2000
;
const
UINT
LOAD_FLAGS_FIRST_LOAD
=
0
x4000
;
const
UINT
LOAD_FLAGS_ALLOW_POPUPS
=
0
x8000
;
const
UINT
LOAD_FLAGS_BYPASS_CLASSIFIER
=
0
x10000
;
const
UINT
LOAD_FLAGS_FORCE_ALLOW_COOKIES
=
0
x20000
;
const
UINT
LOAD_FLAGS_DISALLOW_INHERIT_OWNER
=
0
x40000
;
const
UINT
LOAD_FLAGS_URI_IS_UTF8
=
0
x80000
;
nsresult
GetCanGoBack
(
bool
*
aCanGoBack
)
;
nsresult
GetCanGoForward
(
bool
*
aCanGoForward
)
;
nsresult
GoBack
()
;
...
...
dlls/mshtml/persist.c
View file @
0e53cfb3
...
...
@@ -379,7 +379,7 @@ HRESULT set_moniker(HTMLDocument *This, IMoniker *mon, IBindCtx *pibc, nsChannel
remove_target_tasks
(
This
->
task_magic
);
abort_window_bindings
(
This
->
window
->
base
.
inner_window
);
hres
=
load_nsuri
(
This
->
window
,
nsuri
,
bscallback
,
0
/*LOAD_INITIAL_DOCUMENT_URI*/
);
hres
=
load_nsuri
(
This
->
window
,
nsuri
,
bscallback
,
LOAD_FLAGS_BYPASS_CACHE
);
nsISupports_Release
((
nsISupports
*
)
nsuri
);
/* FIXME */
if
(
SUCCEEDED
(
hres
))
hres
=
create_pending_window
(
This
->
window
,
bscallback
);
...
...
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