summaryrefslogtreecommitdiffstats
path: root/ui/gfx/native_theme.h
Commit message (Collapse)AuthorAgeFilesLines
* Aura - Add NativeThemeAura, extract NativeThemeGtk, add sample widget window.jamescook@chromium.org2011-10-101-1/+3
| | | | | | | | | | | | | | | + Add native_theme_aura and native_theme_gtk, fix button background colors + Fix native_theme_chromeos instance generation + Rename button-related image resources + Rename class NativeThemeLinux to NativeThemeBase + Add window showing sample widgets BUG=98305 TEST=manual Review URL: http://codereview.chromium.org/8199021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104803 0039d316-1c4b-4281-b951-d872f2087c98
* Rename UI_API to UI_EXPORT.darin@chromium.org2011-08-061-2/+2
| | | | | | | R=rvargas@chromium.org Review URL: http://codereview.chromium.org/7569005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95730 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at removal of unneeded dependencies on skia\ext\platform_canvas.htwiz@google.com2011-08-021-1/+3
| | | | | | | | | | All 'low-hanging' platform_canvas.h dependencies have been removed, and replaced with skia-specific includes. BUG=None TEST=None Review URL: http://codereview.chromium.org/7517020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95083 0039d316-1c4b-4281-b951-d872f2087c98
* Larger Combo box Hit Targets for TOUCH_UIfsamuel@chromium.org2011-07-281-2/+0
| | | | | | | | | | | | | | | | | | This is a chromium patch of a two-sided chromium/webkit patch that enables larger hit targets in combo box popups for TOUCH_UI builds. This was originally under this issue: http://codereview.chromium.org/7465011/ The code was committed but the webkit interface changed, afterward so this patch addresses that change. The webkit patch can be found here: https://bugs.webkit.org/show_bug.cgi?id=64897 BUG=none TEST=manually Review URL: http://codereview.chromium.org/7477036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94455 0039d316-1c4b-4281-b951-d872f2087c98
* Dup of Issue 7465011: Larger Combo box Hit Targets for TOUCH_UIsaintlou@chromium.org2011-07-211-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7465015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93431 0039d316-1c4b-4281-b951-d872f2087c98
* revert r93279saintlou@chromium.org2011-07-201-2/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7467017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93283 0039d316-1c4b-4281-b951-d872f2087c98
* Dup of Issue 7465011: Larger Combo box Hit Targets for TOUCH_UIsaintlou@chromium.org2011-07-201-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7465012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93279 0039d316-1c4b-4281-b951-d872f2087c98
* Fix vertical range slider.rogerta@chromium.org2011-07-191-0/+1
| | | | | | | | | | | | | BUG=88017 TEST=Load a web page that should display a vertical slider and make sure it appears vertical and correctly instead of horizonatally. Note that the thumb part appears too far to the right; I have confirmed this on all platforms (win,linux,mac). Since bug was was about a windows specific rendering issue, I have opened another bug (89616) to keep track of the right offset. Review URL: http://codereview.chromium.org/7400024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92927 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ui.dll / libui.so for the component build.darin@chromium.org2011-07-171-1/+2
| | | | | | | R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98
* Makes rendering of selected disabled menu items match what windows does. As ↵sky@chromium.org2011-05-271-0/+6
| | | | | | | | | | | | well as disallowing opening disabled child menus by way of the keyboard. BUG=80837 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/7062031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87064 0039d316-1c4b-4281-b951-d872f2087c98
* Step 5 in native theme refactoringrogerta@chromium.org2011-04-271-15/+28
| | | | | | | | | | | | | | | | | | Moved all calls to new API. Kept PaintTextField() still available from the old API since there is one user of the method that is not in views::View specific code, and does not have access to gfx::Canvas and such. Also moved callers of GetThemePartSize() to the new GetPartSize() API. BUG=None TEST=Use the following URL to test all possible controls on web pages: http://www.corp.google.com/~rogerta/no_crawl/widgets_test.html All controls should look and before the same with and without my changes. Also, make sure the chrome UI has not been changed, for example the wrench menu. Review URL: http://codereview.chromium.org/6880107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83204 0039d316-1c4b-4281-b951-d872f2087c98
* step 4 of native theme refactoringrogerta@chromium.org2011-04-201-24/+48
| | | | | | | | | | | Moved all calls made by webthemeengine_impl_win.cc from the old api to the new api. BUG=None TEST=None Review URL: http://codereview.chromium.org/6873047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82296 0039d316-1c4b-4281-b951-d872f2087c98
* step 3 of native theme refactoringrogerta@chromium.org2011-04-121-0/+27
| | | | | | | | | | | | | | Moved all calls to old menu drawing api to new NativeTheme::Paint(). Moved all calls to old push/radio/check button api to new NativePaint::Paint(). BUG=None TEST=Affects windows platform only. All menus in chrome, such as wrench menu, should look and behave as before, with no change. All pushbuttons, radiobuttons, and checkbox in web page forms should look and behave as before. Review URL: http://codereview.chromium.org/6825007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81257 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate skia::PlatformCanvas - Step 1 (linux)alokp@chromium.org2011-04-111-5/+1
| | | | | | | Patch corresponding to r80955 on linux. Review URL: http://codereview.chromium.org/6813050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81099 0039d316-1c4b-4281-b951-d872f2087c98
* Step 2 in refactoring NativeThemeWinrogerta@chromium.org2011-04-071-1/+0
| | | | | | | | | | | | | | Making the linux and chromeos native theme classes derive from the new base class added earlier. BUG=None TEST=None R=xiyuan@chromium.org Review URL: http://codereview.chromium.org/6803022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80850 0039d316-1c4b-4281-b951-d872f2087c98
* Step 1 in refactoring NativeThemeWin so that it shares more with the nativerogerta@chromium.org2011-04-051-0/+164
| | | | | | | | | | | | | | | | | | | | | 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-164/+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
* Step 1 in refactoring NativeThemeWin so that it shares more with the nativerogerta@chromium.org2011-04-041-0/+164
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