15#import <Cocoa/Cocoa.h>
17#include "include/cef_browser.h"
25 NSView *view = (NSView *)browser->GetHost()->GetWindowHandle();
26 NSWindow *window = [view window];
27 std::string titleStr(title);
28 NSString *str = [NSString stringWithUTF8String:titleStr.c_str()];
29 [window setTitle:str];
static bool PlatformResize(CefRefPtr< CefBrowser > browser, int width, int height)
void PlatformTitleChange(CefRefPtr< CefBrowser > browser, const CefString &title)
static void PlatformInit()