chromium-tabs: fixed a problem with a log message using wrong format specifier for integer argument.
fixed a bug where the 'new tab' button would stay hidden after dragging a tab
tear off tab when it's dragged too far to the left or right

added isTabFullyVisible: implementation from chromium source
Changed to NSString* const since XCode4 was complaining
Another change for XCode 4.
added xcuserdata to gitignore
Merged pull request #5 from Agos/master.

XCode 4 compilation fixes
Merge pull request #2 from kc5nra/61-crash-right-left-click-on-tab

61 crash right left click on tab
Merge pull request #3 from sbillig/master

a couple minor fixes
Corrected "Hello, World" example and added note about Xcode4 workspace usage
Merge pull request #7 from robertkrimen/master

Fix and update to README.md
Fixes several problems I was seeing with using chromium tabs with OSX 10.8

* Opening a new window and closing it was crashing. The main root-cause
    here was an incorrect autorelease call in the CTBrowser class when
    new windows were created. By allowing the autorelease in windowWillClose
    to be the one that gets rid of the final reference, the bug primarily went away.

* TabStripController referencing deleted memory after CTBrowser being deallocated.
    TabStripController references a C++ class (CTTabStripModel)that is
    non-refcounted and owned by CTBrowser. Once the CTBrowser gets deleted,
    that class reference becomes stale and cannot be safely used again. Since it
    isn't refcounted, the simplest solution is actually just to ensure that
    TabStripController gets released before CTBrowser, and then the bug goes away.

* It's possible for CTBrowserWindowController to trigger a window close inside
    commandDispatch. This in turn can lead to CTBrowserWindowController getting
    destroyed before commandDispatch is finished, with predictably poor results.
    Doing a retain and autorelease on the targetController in commandDispatch
    fixes this.

* Tearing away a tab and then reintegrating it was causing a crash. The basic
    problem was that we were attempting to call makeFirstResponder while in the
    process of closing a window. This was because CTTabWindowController calls
    setUseOverlay in its dealloc routine, which in turn CAN call NSWindow
    makeFirstResponder and display. I've put in an ugly but effective hack to
    prevent this. Ideally I'd check some preexisting state on the window or
    windowcontroller itself to see if it's valid, but I couldn't find anything
    obvious.

Lastly, I also fixed up the XCode project settings to build properly on XCode 4.6
under 10.8. Apple no longer supports building for OSs prior to 10.7, so I updated
the project accordingly.

With this in place I can get the example app working robustly, and should be able
to use this for other purposes as well.
Merge remote-tracking branch 'dparnell/arc'

Conflicts:
	examples/simple-app/AppDelegate.mm
	src/CTBrowser.mm
	src/CTBrowserWindowController.mm
	src/chrome/browser/cocoa/CTTabStripController.mm
	src/chrome/browser/cocoa/CTTabView.mm
	src/chrome/browser/cocoa/CTTabWindowController.mm
	src/common.mm
Update base SDK to 10.8
Fix a release build warning about newTab being unused
Fix retain cycles under ARC

There were a lot of retain cycles that were causing leaks (even preventing
the window classes from releasing, thus leaving hidden windows around).

I spent some time with Instruments analyzing leaks and the retain/release histories
of leaked objects, then analyzed all of the pointers cached around in the
classes, and I think I've now finally got all the retains properly handled.
Basically any child must hold a __weak reference to a parent object or
just an object owned by some other class/instance.
Added support for fully disabling the new tab button

In the app I'm working on, I don't want to have the possibility of blank tabs.
At least not yet. So, rather than cook up some way to intercept the blank tab
creation process and shoehorn my own content into there, I'm just disabling
the ability to create blank tabs, including suppressing the new tab button.
Merge pull request #1 from elklein/master

Fixes for retain cycles in under ARC