//
//  KMBrowserDocumentProxy.m
//  BathyScaphe
//
//  Created by 堀 昌樹 on 12/03/13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "KMBrowserDocumentProxy.h"

@implementation KMBrowserDocumentProxy
@synthesize browser = _browser;

- (BOOL)validateMenuItem:(NSMenuItem *)menuItem
{
	return [self.browser.document validateMenuItem:menuItem];
}
- (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)item
{
	return [self.browser.document validateUserInterfaceItem:item];
}
- (BOOL)respondsToSelector:(SEL)aSelector
{
	return [self.browser.document respondsToSelector:aSelector];
}
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
	return [self.browser.document methodSignatureForSelector:aSelector];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
	[anInvocation invokeWithTarget:self.browser.document];
}

@end
