• shess@chromium.org's avatar
    [Mac] Remove content/ CrApplication. · d7de5787
    shess@chromium.org authored
    Pull the CrAppProtocol autorelease-pool handling down into 
    MessagePumpCrApplication, which is selected at Create() if NSApp 
    implements the right protocol. UsingCrApp() allows clients to 
    confirm the correct setup (unfortunately, synchronizing NSApp 
    initialization and MessagePump::Create() would be intrusive).
    
    Also push CrAppProtocol and CrAppControlProtocol implementation into
    BrowserCrApplication, and reparent that class from NSApplication.
    
    Reparent ServiceCrApplication on NSApplication and rename.
    
    Remove CrApplication registration from gpu, plugin, and renderer
    mains.
    
    Remove MockCrApp dependency from remoting sample code.
    
    BUG=102224
    
    
    Review URL: http://codereview.chromium.org/8771028
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113281 0039d316-1c4b-4281-b951-d872f2087c98
    d7de5787
chrome_browser_main_mac.mm 4.84 KB