summaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTKoshima@chromium.org2012-04-0521-74/+59
| | | | | | | | | | | Add gtk dependency to base.gyp for android host_os="linux" case BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9969080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130784 0039d316-1c4b-4281-b951-d872f2087c98
* Web Intents: Use action-specific strings for the picker.jhawkins@chromium.org2012-04-041-0/+1
| | | | | | | | | | | | Cocoa bits done by groby. BUG=113453 TEST=none R=binji Review URL: https://chromiumcodereview.appspot.com/9956136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130760 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for UIA accessibility interfaces like IAccessibleEx and ↵ananta@chromium.org2012-04-042-5/+106
| | | | | | | | | | | | | | | | | | IRawElementProviderSimple. This is required for the on screen keyboard to show up in Windows 8 metro. At this point we only implement the GetPatternProvider/GetPropertyValue methods in the IRawElementProviderSimple. interface and the rest of the methods in the interfaces are left unimplemented. The GetPatternProvider/GetPropertyValue only handle the case where the user touches an editable portion on the window/page. This ensures that the OSK shows up on the omnibox and the web page. The ITextProvider and IValueProvider implementation is provided by the UIATextProvider class which lives in base/win/accessibility_misc_utils.cc/.h files. BUG=118641 Review URL: https://chromiumcodereview.appspot.com/9958139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130744 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a TabContentsViewAura.ben@chromium.org2012-04-041-0/+5
| | | | | | | | | | | It is derived from TCVV/NTCVA. Right now, it's behind the flag --enable-tcva. http://crbug.com/118410 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130442 Review URL: https://chromiumcodereview.appspot.com/9963079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130704 0039d316-1c4b-4281-b951-d872f2087c98
* views: Get rid of WidgetDelegate::ShouldShowClientEdge().tfarina@chromium.org2012-04-044-25/+13
| | | | | | | | | | This always returns true and nobody is overriding it. So this patch removes it altogether. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9965090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130651 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Fix minimize button art for panelsjamescook@chromium.org2012-04-044-0/+3
| | | | | | | | | | | | Add art assets and use them for frames with behavior SIZE_BUTTON_MINIMIZES. BUG=121915 TEST=visual R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9979010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130650 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land: Use a common font baseline in RenderText classes.asvitkine@chromium.org2012-04-046-15/+27
| | | | | | | | | | | | | | | This ensures the text in different runs gets aligned along a common bottom baseline and that the correct font's baseline gets used in case of font fallback. Original CL: http://codereview.chromium.org/9968040/ BUG=105550 TEST=none TBR=msw Review URL: https://chromiumcodereview.appspot.com/9982001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130618 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 130447 - Use a common font baseline in RenderText classes.dbeam@chromium.org2012-04-046-27/+17
| | | | | | | | | | | | | | | | | This ensures the text in different runs gets aligned along a common bottom baseline and that the correct font's baseline gets used in case of font fallback. Also, uses the correct height when centering text. BUG=105550 TEST=none Review URL: https://chromiumcodereview.appspot.com/9968040 TBR=asvitkine@chromium.org Review URL: https://chromiumcodereview.appspot.com/9965140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130562 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce the use of a root windowcpu@chromium.org2012-04-041-8/+32
| | | | | | | | | | | | | | | So for metro we need to have a specific root window, so we need to enforce it. We know we are in metro because of the metro_driver dll being loaded (it was loaded by chrome.exe) I also removed your last change. I assume that you gathered enough data by now. BUG=118641 TES=chrome runs Review URL: https://chromiumcodereview.appspot.com/9965094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130540 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix.zmo@chromium.org2012-04-041-0/+4
| | | | | | | | | | | Add getShaderPrecisionFormat to the test class. BUG= TEST=tree TBR=gman Review URL: https://chromiumcodereview.appspot.com/9959133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130517 0039d316-1c4b-4281-b951-d872f2087c98
* Fix drag&drop not working in the bookmark manager after the ↵jam@chromium.org2012-04-035-14/+82
| | | | | | | | | TabContentsViewWin switchover. BUG=118715 Review URL: https://chromiumcodereview.appspot.com/9963114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130503 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Update toolbar and text button assetsjamescook@chromium.org2012-04-0324-0/+0
| | | | | | | | | | | | Pure asset drop, no code changes BUG=121761 TEST=visual TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9963125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130501 0039d316-1c4b-4281-b951-d872f2087c98
* desktop_activation_client: fix typomsb@chromium.org2012-04-031-1/+1
| | | | | | | | | | | | | BUG=none TEST=This change allows the code to compile. Change-Id: Idd9d457fabb89249142b8f7c2006db2dad2651db R=erg@chromium.org,sky@chromium.org,ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9950077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130495 0039d316-1c4b-4281-b951-d872f2087c98
* Fix dragged bookmark painting under Aura.saintlou@chromium.org2012-04-031-2/+4
| | | | | | | | | | | | | | Pass gfx::Canvas::NO_SUBPIXEL_RENDERING when drawing these, since subpixel rendering (which is normally on) does not work if the drawing destination is transparent. BUG=121651 TEST=Drag a bookmark from within a folder in the BMB. The bookmark text should not have rendering artifacts. Review URL: https://chromiumcodereview.appspot.com/9950111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130476 0039d316-1c4b-4281-b951-d872f2087c98
* ui/base/range: Fix the header include guard of range.h since it moved from gfx/.tfarina@chromium.org2012-04-031-3/+4
| | | | | | | | | R=rsesek@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9958133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130473 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Update window size and close button assetsjamescook@chromium.org2012-04-0336-6/+10
| | | | | | | | | | | | | | * New assets are designed to overlap by one pixel in order to make the hover state look nice, so updated layout code slightly. * We now have a custom "hot" state for the size button, so don't recycle the snap state. * Renamed "window_maximized_restore_snap_*" because they aren't actually used for maximized windows. BUG=120807 TEST=visual R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9968085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130460 0039d316-1c4b-4281-b951-d872f2087c98
* aura-x11: Add custom web cursor support.sadrul@chromium.org2012-04-0318-137/+396
| | | | | | | | | BUG=102562 TEST=manually (using sites that use custom cursor, e.g.: http://beradrian.users.sourceforge.net/articles/cursor.html) Review URL: https://chromiumcodereview.appspot.com/9463003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130456 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 130442 - Adds a TabContentsViewAura.sergeyu@chromium.org2012-04-031-5/+0
| | | | | | | | | | | | | It is derived from TCVV/NTCVA. Right now, it's behind the flag --enable-tcva. http://crbug.com/118410 TEST=none Review URL: https://chromiumcodereview.appspot.com/9963079 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9959119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130455 0039d316-1c4b-4281-b951-d872f2087c98
* Make RenderTextWin::GetStringSize() return a non-zero height if the text is ↵asvitkine@chromium.org2012-04-032-20/+34
| | | | | | | | | | | | | | | | empty. This makes it match the RenderTextLinux behavior and is needed for my upcoming change to make canvas_skia.cc use GetStringSize(). Also, some cleanups to RenderTextWin: - Don't need to check runs_.size() > 0 in LayoutVisualText() (adds a DCHECK() instead). - Change loop from iterator to index for cleaner, more consistent code with the rest of the file. BUG=105550 TEST=New RenderTextTest.StringSizeHeightEmpty test. Review URL: https://chromiumcodereview.appspot.com/9969100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130452 0039d316-1c4b-4281-b951-d872f2087c98
* Change SingletonHwnd to be based on WindowImpl.asvitkine@chromium.org2012-04-033-55/+21
| | | | | | | | | | | | | | | | | This removes the need for some Windows plumbing in SingletonHwnd and fixes an issue where a WndProc message would be getting sent after the Singleton destruction, which was being triggered in ui_tests. WindowImpl is robust against the above issue because it stores a pointer to itself in the window user data and clears it when it is destroyed. BUG=105550 TEST=Running ui_tests with use_canvas_skia=1 on Windows shouldn't crash. Review URL: https://chromiumcodereview.appspot.com/9965082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130448 0039d316-1c4b-4281-b951-d872f2087c98
* Use a common font baseline in RenderText classes.asvitkine@chromium.org2012-04-036-17/+27
| | | | | | | | | | | | | | This ensures the text in different runs gets aligned along a common bottom baseline and that the correct font's baseline gets used in case of font fallback. Also, uses the correct height when centering text. BUG=105550 TEST=none Review URL: https://chromiumcodereview.appspot.com/9968040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130447 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a TabContentsViewAura.ben@chromium.org2012-04-031-0/+5
| | | | | | | | | | It is derived from TCVV/NTCVA. Right now, it's behind the flag --enable-tcva. http://crbug.com/118410 TEST=none Review URL: https://chromiumcodereview.appspot.com/9963079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130442 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 130248 - Add full support for filesystem URLs. Trying to get the ↵apavlov@chromium.org2012-04-031-2/+2
| | | | | | | | | | build into the right state. TBR=pfeldman Review URL: https://chromiumcodereview.appspot.com/9956101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130363 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some grammar in comments, error messages and documentation.gavinp@chromium.org2012-04-038-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to all my reviewers, you are legion. I hope I didn't waste too much of your time. BUG=None Review URL: http://codereview.chromium.org/9854039 Review URL: http://codereview.chromium.org/9854043 Review URL: http://codereview.chromium.org/9863058 Review URL: http://codereview.chromium.org/9863059 Review URL: http://codereview.chromium.org/9887005 Review URL: http://codereview.chromium.org/9890002 Review URL: http://codereview.chromium.org/9891002 Review URL: http://codereview.chromium.org/9895003 Review URL: http://codereview.chromium.org/9896002 Review URL: http://codereview.chromium.org/9896003 Review URL: http://codereview.chromium.org/9897002 Review URL: http://codereview.chromium.org/9897003 Review URL: http://codereview.chromium.org/9903004 Review URL: http://codereview.chromium.org/9904003 Review URL: http://codereview.chromium.org/9904002 Review URL: http://codereview.chromium.org/9904004 Review URL: http://codereview.chromium.org/9906002 Review URL: http://codereview.chromium.org/9906001 Review URL: http://codereview.chromium.org/9906003 Review URL: http://codereview.chromium.org/9909001 Review URL: http://codereview.chromium.org/9909002 Review URL: http://codereview.chromium.org/9909003 Review URL: http://codereview.chromium.org/9909004 Review URL: http://codereview.chromium.org/9910001 Review URL: http://codereview.chromium.org/9910002 Review URL: http://codereview.chromium.org/9910010 Review URL: http://codereview.chromium.org/9911001 Review URL: http://codereview.chromium.org/9912001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130359 0039d316-1c4b-4281-b951-d872f2087c98
* Use RAII for write libpng structs.francoisk777@gmail.com2012-04-031-4/+22
| | | | | | | | | | | | | Previously RAII was only being used for read libpng structs. These changes were split from the patch at http://codereview.chromium.org/9496004 TEST=--gtest_filter=PNGCodec* Review URL: http://codereview.chromium.org/9959061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130358 0039d316-1c4b-4281-b951-d872f2087c98
* * removed views debug paint that was used in NativeWidgetGtk.oshima@chromium.org2012-04-0312-57/+19
| | | | | | | | | | | | | This may be useful on aura, but should probably be in layer/compositor code * removed unnecessary ifdef that were for linux+views+non aura. * updated gtk related descriptions BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9968058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130327 0039d316-1c4b-4281-b951-d872f2087c98
* Changes menu to use area instead of work area if the bounds passed insky@chromium.org2012-04-031-0/+10
| | | | | | | | | | | | | overlap the work area. BUG=120827 TEST=see bug R=oshima@chromium.org Review URL: http://codereview.chromium.org/9963085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130325 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the close button for Windows native windows with the standard frame ↵jeremya@chromium.org2012-04-032-13/+18
| | | | | | | | | | | | removed. BUG=none TEST=none Review URL: http://codereview.chromium.org/9372053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130323 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds pepper flash fullscreen support on Mac.sail@chromium.org2012-04-037-2/+252
| | | | | | | | | | | | | | | | | | | | | | | Pepper has two fullscreen APIs: src/ppapi/cpp/fullscreen.h pp::FullScreen::SetFullscreen() src/ppapi/cpp/private/flash_fullscreen.h pp::FlashFullScreen::SetFullscreen() The first fullscreen API simply causes the browser window to enter fullscreen as normal. This means that the menu bar and tab strip is auto-shown when the mouse is moved to the top of the screen. This feature is already working on the Mac and this CL doesn't change anything with respect to that API. The second fullscreen API creates a new web content that is hosted in its own window. To keep the architecture similar to the Windows and Linux implementation I decided not to host the web content inside a browser window. Instead I'm using a custom borderless window that's similar to windows that NPAPI plugins use today. The chrome browser fullscreen window has three interesting functionality: 1. allow OpenGL surface under the window to be visible to the user 2. Setup the background color for the tab strip / toolbar drawing 3. Auto-show the menu bar / tab strip when the mouse is at the top of the screen Of these the flash fullscreen window only needs the first. For this reason I factored out that functionality into a new common base class, UnderlayOpenGLHostingWindow. BUG= TEST=call pp::FlashFullscreen::SetFullscreen(true). Verify that the plugin goes fullscreen. Review URL: http://codereview.chromium.org/9838071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130311 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 130248 - Add full support for filesystem URLs.sergeyu@chromium.org2012-04-031-2/+2
| | | | | | | | | | | | | | BUG=114484 TEST=existing filesystem tests don't break Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128753 Review URL: https://chromiumcodereview.appspot.com/7811006 TBR=ericu@google.com Review URL: https://chromiumcodereview.appspot.com/9950079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130293 0039d316-1c4b-4281-b951-d872f2087c98
* views: Improve a constant name to make it more clearer and improve ↵tfarina@chromium.org2012-04-021-10/+12
| | | | | | | | | | | | | | LayoutTitleBar(). This patch also check if window_icon_ is NULL in UpdateWindowIcon(), because there is a possibility of window_icon_ being NULL. This protect us from crashing. TEST=views_unittests R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9959047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130259 0039d316-1c4b-4281-b951-d872f2087c98
* Add full support for filesystem URLs.ericu@google.com2012-04-021-2/+2
| | | | | | | | | | | BUG=114484 TEST=existing filesystem tests don't break Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128753 Review URL: https://chromiumcodereview.appspot.com/7811006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130248 0039d316-1c4b-4281-b951-d872f2087c98
* ui/base: Clean up our AcceleratorGtk class.tfarina@chromium.org2012-04-025-36/+67
| | | | | | | | | | | | Currently this class is fully implemented in the header file, and this have annoyed me for a long time. Most of our class implementations reside in source files, so this patch fix this now. And this also makes it easier to read. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9965049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130236 0039d316-1c4b-4281-b951-d872f2087c98
* OWNERS file for ui/base/cocoasail@chromium.org2012-04-021-0/+3
| | | | | | | | | | | | Seeded with the last cocoa people to touch this code. BUG= TEST= Review URL: http://codereview.chromium.org/9963069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130212 0039d316-1c4b-4281-b951-d872f2087c98
* views: Add coverage of other keys on the keyboard to the combobox unittest.tfarina@chromium.org2012-04-023-9/+13
| | | | | | | | | TEST=views_unittests --gtest_filter=NativeComboboxViewsTest.KeyTest R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9968027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130168 0039d316-1c4b-4281-b951-d872f2087c98
* Added RTF support to the clipboard.raymes@chromium.org2012-04-0212-29/+194
| | | | | | | | | | | | This is needed for pepper flash. The pepper integration will come as a separate CL. BUG=120435 TEST=out/Debug/ui_unittests --gtest_filter=*Clipboard* Review URL: http://codereview.chromium.org/9860040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130161 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Pixmap leakoshima@chromium.org2012-04-021-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9959043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130148 0039d316-1c4b-4281-b951-d872f2087c98
* Add some basic unit tests for gfx::Canvas.asvitkine@chromium.org2012-04-022-0/+38
| | | | | | | | | BUG=105550 TEST=This is one. Review URL: http://codereview.chromium.org/9968017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130145 0039d316-1c4b-4281-b951-d872f2087c98
* Long Press shouldn't fire instantly.tdresser@chromium.org2012-04-021-2/+2
| | | | | | | | | | | | Fix for regression introduced in 129649. BUG=None TEST=None Review URL: http://codereview.chromium.org/9923021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130132 0039d316-1c4b-4281-b951-d872f2087c98
* Attempted fix for crash. We're crashing because CreateWindow issky@chromium.org2012-03-311-0/+3
| | | | | | | | | | | | | | | | | returning NULL. This could happen for a number of reasons. The old parent for TabContentsViewWin explicitly ignored WM_CLOSE, in case some random program tries to close it. I'm adding that to TempParent in hopes it'll fix the problem. Additionally I'm adding a CHECK to WindowImpl to verify no one is trying to create a WS_CHILD window with a bogus parent. BUG=121084 TEST=none R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/9963037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130065 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Remap Command on Apple keyboards to Control [2/2]derat@chromium.org2012-03-311-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is yusukes's http://codereview.chromium.org/9854025/ with my review comments applied. chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc: * Every time when a new device is added, notify the name of the device to KeyRewriter. * Listens to XI_KeyPress and XI_KeyRelease events to the X root window, and notify the device ID of the event to KeyRewriter so that the rewriter could know the source of the next KeyPress/KeyRelease Core event. Note that it's not possible to monitor both XI_KeyPress and core KeyPress events for a single X window. For example, if we monitor XI_KeyPress events in aura::RootWindowHostLinux (by calling XISelectEvents() for the root Aura window, xwindow_), it becomes impossible to receive KeyPress core events for |xwindow_| in RootWindowHostLinux. It's also impossible to convert XI_KeyPress into core KeyPress. That is the reason why xinput_hierarchy_changed_event_listener.cc is used to monitor XI_KeyPress/Release events. chrome/browser/ui/views/ash/key_rewriter.cc: * Rewrites Command key press on an Apple keyboard to Control key press, regardless of the user preference for remapping modifier keys. Part 1 of 2 (Ash part): http://codereview.chromium.org/9838010/ BUG=121012 TEST=manual TBR=sky Review URL: http://codereview.chromium.org/9963027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130037 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Add RootWindowObserver::OnKeyboardMappingChanged().derat@chromium.org2012-03-315-3/+28
| | | | | | | | | | | | | | This gives us a way to watch for changes to the keyboard map. I also noticed that we were dropping MappingNotify events since they don't have an associated window; with this change, we now send them to all of the dispatchers instead. BUG=121012 TEST=manual: checked that observer method is called when i run xmodmap Review URL: https://chromiumcodereview.appspot.com/9958036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130009 0039d316-1c4b-4281-b951-d872f2087c98
* Ash/aura split: Get views_examples_exe semi-running on linux/X11.erg@chromium.org2012-03-3014-4/+581
| | | | | | | | | | | This adds tons of hacks, most of which should be clearly labeled with TODOs. BUG=119759 TEST= Review URL: http://codereview.chromium.org/9873035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129990 0039d316-1c4b-4281-b951-d872f2087c98
* views: Rename ComboboxListener::ItemChanged to something more accurate.tfarina@chromium.org2012-03-3011-56/+40
| | | | | | | | R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9965017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129936 0039d316-1c4b-4281-b951-d872f2087c98
* Don't set single monitor manager under multi monitor environment.oshima@chromium.org2012-03-307-13/+20
| | | | | | | | | BUG=28581 TEST=none Review URL: https://chromiumcodereview.appspot.com/9923027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129867 0039d316-1c4b-4281-b951-d872f2087c98
* views: Fix memory leak in NativeThemeButtonExample.tfarina@chromium.org2012-03-302-11/+17
| | | | | | | | R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9945001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129858 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issues in RenderTextWin where font style and sizes may not be getting ↵asvitkine@chromium.org2012-03-302-6/+46
| | | | | | | | | | | | | | applied. This CL ensures that any substitute font that is picked has the correct style and size for the purposes of the Uniscribe API calls. The calls to DeriveFont() are not so bad in this CL, due to my optimization of DeriveFont() in http://crrev.com/129533. BUG=105550 TEST=New RenderText unit test and enabled an existing test on Windows. Review URL: https://chromiumcodereview.appspot.com/9802045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129839 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid resetting the RenderText layout on SetDisplayRect() except when the ↵asvitkine@chromium.org2012-03-301-1/+2
| | | | | | | | | | | width changes. BUG=105550 TEST=existing unit tests Review URL: http://codereview.chromium.org/9923011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129794 0039d316-1c4b-4281-b951-d872f2087c98
* Move GetPangoFontMetrics() to pango_util.cc.asvitkine@chromium.org2012-03-303-30/+33
| | | | | | | | | | | This is so that it can be used by RenderTextLinux. BUG=105550 TEST=none Review URL: http://codereview.chromium.org/9921020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129789 0039d316-1c4b-4281-b951-d872f2087c98
* Set X window title for Aura root windowssaintlou@chromium.org2012-03-301-0/+8
| | | | | | | | | | | | | | Set X window title for Aura root window. This is part of a workaround for a gtalk issue in screensharing the desktop on some ChromeOS devices. BUG=120229 TEST='xwininfo -root -tree' on ChromeOS, ensure window title is aura_root_0 TEST=Run Aura on Linux, notice the window title is aura_root_0 Review URL: https://chromiumcodereview.appspot.com/9911022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129748 0039d316-1c4b-4281-b951-d872f2087c98