2 // HMBrowserContentAdjuster.m
5 // Created by Hori,Masaki on 2015/06/02.
6 // Copyright (c) 2015年 Hori,Masaki. All rights reserved.
9 #import "HMBrowserContentAdjuster.h"
11 #import "HMExternalBrowserWindowController.h"
14 @interface HMBrowserContentAdjuster ()
18 @implementation HMBrowserContentAdjuster
22 self = [super initWithWindowNibName:NSStringFromClass([self class])];
26 - (HMExternalBrowserWindowController *)mainExternalWindowController
28 NSWindow *mainWindow = [[NSApplication sharedApplication] mainWindow];
29 id controller = mainWindow.windowController;
30 if([controller isKindOfClass:[HMExternalBrowserWindowController class]]) {