QUIC - Minor cleanup changes, found while merging with internal code.

R=rch@chromium.org

Review URL: https://codereview.chromium.org/158623002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250076 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250076
Add helpers for CGL types.

Add base::ScopedTypeRef, which is similar to ScopedCFTypeRef,
but allows for parameterized retain and release functions. This is
necessary for types such as CGLContextObj, which have their own
retain and release methods (and for which calling CFRelease will
result in crashes).

Add some common typedefs of ScopedTypeRef to cgl_util in ui,
along with a scoped CGLContextObj make-current class.

BUG=245900
R=thakis@chromium.org,mark@chromium.org
TBR=garykac@chromium.org

Review URL: https://codereview.chromium.org/157063002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250077 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250077
Files.app: Show dialog when the file is opened in another desktop.

This CL changed the result type of fileBrowserPrivate.taskExecute so that the
result shows how the file is opened.  The result value 'message_sent' means that
the execution message is sent to a proper extension and the extension opens a
file, where we cannot open the new window in the current desktop.  The FileTasks
class in JS refers the result value and opens an alert dialog for the
'message_sent' result.

BUG=336093
TEST=manually

Review URL: https://codereview.chromium.org/131583006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250078 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250078