summaryrefslogtreecommitdiffstats
path: root/ui/gfx/native_theme_base.cc
Commit message (Collapse)AuthorAgeFilesLines
* ui: Move NativeTheme files into ui/base/native_theme/ directory.tfarina@chromium.org2012-05-151-973/+0
| | | | | | | | | | | | BUG=103304,125844 R=ben@chromium.org TBR=tony@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136996 Review URL: https://chromiumcodereview.appspot.com/10310136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137056 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 136996 - ui: Move NativeTheme files into ui/base/native_theme/ directory.tfarina@chromium.org2012-05-141-0/+973
| | | | | | | | | | | | | BUG=103304,125844 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10310136 TBR=tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/10387121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137003 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move NativeTheme files into ui/base/native_theme/ directory.tfarina@chromium.org2012-05-141-973/+0
| | | | | | | | | | BUG=103304,125844 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10310136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136996 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where button borders are not always painted in high DPI mode.pkotwicz@chromium.org2012-04-231-22/+9
| | | | | | | | | BUG=116553 TEST=Manual Review URL: http://codereview.chromium.org/10107019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133459 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Update scrollbar theme.derat@chromium.org2012-03-241-6/+8
| | | | | | | | | | BUG=105894 TEST=manual TBR=sky Review URL: https://chromiumcodereview.appspot.com/9837072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128647 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Drop unused args from PaintMenuBackgroundColor() and pass gfx::Size ↵tfarina@chromium.org2012-03-011-6/+3
| | | | | | | | | | | | | | instead of gfx::Rect. This is a follow up patch to address the comments from: http://codereview.chromium.org/9544001/diff/2007/ui/gfx/native_theme_chromeos.cc#newcode662 R=pkasting@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9565021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124493 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Let skia do the conversion work for us by using the integer version of ↵tfarina@chromium.org2012-03-011-16/+9
| | | | | | | | | | | set() function. R=pkasting@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9544001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124416 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out NativeThemeBase::PaintMenuPopupBackground color into a constant.tfarina@chromium.org2012-02-141-1/+3
| | | | | | | | R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9360050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121938 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Delete two misleading comments about COLOR_TOOLBAR.tfarina@chromium.org2012-02-141-3/+1
| | | | | | | | | | | The colors passed in are not the same as the COLOR_TOOLBAR from chrome ThemeService. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9382007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121904 0039d316-1c4b-4281-b951-d872f2087c98
* Factor more colors into NativeTheme.saintlou@chromium.org2012-01-111-27/+0
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9101004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117245 0039d316-1c4b-4281-b951-d872f2087c98
* Revert to views-based bookmark editor dialog now we have a tree control.beng@google.com2012-01-101-1/+5
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9127016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117038 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 116894 - Factor more colors into NativeTheme.dbeam@chromium.org2012-01-091-0/+23
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9101004 TBR=saintlou@chromium.org Review URL: http://codereview.chromium.org/9151011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116906 0039d316-1c4b-4281-b951-d872f2087c98
* Factor more colors into NativeTheme.saintlou@chromium.org2012-01-091-23/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9101004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116894 0039d316-1c4b-4281-b951-d872f2087c98
* Greatly improve the look of the input text but modernizing the border.saintlou@chromium.org2012-01-051-1/+7
| | | | | | | | | | | | This also improves the look of the dropdown box (which is far from being polished). BUG=105804,100663 TEST=none Review URL: http://codereview.chromium.org/9114001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116586 0039d316-1c4b-4281-b951-d872f2087c98
* Reorder methods in native_theme_{base,chromeos,win}.cc to match .h order.benrg@chromium.org2011-11-281-151/+151
| | | | | | | | | | | | | | | Also moved some static constants and functions into the anonymous namespaces, and marked a couple of static locals as const (because they are, and non-const static locals make me nervous). NativeThemeWin is kind of a mess. I kept the public overload of PaintTextField next to the private overload because I think it probably should be private. The file length decreased by one line because I removed a blank line. BUG=none TEST=none Review URL: http://codereview.chromium.org/8679010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111754 0039d316-1c4b-4281-b951-d872f2087c98
* More TOUCH_UI hacks and constant removal. And TODO(saintlou) cleanup.saintlou@chromium.org2011-11-231-4/+0
| | | | | | | | | | BUG=105046 TEST=none Review URL: http://codereview.chromium.org/8669002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111291 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new GetSystemColor method to native theme.benrg@chromium.org2011-11-231-0/+21
| | | | | | | | | | | | | | | Currently it only knows about the dialog box background color. The intent is to add other colors, such as the text highlighting color (issue 100229). This CL also fixes issue 104229 by returning an opaque color on Aura. BUG=104229 TEST=none Review URL: http://codereview.chromium.org/8597015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111268 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Use same views menu setup on win_aura and linux_aurajamescook@chromium.org2011-10-181-36/+101
| | | | | | | | | | | Resolves some TODOs I added in menu_config_win.cc and menu_item_view_win.cc, and harmonizes our menu rendering code between windows and linux Aura. BUG=100586 TEST=manual Review URL: http://codereview.chromium.org/8302017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106068 0039d316-1c4b-4281-b951-d872f2087c98
* Aura - Fix for win_aura views_unittests in menu_configjamescook@chromium.org2011-10-111-0/+9
| | | | | | | | | | | Add some UI part sizes to native_theme_base that previously only existed on Windows. BUG=none TEST=views_unittests Review URL: http://codereview.chromium.org/8234005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104947 0039d316-1c4b-4281-b951-d872f2087c98
* Aura - Add NativeThemeAura, extract NativeThemeGtk, add sample widget window.jamescook@chromium.org2011-10-101-0/+920
+ 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