summaryrefslogtreecommitdiffstats
path: root/ui/ui_gfx.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-6/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Use SkMatrix44 for the underlying implementation of ui::Transformbacker@chromium.org2011-07-081-2/+6
| | | | | | | | | | BUG= TEST=ui_unittest Review URL: http://codereview.chromium.org/7044062 Patch from Ian Vollick <vollick@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91855 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/7262024/ for Ian:sky@chromium.org2011-06-301-0/+2
| | | | | | | | | | | Added interpolated transforms BUG= none TEST=ui_unittests Review URL: http://codereview.chromium.org/7285003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91145 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/mac/ files to ui/gfx/mac/ directory.tfarina@chromium.org2011-06-221-0/+3
| | | | | | | | | | | BUG=72317 TEST=None R=rsesek@chromium.org Review URL: http://codereview.chromium.org/7200045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89956 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FaviconHandler to move code into delegaterohitrao@chromium.org2011-06-171-0/+2
| | | | | | | | | | | methods. BUG=None TEST=None Review URL: http://codereview.chromium.org/7172028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89437 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui/gfx/image* to ui/gfx/image/.rsesek@chromium.org2011-06-131-3/+3
| | | | | | | | | BUG=none TEST=ui_unittests Review URL: http://codereview.chromium.org/6995155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88852 0039d316-1c4b-4281-b951-d872f2087c98
* Remove msvs_guids from gyp files in ui.tony@chromium.org2011-06-101-3/+0
| | | | | | | | BUG=28727 Review URL: http://codereview.chromium.org/7104073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88704 0039d316-1c4b-4281-b951-d872f2087c98
* Retry r88137:estade@chromium.org2011-06-091-0/+2
| | | | | | | | | | | | | | | Add code to calculate the dominant color for a favicon. Currently we calculate the dominant/representative color only for those favicons we need it for (i.e. the ones shown on the NTP). We don't do any caching either in memory or in the favicon db but that can be tacked on later if deemed suitable. Code in color_analysis.* authored by dtrainor BUG=none TEST=trybots Review URL: http://codereview.chromium.org/7031078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88600 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88137 - Add code to calculate the dominant color for a favicon.estade@chromium.org2011-06-071-2/+0
| | | | | | | | | | | | | | | | Currently we calculate the dominant/representative color only for those favicons we need it for (i.e. the ones shown on the NTP). We don't do any caching either in memory or in the favicon db but that can be tacked on later if deemed suitable. Code in color_analysis.* authored by dtrainor BUG=none TEST=none Review URL: http://codereview.chromium.org/7099001 TBR=estade@chromium.org Review URL: http://codereview.chromium.org/7125010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88139 0039d316-1c4b-4281-b951-d872f2087c98
* Add code to calculate the dominant color for a favicon.estade@chromium.org2011-06-071-0/+2
| | | | | | | | | | | | | Currently we calculate the dominant/representative color only for those favicons we need it for (i.e. the ones shown on the NTP). We don't do any caching either in memory or in the favicon db but that can be tacked on later if deemed suitable. Code in color_analysis.* authored by dtrainor BUG=none TEST=none Review URL: http://codereview.chromium.org/7099001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88137 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-1/+1
| | | | | | | | | | | 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
* Make use of the new cross-platform POSIX defines toolkit_uses_gtk, os_posix, ↵tony@chromium.org2011-05-191-1/+1
| | | | | | | | | | 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
* Makes Transform concrete. Fixes bug in coordinate conversion and makes all ↵sky@chromium.org2011-05-171-2/+1
| | | | | | | | | | | | 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
* Rename ui/gfx/scoped_cg_context_state_mac.h -> ↵rsesek@chromium.org2011-04-281-1/+1
| | | | | | | | | | | | | | 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
* Add and use gfx::ScopedNSGraphicsContextState ↵rsesek@chromium.org2011-04-271-0/+2
| | | | | | | | | | | | (ui/gfx/scoped_ns_graphics_context_state_mac.h). BUG=none TEST=covered by tests Review URL: http://codereview.chromium.org/6904026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83125 0039d316-1c4b-4281-b951-d872f2087c98
* Step 1 in refactoring NativeThemeWin so that it shares more with the nativerogerta@chromium.org2011-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | theme support in linux and chromeos. This first change introduces a new common base class for all plaforms called NativeTheme, and NativeThemeWin now derives from it. NativeThemeWin will continue to support its "old" API while the transition to the new API is ongoing, so that each user of NativeThemeWin can be transitioned carefully. Once the windows support is complete, the linux and chromeos native themes will then derive from NativeTheme, and any references do the specific platform classes will be removed as needed. TEST=No user visible changes caused by this CL BUG=None R=xiyuan@chromium.org Review URL: http://codereview.chromium.org/6720046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80495 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80314 - Step 1 in refactoring NativeThemeWin so that it shares more ↵rogerta@chromium.org2011-04-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | with the native theme support in linux and chromeos. This first change introduces a new common base class for all plaforms called NativeTheme, and NativeThemeWin now derives from it. NativeThemeWin will continue to support its "old" API while the transition to the new API is ongoing, so that each user of NativeThemeWin can be transitioned carefully. Once the windows support is complete, the linux and chromeos native themes will then derive from NativeTheme, and any references do the specific platform classes will be removed as needed. TEST=No user visible changes caused by this CL BUG=None R=xiyuan@chromium.org Review URL: http://codereview.chromium.org/6728029 TBR=rogerta@chromium.org Review URL: http://codereview.chromium.org/6720022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80326 0039d316-1c4b-4281-b951-d872f2087c98
* Use ResourceBundle for NativeThemeLinux/Chromeos resource images.xiyuan@chromium.org2011-04-041-2/+0
| | | | | | | | | | | | | | | - Clean up gfx NativeThemeLinux/Chromeos code to use ResourceBundle. This should also fix valgrind failures in issue 77712 and 77721. - Remove no longer needed gfx_module and gfx_resource_provider files. - Update linux/chromeos test_shell and DumpRenderTree to use ResourceBundle as well. BUG=77712,77721 TEST=Build should pass and valgrind failure in issue 77712 and 77721 should be gone. Review URL: http://codereview.chromium.org/6773021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80319 0039d316-1c4b-4281-b951-d872f2087c98
* Step 1 in refactoring NativeThemeWin so that it shares more with the nativerogerta@chromium.org2011-04-041-0/+2
| | | | | | | | | | | | | | | | | | | | | theme support in linux and chromeos. This first change introduces a new common base class for all plaforms called NativeTheme, and NativeThemeWin now derives from it. NativeThemeWin will continue to support its "old" API while the transition to the new API is ongoing, so that each user of NativeThemeWin can be transitioned carefully. Once the windows support is complete, the linux and chromeos native themes will then derive from NativeTheme, and any references do the specific platform classes will be removed as needed. TEST=No user visible changes caused by this CL BUG=None R=xiyuan@chromium.org Review URL: http://codereview.chromium.org/6728029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80314 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: Move app/gfx/gl ==> ui/gfx/glbacker@chromium.org2011-03-281-2/+0
| | | | | | | | | | | This is the final patch in the sequence. Note that gl.gyp is introduced because dependency checking on the Mac is done on a per file (rather than per target) basis. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6722026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79599 0039d316-1c4b-4281-b951-d872f2087c98
* Move NativeThemeChromeOS into gfx.xiyuan@chromium.org2011-03-281-0/+6
| | | | | | | | | | | This should fix test_shell/DRT build on ChromeOS. BUG=chromium-os:13511 TEST=Verify test_shell/DRT builds fine on ChromeOS per chromium-os:13511. Review URL: http://codereview.chromium.org/6745009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79585 0039d316-1c4b-4281-b951-d872f2087c98
* Standardize grit invokesthomasvl@chromium.org2011-03-281-30/+6
| | | | | | | | | | | | | - Add two gypi files to src/build for the boilerplate added to targets and actions - Update grit_info to also support the -E flag so it can share more of the grit build commandline - switch over all but the webkit and webkit glue grd files to use the common support BUG=22247 TEST=everything still localized correctly Review URL: http://codereview.chromium.org/6705030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79548 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: Move gfx/compositor* to gfx/compositor/backer@chromium.org2011-03-231-15/+0
| | | | | | | | | | | compositor_gl.cc (in gfx) depends on app_base (for gl_bindings), but app_base depends on gfx. This gets rid of the cyclic dependency. It is part of the larger effort to move app/gfx/gl to ui/gfx/gl. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6718034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79127 0039d316-1c4b-4281-b951-d872f2087c98
* Have ui.gyp no longer depend on chrome.gyp in a webkit build.tony@chromium.org2011-03-221-2/+6
| | | | | | | | | | | | | In r78711, a dependency was added (well, moved from views.gyp) from ui.gyp to chrome.gyp. Make this dependency optional since we don't need to build ui_unittests in a webkit only checkout. Ideally, ui.gyp shouldn't depend on chrome.gyp, but I'm punting that for now. I filed http://crbug.com/77100 for this. Review URL: http://codereview.chromium.org/6725013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79064 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/app_switches to ui/gfx/gl/gl_switches.backer@chromium.org2011-03-211-0/+2
| | | | | | | | | | | | | This is in preparation of moving app/gfx/gl to ui/gfx/gl. All of the switches in app_switches are GL related. Removed many includes that were unnecessary. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6685089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78875 0039d316-1c4b-4281-b951-d872f2087c98
* Normalize the top-level ui/ module.rsesek@chromium.org2011-03-181-0/+216
This CL creates four .gypi files that are included in /ui/ui.gyp. This allows for a single unittest binary for all the submodules, rather than having individual unittest binaries for each submodule. To not break the buildbot, this creates a fake target that copies ui_unittests to gfx_unittests as temporary scaffolding. BUG=72317 TEST=gfx_unittests (really ui_unittests) passes Review URL: http://codereview.chromium.org/6688007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78711 0039d316-1c4b-4281-b951-d872f2087c98