summaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-196-6/+6
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* Fix transform concatenation order in GetTransformRelativeTo, improve/add tests.wjmaclean@chromium.org2011-05-192-9/+5
| | | | | | | | | | | | | | | Add basic test of transform ordering. Revised GetTransformRelativeTo to get concatenation correct. Make numbers less coincidental in unit test. BUG=none TEST=views/view_unittest.cc Review URL: http://codereview.chromium.org/7044025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85985 0039d316-1c4b-4281-b951-d872f2087c98
* Make use of the new cross-platform POSIX defines toolkit_uses_gtk, os_posix, ↵tony@chromium.org2011-05-199-25/+29
| | | | | | | | | | and use_x11 for the gyp files. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. I also added Solaris to the remaining grit files. Patch by ruben (chromium@hybridsource.org). Review URL: http://codereview.chromium.org/7011032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85979 0039d316-1c4b-4281-b951-d872f2087c98
* Store the GLX window ID as a property of the X window. Put off deleting GLX ↵amarinichev@chromium.org2011-05-191-6/+71
| | | | | | | | | | | windows. BUG=82850 TEST=open/close composited tabs Review URL: http://codereview.chromium.org/7039055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85971 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bustage... these files were ommited from the CL.ben@chromium.org2011-05-193-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85911 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WidgetWin/Gtk -> NativeWidgetWin/Gtk.ben@chromium.org2011-05-191-1/+1
| | | | | | | | | BUG=72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/7039050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85910 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 79905: Drag and drop of "DownloadURL" type ignores specified ↵jianli@chromium.org2011-05-181-1/+1
| | | | | | | | | | filename for data URLs. BUG=79905 TEST=Manual test and unittest added for net::GetSuggestedFilename Review URL: http://codereview.chromium.org/7005011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85831 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a Chrome browser crash which occurs when running the browser as part of ↵ananta@chromium.org2011-05-181-0/+5
| | | | | | | | | | | | | ChromeFrame. The crash occurs while casting the GWLP_USERDATA pointer from a window owned by IE to a WidgetWin pointer and dereferencing it. We arrive at the IE window while enumerating the parents of the ExternalTabContainer window. BUG=none TEST=chrome frame tests should not crash Review URL: http://codereview.chromium.org/7043008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85784 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to base/.willchan@chromium.org2011-05-181-1/+1
| | | | | | | | | | | | | | | I plan to use SystemMonitor in net/. Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85732 Review URL: http://codereview.chromium.org/7015017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85737 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85732 (broke build) - Move SystemMonitor to base/.willchan@chromium.org2011-05-181-1/+1
| | | | | | | | | | | | | | | | I plan to use SystemMonitor in net/. Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base. BUG=none TEST=none Review URL: http://codereview.chromium.org/7015017 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/7042003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85734 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to base/.willchan@chromium.org2011-05-187-474/+1
| | | | | | | | | | | | | I plan to use SystemMonitor in net/. Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base. BUG=none TEST=none Review URL: http://codereview.chromium.org/7015017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85732 0039d316-1c4b-4281-b951-d872f2087c98
* Makes Transform concrete. Fixes bug in coordinate conversion and makes all ↵sky@chromium.org2011-05-176-192/+142
| | | | | | | | | | | | conversion routines calculate the transform in the same way. Lastly fixes bug in touch_factory.cc that was causing crashes on my machine when running views_unittests. Oh, and adds some tests of conversion methods. BUG=none TEST=none R=ben@chromium.org,sadrul@chromium.org Review URL: http://codereview.chromium.org/7033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85635 0039d316-1c4b-4281-b951-d872f2087c98
* base/i18n: Put break_iterator* into namespace i18n.tfarina@chromium.org2011-05-161-2/+4
| | | | | | | | | | | BUG=None TEST=None R=brettw@chromium.org Review URL: http://codereview.chromium.org/7034012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85525 0039d316-1c4b-4281-b951-d872f2087c98
* Add some missing header files and fix a template parameter to fix compiler ↵mdm@chromium.org2011-05-161-1/+2
| | | | | | | | warnings. Review URL: http://codereview.chromium.org/7027004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85451 0039d316-1c4b-4281-b951-d872f2087c98
* linux: glx_window_ is an XID, so it can't be NULLedevan@chromium.org2011-05-131-2/+2
| | | | | | | | Fixes a compiler warning. Review URL: http://codereview.chromium.org/6969074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85325 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 85013 - Split GLContext::Create*GLContext into ↵apatrick@chromium.org2011-05-1219-607/+850
| | | | | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext TEST=try, including layout tests BUG=none Review URL: http://codereview.chromium.org/7013037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85207 0039d316-1c4b-4281-b951-d872f2087c98
* Partially fix WGL backend on windows.apatrick@chromium.org2011-05-122-17/+72
| | | | | | | | | | It should render on all windows boxes with working GL. The GPU process creates a child window to render to again, but only if desktop GL has been enabled. The child window is not created by default so there should not be issues with deadlocks. Resizing flickers for some reason. TEST=WebGL works, trybots. BUG=none Review URL: http://codereview.chromium.org/6991002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85181 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: include zlib headers to avoid a breakage with libpng-1.5phajdan.jr@chromium.org2011-05-121-0/+6
| | | | | | | | | See http://bugs.gentoo.org/show_bug.cgi?id=365841 BUG=none Review URL: http://codereview.chromium.org/6969030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85146 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Reland 85013 - Split GLContext::Create*GLContext into ↵antonm@chromium.org2011-05-1218-818/+595
| | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext". git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85124 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Include stringprintf.h where appropriate, part 3.jhawkins@chromium.org2011-05-122-3/+9
| | | | | | | | | | | BUG=82098 TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/7016011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85088 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 85013 - Split GLContext::Create*GLContext into ↵apatrick@chromium.org2011-05-1218-595/+818
| | | | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext. TEST=webgl on windows and mac, trybots BUG=none Review URL: http://codereview.chromium.org/6997003 Review URL: http://codereview.chromium.org/7015016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85081 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85013 - Split GLContext::Create*GLContext into ↵apatrick@chromium.org2011-05-1115-798/+593
| | | | | | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext. TEST=webgl on windows and mac, trybots BUG=none Review URL: http://codereview.chromium.org/6997003 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/7015003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85016 0039d316-1c4b-4281-b951-d872f2087c98
* Split GLContext::Create*GLContext into GLSurface::Create*GLSurface plus a ↵apatrick@chromium.org2011-05-1115-593/+798
| | | | | | | | | | surface type independent GLContext::CreateGLContext. TEST=webgl on windows and mac, trybots BUG=none Review URL: http://codereview.chromium.org/6997003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85013 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Include callback_old.h where appropriate, final.jhawkins@chromium.org2011-05-111-1/+1
| | | | | | | | | BUG=82098 TEST=none Review URL: http://codereview.chromium.org/7003003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85003 0039d316-1c4b-4281-b951-d872f2087c98
* Update cros scrollbar imagesdavemoore@chromium.org2011-05-1012-0/+0
| | | | | | | | | BUG=chromium-os:15149 TEST=None Review URL: http://codereview.chromium.org/7001008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84852 0039d316-1c4b-4281-b951-d872f2087c98
* Tweaks Compositor API. To make it possible to land this I've ifdef'dsky@chromium.org2011-05-103-7/+125
| | | | | | | | | | | | the code in a couple of places. BUG=none TEST=none R=ben@chromium.org,wjmaclean@chromium.org,rjkroege@chromium.org Review URL: http://codereview.chromium.org/6999005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84823 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Remove ResourceBundle::GetPixbufNamed().tfarina@chromium.org2011-05-102-7/+1
| | | | | | | | | | | | | This function is now deprecated/unused. BUG=58030 TEST=None R=rsesek@chromium.org Review URL: http://codereview.chromium.org/6980006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84786 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Include stringprintf.h where appropriate, part 1.jhawkins@chromium.org2011-05-101-1/+1
| | | | | | | | | | | BUG=82098 TEST=none R=thakis@chromium.org Review URL: http://codereview.chromium.org/6997006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84754 0039d316-1c4b-4281-b951-d872f2087c98
* Adds assignment operator like function to Transform.sky@chromium.org2011-05-103-0/+8
| | | | | | | | | | BUG=none TEST=none R=sadrul@chromium.org Review URL: http://codereview.chromium.org/6993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84747 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for open source drivers.backer@chromium.org2011-05-091-2/+3
| | | | | | | | | | | On current open source drivers (1.9.2.901 intel and radeon pulled from X-edgers PPA), glXGetFBConfigFromVisualSGIX is not working as expected even though glxinfo lists GLX_SGIX_fbconfig as a supported extension. Rather than abort when this function fails, this simple patch tries the second code path provided when glXGetFBConfigFromVisualSGIX is unsupported. BUG=none TEST=by hand on Linux with 3D CSS Review URL: http://codereview.chromium.org/6969002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84653 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: split the directory listing parser test and re-enable it on TSan botsphajdan.jr@chromium.org2011-05-063-41/+3
| | | | | | | | | | | | | | The test was disabled on TSan bots becuase it was taking too much time. This change converts one huge test which parses ~30 directory listings to ~30 separate test cases. This change also moves ToLower/ToUpper from ui/base/l10n_util to base/i18n/case_conversion so that they can be used in net/ftp. BUG=79022 Review URL: http://codereview.chromium.org/6905027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84413 0039d316-1c4b-4281-b951-d872f2087c98
* Thanks to piman, added necessary glFlush to the IOSurface code path onkbr@google.com2011-05-051-0/+3
| | | | | | | | | | | | | | | | the Mac. This was the root cause of the delay in transmission of rendering results from the GPU process to the browser process. Undid the changes from the fix for Issue 80602; they are no longer needed. Reran various test cases on Mac; no regressions. BUG=81740 TEST=none Review URL: http://codereview.chromium.org/6931046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84353 0039d316-1c4b-4281-b951-d872f2087c98
* Split CGL implementations of *GLContext into GLContextCGL and *GLSurfaceCGL.apatrick@chromium.org2011-05-056-148/+317
| | | | | | | | | | | | | | | | Surfaces are independent of contexts in GL. To facilitate sharing of surfaces between processes, I have separated them from the notion of contexts because contexts cannot be shared between processes. I started with EGL in r81512, WGL in r81807, OSMesa in r81998 and GLX in r84090. This is the same thing for CGL. GLContextCGL still has a pointer to a surface and still has some surface specific operations that just forward through to it. Once I have refactored all the GLContext implementations in this way, I will remove these pointers and the surface specific opertations. There will not be "view" and "offscreen" GL contexts. Rather there will be a single context type for each backend which can be made current with a surface that directs output either to a view or offscreen surface. TEST=WebGL locally, try BUG=none Review URL: http://codereview.chromium.org/6933020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84334 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect function table order in gl_bindings_skia_in_process.ccbsalomon@google.com2011-05-051-1/+1
| | | | | | Review URL: http://codereview.chromium.org/6935028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84277 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to r1241.bsalomon@google.com2011-05-041-125/+198
| | | | | | | Adds functions to GL interface table. Use static initializer syntax for in-proccess bindings (more likely to see compiler errors when skia struct is changed without correspsonding update to gl_bindings_in_process.cc) Review URL: http://codereview.chromium.org/6931005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84113 0039d316-1c4b-4281-b951-d872f2087c98
* Made apatrick and amarinichev owners of the ui/gfx/gl directory.apatrick@chromium.org2011-05-041-0/+2
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/6931010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84093 0039d316-1c4b-4281-b951-d872f2087c98
* Split GLX implementations of *GLContext into GLContextGLX and *GLSurfaceGLX.apatrick@chromium.org2011-05-0415-588/+639
| | | | | | | | | | | | | | | | | | | Surfaces are independent of contexts in GL. To facilitate sharing of surfaces between processes, I have separated them from the notion of contexts because contexts cannot be shared between processes. I started with EGL in r81512 and WGL in r81807 and OSMesa in r81998. This is the same thing for GLX GLContextGLX still has a pointer to a surface and still has some surface specific operations that just forward through to it. Once I have refactored all the GLContext implementations in this way, I will remove these pointers and the surface specific opertations. There will not be "view" and "offscreen" GL contexts. Rather there will be a single context type for each backend which can be made current with a surface that directs output either to a view or offscreen surface. Also, added virtual qualifier to GLSurface::Initialize implementations to silence clang warnings. TEST=WebGL locally, try BUG=none Review URL: http://codereview.chromium.org/6864031 Review URL: http://codereview.chromium.org/6881024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84090 0039d316-1c4b-4281-b951-d872f2087c98
* Use gfx::Image in BrowserThemePacksail@chromium.org2011-05-042-22/+23
| | | | | | | | | | | | | | This is a part of the work to switch the Mac build to use bitmaps instead of PDFs. This change updates BrowserThemePack to cache images as gfx::Image instead of SkBitmap. This allows callers to get multi resolution images. BUG=75812 TEST=Ran and verified that things looked ok. Review URL: http://codereview.chromium.org/6904162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84015 0039d316-1c4b-4281-b951-d872f2087c98
* Should be isEqual: not isEqualTo:thomasvl@chromium.org2011-05-031-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6912042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83971 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove the chrome.gyp dependency in ui.gyp.thestig@chromium.org2011-05-031-1/+0
| | | | | | | | BUG=77100 TEST=none Review URL: http://codereview.chromium.org/6904150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83952 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate wstring from base/utf_offset_string_conversions.h, ↵pkasting@chromium.org2011-05-031-4/+2
| | | | | | | | | | net/base/escape.h, and net/base/net_util.h, and reduce the API surfaces in various places slightly where possible. BUG=23581 TEST=none Review URL: http://codereview.chromium.org/6898026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83948 0039d316-1c4b-4281-b951-d872f2087c98
* Only enable vsync if a compositing window manager is not in use. Thiskbr@chromium.org2011-05-031-1/+20
| | | | | | | | | | | | | | restores performance and latency on Linux to previous levels before the bug fix enabling vsync for the first time. Tested manually both with and without Compiz enabled and verified the detection logic works. BUG=81333 TEST=none Review URL: http://codereview.chromium.org/6911030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83921 0039d316-1c4b-4281-b951-d872f2087c98
* Move some win specific code to resource_bundle_win.cc.tony@chromium.org2011-05-022-8/+6
| | | | | | Review URL: http://codereview.chromium.org/6902209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83799 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash due to using secondary X11 connection on main thread.dcheng@chromium.org2011-05-021-1/+1
| | | | | | | | | BUG=79358 TEST=Manual. Review URL: http://codereview.chromium.org/6902179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83778 0039d316-1c4b-4281-b951-d872f2087c98
* Remove +x on png files.evan@chromium.org2011-05-0212-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83733 0039d316-1c4b-4281-b951-d872f2087c98
* Implement new gray mock.davemoore@chromium.org2011-05-0212-0/+0
| | | | | | | | | BUG=chromium-os:14276 TEST=Login, examine both regular and OTR, and test with and without themes. Review URL: http://codereview.chromium.org/6904160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83729 0039d316-1c4b-4281-b951-d872f2087c98
* Compiz's interaction with top-level windows confuses GTK.amarinichev@chromium.org2011-05-011-1/+2
| | | | | | | | | | | | Set the new window to be override-redirect. This makes the window invisible for the window manager, which makes all reparenting operations safe. BUG=80017 TEST=Ctrl-Shift-I with and without compiz, tear off tabs with 3D CSS or WebGL Review URL: http://codereview.chromium.org/6903111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83698 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in RenderViewContextMenuViews::RunMenuAt. As part of fixingsky@chromium.org2011-04-282-18/+32
| | | | | | | | | | | | this I'm centralizing how we notify the view of menu showing/hiding. BUG=80099 80879 TEST=none R=estade@chromium.org,ben@chromium.org Review URL: http://codereview.chromium.org/6901075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83444 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ui/gfx/scoped_cg_context_state_mac.h -> ↵rsesek@chromium.org2011-04-282-5/+5
| | | | | | | | | | | | | | scoped_cg_context_save_gstate_mac.h This is to match the actual name of the class and the AppKit/NS version that will be landed soon. BUG=none TEST=none Review URL: http://codereview.chromium.org/6903040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83332 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang compilation issues following r83248. This might be necessary to ↵apatrick@chromium.org2011-04-272-1/+6
| | | | | | | | | | merge bug 77536 to avoid clang compilation errors. TEST=linux_clang BUG=77536 Review URL: http://codereview.chromium.org/6903092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83258 0039d316-1c4b-4281-b951-d872f2087c98