cefclient Mac: add WebURLRequest test.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@198 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
91a46104f9
commit
131ac33548
|
@ -166,6 +166,7 @@ NSButton* MakeButton(NSRect* rect, NSString* title, NSView* parent) {
|
||||||
- (IBAction)testRequest:(id)sender;
|
- (IBAction)testRequest:(id)sender;
|
||||||
- (IBAction)testLocalStorage:(id)sender;
|
- (IBAction)testLocalStorage:(id)sender;
|
||||||
- (IBAction)testXMLHttpRequest:(id)sender;
|
- (IBAction)testXMLHttpRequest:(id)sender;
|
||||||
|
- (IBAction)testWebURLRequest:(id)sender;
|
||||||
- (IBAction)testDOMAccess:(id)sender;
|
- (IBAction)testDOMAccess:(id)sender;
|
||||||
- (IBAction)testSchemeHandler:(id)sender;
|
- (IBAction)testSchemeHandler:(id)sender;
|
||||||
- (IBAction)testPopupWindow:(id)sender;
|
- (IBAction)testPopupWindow:(id)sender;
|
||||||
|
@ -224,6 +225,9 @@ NSButton* MakeButton(NSRect* rect, NSString* title, NSView* parent) {
|
||||||
[testMenu addItemWithTitle:@"XMLHttpRequest"
|
[testMenu addItemWithTitle:@"XMLHttpRequest"
|
||||||
action:@selector(testXMLHttpRequest:)
|
action:@selector(testXMLHttpRequest:)
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
|
[testMenu addItemWithTitle:@"WebURLRequest"
|
||||||
|
action:@selector(testWebURLRequest:)
|
||||||
|
keyEquivalent:@""];
|
||||||
[testMenu addItemWithTitle:@"DOM Access"
|
[testMenu addItemWithTitle:@"DOM Access"
|
||||||
action:@selector(testDOMAccess:)
|
action:@selector(testDOMAccess:)
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
|
@ -374,6 +378,11 @@ NSButton* MakeButton(NSRect* rect, NSString* title, NSView* parent) {
|
||||||
RunXMLHTTPRequestTest(g_handler->GetBrowser());
|
RunXMLHTTPRequestTest(g_handler->GetBrowser());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (IBAction)testWebURLRequest:(id)sender {
|
||||||
|
if(g_handler.get() && g_handler->GetBrowserHwnd())
|
||||||
|
RunWebURLRequestTest(g_handler->GetBrowser());
|
||||||
|
}
|
||||||
|
|
||||||
- (IBAction)testDOMAccess:(id)sender {
|
- (IBAction)testDOMAccess:(id)sender {
|
||||||
if(g_handler.get() && g_handler->GetBrowserHwnd())
|
if(g_handler.get() && g_handler->GetBrowserHwnd())
|
||||||
RunDOMAccessTest(g_handler->GetBrowser());
|
RunDOMAccessTest(g_handler->GetBrowser());
|
||||||
|
|
Loading…
Reference in New Issue