summaryrefslogtreecommitdiffstats
path: root/views
Commit message (Collapse)AuthorAgeFilesLines
* views: Move views.gyp to ui/views/.tfarina@chromium.org2011-12-014-772/+0
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8770010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112561 0039d316-1c4b-4281-b951-d872f2087c98
* Reland change for aura tooltips that was revert due to build break:varunjain@chromium.org2011-12-011-2/+5
| | | | | | | | | | | | http://codereview.chromium.org/8747022 BUG=97249 TEST=none Review URL: http://codereview.chromium.org/8769011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112535 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move the remaining file from views/ to ui/views/.tfarina@chromium.org2011-12-0124-1905/+22
| | | | | | | | | | BUG=104039 R=ben@chromium.org TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8771006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112469 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 112399 - Aura: Tooltip refactor. This Cl does the following:hbono@chromium.org2011-12-011-4/+2
| | | | | | | | | | | | | | | | | * Add tooltip functionality to aura_shell that can be access through aura client API * Provide an implementation of views::TooltipManager for aura (TooltipManagerAura) that views can use to display/update tooltips in aura * Remove the no longer needed TooltipManagerViews. BUG=97249 TEST=none Review URL: http://codereview.chromium.org/8747022 TBR=varunjain@chromium.org Review URL: http://codereview.chromium.org/8758020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112410 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Tooltip refactor. This Cl does the following:varunjain@chromium.org2011-12-011-2/+4
| | | | | | | | | | | | | | * Add tooltip functionality to aura_shell that can be access through aura client API * Provide an implementation of views::TooltipManager for aura (TooltipManagerAura) that views can use to display/update tooltips in aura * Remove the no longer needed TooltipManagerViews. BUG=97249 TEST=none Review URL: http://codereview.chromium.org/8747022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112399 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move view.h to ui/views/.tfarina@chromium.org2011-11-3012-6692/+11
| | | | | | | | | | BUG=104039 R=ben@chromium.org TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8742030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112333 0039d316-1c4b-4281-b951-d872f2087c98
* Move border_contents_unittest.cc to ui/views/bubble/.msw@google.com2011-11-301-0/+1
| | | | | | | | | BUG=97248 TEST=none Review URL: http://codereview.chromium.org/8754003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112326 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move some random files from views/ to ui/views/.tfarina@chromium.org2011-11-3018-952/+19
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8735009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112208 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move the remaining files to ui/views/controls/.tfarina@chromium.org2011-11-2930-4055/+32
| | | | | | | | | | BUG=104039 R=ben@chromium.org TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8687031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112014 0039d316-1c4b-4281-b951-d872f2087c98
* jGet the examples to run in aura_shell.ben@chromium.org2011-11-291-18/+61
| | | | | | | | | | | | | | . Reorganizes views_examples target into two: views_examples_lib (a component) and views_examples_exe (a runner in views, which builds in Aura but does not run without crashing due to lack of desktop environment). . Refactors ExamplesMain into ExamplesWindowContents, a contents view that hosts the examples UI. Makes a publicly exported function from views examples to show a window containing this view. . Moves the examples into the views namespace. . Adds a button to launch the ExamplesWindow inside aura_shell. . Adds a NativeTabbedPaneViews to host the examples content. This is not a production class and is mostly just intended to get something onto the screen. The code is copy-pasta from NativeTabbedPaneWin. I imagine we can get rid of all of this once we stop using TabbedPanes in Chrome. http://crbug.com/105622 TEST=none Review URL: http://codereview.chromium.org/8687013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111954 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move label and link files to ui/views/controls/.tfarina@chromium.org2011-11-299-1914/+9
| | | | | | | | | | BUG=104039 R=ben@chromium.org TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8729013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111917 0039d316-1c4b-4281-b951-d872f2087c98
* Have content/ create and destroy its own threads. (Re-land)joi@chromium.org2011-11-281-0/+1
| | | | | | | | | | | | | | | | | | | Change embedding API and embedders to allow for this. Push inheritance of base::Thread down to content::BrowserThreadImpl so that content::BrowserThread is just a namespace for API functions. This change temporarily disables chrome_frame_net_tests as agreed by the CF lead, see bug 105435. TBR=ben@chromium.org (IWYU change only) BUG=98716,104578,105435 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111695 Reverted (problems on official bot): r111698 Review URL: http://codereview.chromium.org/8477004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111705 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move menu directory to ui/views/controls/.tfarina@chromium.org2011-11-2856-10946/+61
| | | | | | | | | | BUG=104039 R=maruel@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8718004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111701 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111695 - Have content/ create and destroy its own threads.joi@chromium.org2011-11-281-1/+0
| | | | | | | | | | | | | | | | | | | | | Reason: Problems on official builders. Change embedding API and embedders to allow for this. Push inheritance of base::Thread down to content::BrowserThreadImpl so that content::BrowserThread is just a namespace for API functions. This change temporarily disables chrome_frame_net_tests as agreed by the CF lead, see bug 105435. TBR=ben@chromium.org (IWYU change only) BUG=98716,104578,105435 Review URL: http://codereview.chromium.org/8477004 TBR=joi@chromium.org Review URL: http://codereview.chromium.org/8718012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111698 0039d316-1c4b-4281-b951-d872f2087c98
* Have content/ create and destroy its own threads.joi@chromium.org2011-11-281-0/+1
| | | | | | | | | | | | | | | | Change embedding API and embedders to allow for this. Push inheritance of base::Thread down to content::BrowserThreadImpl so that content::BrowserThread is just a namespace for API functions. This change temporarily disables chrome_frame_net_tests as agreed by the CF lead, see bug 105435. TBR=ben@chromium.org (IWYU change only) BUG=98716,104578,105435 Review URL: http://codereview.chromium.org/8477004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111695 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move button directory to ui/views/controls/.tfarina@chromium.org2011-11-2826-3163/+27
| | | | | | | | | | BUG=104039 R=maruel@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8716001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111669 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move textfield directory to ui/views/controls/.tfarina@chromium.org2011-11-2722-8878/+20
| | | | | | | | | | BUG=104039 R=maruel@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8713004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111660 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move scrollbar and native directories to ui/views/controls/.tfarina@chromium.org2011-11-2738-4275/+41
| | | | | | | | | | BUG=104039 R=maruel@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8658010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111655 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move tabbed_pane directory to ui/views/controls/.tfarina@chromium.org2011-11-2510-1293/+12
| | | | | | | | | | BUG=104039 R=maruel@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8658009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111612 0039d316-1c4b-4281-b951-d872f2087c98
* Move accelerator related files to ui/base/acceleratorstfarina@chromium.org2011-11-257-7/+7
| | | | | | | | | BUG=104599 R=mazda@chromium.org Review URL: http://codereview.chromium.org/8695005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111597 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move combobox directory to ui/views/controls/.tfarina@chromium.org2011-11-2413-1578/+13
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8682011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111478 0039d316-1c4b-4281-b951-d872f2087c98
* Fix many* python scripts in src/maruel@chromium.org2011-11-231-2/+1
| | | | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. * Do not fix them all at once otherwise the CL would be too large. TBR=jamiewalch@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8665013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111427 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to views/.avi@chromium.org2011-11-2316-78/+105
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8647002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111368 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move table and tree directories to ui/views/controls/.tfarina@chromium.org2011-11-2316-6547/+81
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8655001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111299 0039d316-1c4b-4281-b951-d872f2087c98
* More TOUCH_UI hacks and constant removal. And TODO(saintlou) cleanup.saintlou@chromium.org2011-11-231-1/+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
* Removing touchui variable from views/views.gypsaintlou@chromium.org2011-11-231-29/+1
| | | | | | | | | | BUG=105046 TEST=none Review URL: http://codereview.chromium.org/8657001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111286 0039d316-1c4b-4281-b951-d872f2087c98
* Remove remaining defined(TOUCH_UI) under views/controlssaintlou@chromium.org2011-11-232-31/+2
| | | | | | | | | | BUG=105046 TEST=none Review URL: http://codereview.chromium.org/8651006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111272 0039d316-1c4b-4281-b951-d872f2087c98
* Enable FocusManager tests for Aura.ben@chromium.org2011-11-221-1/+4
| | | | | | | | | | | | - Now building the file! - Disable some tests that only work on Windows. - Remove some dead Gtk code. http://crbug.com/102572 TEST=unittests Review URL: http://codereview.chromium.org/8642002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111220 0039d316-1c4b-4281-b951-d872f2087c98
* Redo of Issue http://codereview.chromium.org/8621006/saintlou@chromium.org2011-11-2212-209/+2
| | | | | | | | | | | | | Removed most obvious TOUCH_UI tests. Either obvious because we have USE_AURA | TOUCH_UI or because it is in a GTK module. This CL focuses mainly on Views cleanup. BUG=105046 TEST=none Review URL: http://codereview.chromium.org/8632016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111204 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes comment as TOUCH_UI does not exist anymorepkotwicz@chromium.org2011-11-221-2/+1
| | | | | | | | | BUG=105046 Review URL: http://codereview.chromium.org/8635010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111175 0039d316-1c4b-4281-b951-d872f2087c98
* s/Move/Stack/ in names of stacking-related methods.derat@chromium.org2011-11-221-1/+1
| | | | | | | | | | | | | This renames methods in aura::Window, views::Widget, and gfx::Layer. "MoveAbove" becomes "StackAbove" and "MoveToFront" becomes "StackAtTop". BUG=none TEST=built it Review URL: http://codereview.chromium.org/8620002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111168 0039d316-1c4b-4281-b951-d872f2087c98
* views: Factor out Listener from Combobox into its own header file.tfarina@chromium.org2011-11-224-14/+35
| | | | | | | | R=sky@chromium.org Review URL: http://codereview.chromium.org/8607001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111165 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of Widget::ConvertPointFromAncestor.ben@chromium.org2011-11-222-70/+40
| | | | | | | | | | | | We don't need it now that NativeWidgetViews is dead. Also simplify View::ConvertPointToView() to look (mostly) like Layer::ConvertPointToLayer(). http://crbug.com/102573 TEST=existing unittests Review URL: http://codereview.chromium.org/8620008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111108 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move widget/ directory to ui/views.tfarina@chromium.org2011-11-22101-14455/+131
| | | | | | | | | | | BUG=104039 R=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110949 Review URL: http://codereview.chromium.org/8598031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111077 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TOUCH_UI definition and make use_virtual_keyboard an independant ↵saintlou@chromium.org2011-11-221-1/+0
| | | | | | | | | | | | variable. BUG=105046 TEST=none Review URL: http://codereview.chromium.org/8527025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111069 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Draw drop shadows under browsers and menus.derat@chromium.org2011-11-211-0/+6
| | | | | | | | | | | | | | | | This is largely a port of the existing X window manager's code for drawing shadows around windows. It adds an ImageGrid class for drawing a scaled 3x3 grid of gfx::Images and a Shadow class (managed by aura_shell::ShadowController) that uses ImageGrid to draw a shadow. Shadows can be disabled via --aura-no-shadows. BUG=101977 TEST=added unit tests; also manually checked that shadows get drawn Review URL: http://codereview.chromium.org/8555025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111009 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "views: Move widget/ directory to ui/views." properly.wez@chromium.org2011-11-2150-0/+14318
| | | | | | Review URL: http://codereview.chromium.org/8562003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110960 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110949 - views: Move widget/ directory to ui/views.wez@chromium.org2011-11-2151-133/+132
| | | | | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8598031 TBR=tfarina@chromium.org Review URL: http://codereview.chromium.org/8547015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110953 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move widget/ directory to ui/views.tfarina@chromium.org2011-11-21101-14450/+133
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8598031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110949 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable two tests in WidgetOwnershipTest on linux_chromeos build.mazda@chromium.org2011-11-211-0/+11
| | | | | | | | | | | | | WidgetOwnershipTest.Ownership_ViewsNativeWidgetOwnsWidget WidgetOwnershipTest.Ownership_ViewsNativeWidgetOwnsWidget_NativeDestroy TBR=ben@chromium.org BUG=104945 TEST=views_unittests passed Review URL: http://codereview.chromium.org/8547006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110891 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views ↵ben@chromium.org2011-11-1924-2679/+107
| | | | | | | | | | | | | | | | | based classes that are obsoleted by Aura. Also remove a bunch of Wayland stuff, since any future Wayland integration is likely done as an implementation detail of Aura, not Views. Specifically: - views-desktop (classes and NativeWidgetView[s]) - NativeWidgetViews subclasses in Chrome (Constrained Windows, NTCVV, NTCCV, BrowserFrameViews et al). - RWHVV, NWKEV - NativeViewHostViews BUG=none TEST=none Review URL: http://codereview.chromium.org/8598024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110832 0039d316-1c4b-4281-b951-d872f2087c98
* views: Delete bubble, events, focus, layout directories and its stubbed files.tfarina@chromium.org2011-11-1856-258/+55
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8566052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110787 0039d316-1c4b-4281-b951-d872f2087c98
* Send fake event when event_type is set to exit menu so thatoshima@google.com2011-11-182-16/+26
| | | | | | | | | | | nested loop can exit. BUG=104684 TEST=BrowserTest.CloseWithAppMenuOpen passes on aura build Review URL: http://codereview.chromium.org/8597010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110774 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move bubble, events, focus and layout to ui/views/.tfarina@chromium.org2011-11-1850-9247/+101
| | | | | | | | | | | | Left stub files that will be removed in a follow up patch after updating the files to point to the new location. BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8588064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110761 0039d316-1c4b-4281-b951-d872f2087c98
* Implement font fallback in RenderTextWin, try #2.asvitkine@chromium.org2011-11-181-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The original change (http://codereview.chromium.org/8565011/) was reverted due to failing NativeTextfieldViewsTest.HitInsideTextAreaTest. The test was too strict when comparing cursor bounds and failed due to font fallback causing height differences in cursor bounds. This updated CL makes the test only check the x value of cursor bounds. Original CL description: This is done by using a metafile to capture the font that Uniscribe would use to render the text (since there is no API to get this from Uniscribe itself). Makes SCRIPT_CACHE be per-run, since different runs may have different fonts and the SCRIPT_CACHE cannot be re-used between these. This is similar to what is done in WebKit in FontCacheWin.cpp BUG=90426,104234 TEST=Run chrome.exe --use-pure-views and paste some Hebrew text into the omnibox. It should show up properly. Review URL: http://codereview.chromium.org/8570003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110749 0039d316-1c4b-4281-b951-d872f2087c98
* wayland: cleanup ifdef in accelerator_handle.h for use_wayland and use_auramsb@chromium.org2011-11-181-4/+4
| | | | | | | | | | | | | | BUG=102903 TEST=compile Change-Id: Ia9780044a47c91b8172710cc92481af60433b3a1 R=sky@chromium.org,jcivelli@chromium.org,saintlou@chromium.org,dnicoara@chromium.org Review URL: http://codereview.chromium.org/8598020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110748 0039d316-1c4b-4281-b951-d872f2087c98
* views: Remove unused/deprecated IsMouseEvent() function.tfarina@chromium.org2011-11-181-8/+0
| | | | | | | | R=ben@chromium.org Review URL: http://codereview.chromium.org/8585012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110696 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a couple of pixel-based compositor unittests. One to test that opacity ↵vollick@chromium.org2011-11-182-3/+3
| | | | | | | | | | | | | | | is handled correctly, and one to check that MoveToFront and MoveAbove really do change the compositor output as expected. Noteworthy changes are in layer_unittest.cc. Most of the changes below are due to moving compositor testing code into ui/gfx/compositor/test. Depends on http://codereview.chromium.org/8463024/ and http://codereview.chromium.org/8590019/ BUG=None TEST=compositor_unittests Review URL: http://codereview.chromium.org/8533019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110657 0039d316-1c4b-4281-b951-d872f2087c98
* [Aura] Fix HtmlDialogBrowserTest.SizeWindow.xiyuan@chromium.org2011-11-184-8/+12
| | | | | | | | | | | | | | | - Fix HtmlDialogBrowserTest.SizeWindow for Linux + Aura + Chromeos==0. - Remove minimum_size_ from auralWindow and add an OnBoundsChanging to aura::WindowDelegate so that a delegate can apply bounds constriant; - NativeWidgetAura uses OnBoundsChanging to apply Widget's minimum size; - Remove minimum_size_ member from Widget because it is only used for widget with no frame (i.e. no non_client_view_) and such widget should have no minimum size; BUG=104412 TEST=Verify the HtmlDialogBrowserTest.SizeWindow should pass for Linux + Aura + Chromeos==0. Review URL: http://codereview.chromium.org/8574049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110608 0039d316-1c4b-4281-b951-d872f2087c98
* Disable StartMinimized test for auraoshima@google.com2011-11-171-0/+1
| | | | | | | | | | | Aura doesn't support minimized window. BUG=104571 TEST=none Review URL: http://codereview.chromium.org/8585014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110591 0039d316-1c4b-4281-b951-d872f2087c98