summaryrefslogtreecommitdiffstats
path: root/ui/views/views.gyp
Commit message (Collapse)AuthorAgeFilesLines
* Revert 132856 - Aura/ash split: Remove hacks and get chrome linking without ash.erg@google.com2012-04-181-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | views_unittests failure on Linux Chromeos. For the first time now, you can do: > build/gyp_chromium -Duse_aura=1 -Duse_ash=0 And get a running chrome. It has lots of issues, especially related to window placement, tab handling, etc, but it pops up and renders web content. Also consolidates most of the desktop behavior into its own class. Also makes views_examples_exe work again. Several of the hacks are no longer needed after Ben's refactoring to support WebView. BUG=116458,119759 TEST=none Review URL: http://codereview.chromium.org/10081022 TBR=erg@chromium.org Review URL: https://chromiumcodereview.appspot.com/10083057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132864 0039d316-1c4b-4281-b951-d872f2087c98
* Aura/ash split: Remove hacks and get chrome linking without ash.erg@chromium.org2012-04-181-0/+3
| | | | | | | | | | | | | | | | | | | | | For the first time now, you can do: > build/gyp_chromium -Duse_aura=1 -Duse_ash=0 And get a running chrome. It has lots of issues, especially related to window placement, tab handling, etc, but it pops up and renders web content. Also consolidates most of the desktop behavior into its own class. Also makes views_examples_exe work again. Several of the hacks are no longer needed after Ben's refactoring to support WebView. BUG=116458,119759 TEST=none Review URL: http://codereview.chromium.org/10081022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132856 0039d316-1c4b-4281-b951-d872f2087c98
* Removing defunct code around PureViews.saintlou@chromium.org2012-04-151-0/+2
| | | | | | | | | | BUG=117493 TEST=none Review URL: http://codereview.chromium.org/10084020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132357 0039d316-1c4b-4281-b951-d872f2087c98
* Correct dependencies on content. This should fix the cros build.ben@chromium.org2012-04-111-4/+3
| | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10034035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131872 0039d316-1c4b-4281-b951-d872f2087c98
* Beginnings of a WebView.ben@chromium.org2012-04-111-0/+23
| | | | | | | | | http://crbug.com/105557 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=131837 Review URL: https://chromiumcodereview.appspot.com/10024081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131863 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131837 - Beginnings of a WebView.ben@chromium.org2012-04-111-21/+0
| | | | | | | | | | | http://crbug.com/105557 TEST=none Review URL: https://chromiumcodereview.appspot.com/10024081 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10054030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131838 0039d316-1c4b-4281-b951-d872f2087c98
* Beginnings of a WebView.ben@chromium.org2012-04-111-0/+21
| | | | | | | | http://crbug.com/105557 TEST=none Review URL: https://chromiumcodereview.appspot.com/10024081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131837 0039d316-1c4b-4281-b951-d872f2087c98
* Moves view_model and related classes to views. This way I can use itsky@chromium.org2012-04-091-0/+6
| | | | | | | | | | in the tabstrip. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10031012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131472 0039d316-1c4b-4281-b951-d872f2087c98
* Fix drag&drop not working in the bookmark manager after the ↵jam@chromium.org2012-04-031-0/+2
| | | | | | | | | 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/aura split: Get views_examples_exe semi-running on linux/X11.erg@chromium.org2012-03-301-0/+6
| | | | | | | | | | | 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
* Move ui/view/touchui/touch_mode_support.* to ui/base and make it platformvarunjain@chromium.org2012-03-291-2/+0
| | | | | | | | | | | independent so it can be used to implement other touch features in aura. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9910019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129694 0039d316-1c4b-4281-b951-d872f2087c98
* Removing deprecated GTK-Views code.saintlou@chromium.org2012-03-191-90/+2
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9728002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127507 0039d316-1c4b-4281-b951-d872f2087c98
* views: Rename MenuButtonDelegate::RunMenu to something more obvious.tfarina@chromium.org2012-03-151-1/+1
| | | | | | | | | | | | | | | The reason is that there are a lot of RunMenu() functions all over the code, and actually the event for this function is that the menu button was pressed. So we tell that to subclasses and they do whatever they want; they do not necessarily need to run a menu. Thus this patch renames RunMenu to OnMenuButtonClicked. BUG=117092 R=sky@chromium.org TBR=stevenjb@chromium.org Review URL: https://chromiumcodereview.appspot.com/9693022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126967 0039d316-1c4b-4281-b951-d872f2087c98
* views: Rename ViewMenuDelegate to MenuButtonDelegate and move to ↵tfarina@chromium.org2012-03-081-1/+1
| | | | | | | | | | | | | | | controls/button/. The reason is that why was founding difficult to know what ViewMenuDelegate was referring to. And because this delegate is always associated with a views::MenuButton. BUG=117092 R=sky@chromium.org TBR=stevenjb@chromium.org Review URL: https://chromiumcodereview.appspot.com/9632001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125650 0039d316-1c4b-4281-b951-d872f2087c98
* Extract the last SkColor from ResourceBundle API.tfarina@chromium.org2012-03-051-0/+2
| | | | | | | | | | NOTE: This was a TODO for ben@. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9602003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124953 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Aura build.jam@chromium.org2012-03-051-1/+0
| | | | | | | TBR=sky Review URL: https://chromiumcodereview.appspot.com/9603001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124924 0039d316-1c4b-4281-b951-d872f2087c98
* Move most of ui/views/drag_utils to ui/base/dragdrop so it can be used ↵jam@chromium.org2012-03-051-5/+2
| | | | | | | | | outside of views. I tried to move SetURLAndDragImage as well, but that would cause a lot of code duplication from Views' TextButton class that would make us worse off (things like mirroring and limiting size). BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9582041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124923 0039d316-1c4b-4281-b951-d872f2087c98
* views: Adjust the slider for RTL, and update the button to be a circle ↵sadrul@chromium.org2012-02-281-0/+1
| | | | | | | | | | | instead of a rectangle. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9477026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123918 0039d316-1c4b-4281-b951-d872f2087c98
* views: Add a slider control.sadrul@chromium.org2012-02-261-0/+4
| | | | | | | | | BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9455082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123705 0039d316-1c4b-4281-b951-d872f2087c98
* More touch UI tab strip changesscottmg@google.com2012-02-171-0/+2
| | | | | | | | | | | | | | | | - Moves test for touch mode out to slightly higher level for availability to rest of views. - When in touch mode, sets a large minimum size for tabs so they're always easily selectable. - beginnings of drag controller and tab strip layout for stacking (only at left edge so far). Currently, drag controller does not commit positions, and tabs snap back to original location on drag end. BUG=106938 TEST=drag tabstrip to left in touch mode Review URL: https://chromiumcodereview.appspot.com/9385024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122408 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored MouseWatcher to allow regions other than Views todavemoore@chromium.org2012-02-061-0/+2
| | | | | | | | | | | be monitored. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/9309110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120583 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old (pre-webkit) compositorpiman@chromium.org2012-01-271-9/+1
| | | | | | | | | BUG=103948 TEST=builds, tests pass Review URL: http://codereview.chromium.org/9288053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119402 0039d316-1c4b-4281-b951-d872f2087c98
* Support touch scroll gestures in menus.vollick@google.com2012-01-241-0/+2
| | | | | | | | | | | | | Depends on http://codereview.chromium.org/8364039/ BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=118834 Review URL: https://chromiumcodereview.appspot.com/8508024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118841 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 118834 - Support touch scroll gestures in menus.vollick@google.com2012-01-241-2/+0
| | | | | | | | | | | | | | Depends on http://codereview.chromium.org/8364039/ BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/8508024 TBR=vollick@google.com Review URL: https://chromiumcodereview.appspot.com/9284024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118835 0039d316-1c4b-4281-b951-d872f2087c98
* Support touch scroll gestures in menus.vollick@google.com2012-01-241-0/+2
| | | | | | | | | | | Depends on http://codereview.chromium.org/8364039/ BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/8508024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118834 0039d316-1c4b-4281-b951-d872f2087c98
* Add test case for CenterWindow in Aura. CenterWindow was changed inalicet@chromium.org2012-01-231-0/+2
| | | | | | | | | | | | http://codereview.chromium.org/9187020/ BUG=None TEST=ran test on aura. Review URL: http://codereview.chromium.org/9270021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118732 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromeos clang build.joaodasilva@chromium.org2012-01-201-0/+1
| | | | | | | | | | | | This was introduced in https://chromiumcodereview.appspot.com/9250016 TBR=varunjain@chromium.org BUG=None TEST=Build succeeds on chromeos clang bots Review URL: https://chromiumcodereview.appspot.com/9269009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118449 0039d316-1c4b-4281-b951-d872f2087c98
* views: Make sure the native-wrapper for the combobox inherits the ↵sadrul@chromium.org2012-01-191-1/+0
| | | | | | | | | | | enabled-ness of the parent. BUG=110683 TEST=views_unittests:NativeComboboxViewsTest.DisabilityTest Review URL: https://chromiumcodereview.appspot.com/9159021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118365 0039d316-1c4b-4281-b951-d872f2087c98
* Aura Shell needs to exist on Macdhollowa@chromium.org2012-01-191-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds first cut at "Aura Shell.app" on Mac. The 'ash_shell' is extended to generate a Cocoa application. This application brings up a single window containing the Aura desktop. The main view of this window provides an accelerated surface to Aura in which it can composite and draw its results. What works: - The application launches and renders the Aura desktop and background - Mouse movement, clicking, double-clicking, and interactions with Aura windows and widgets - Text buttons render with Skia text (needs improvement) - Non-modal transient window button - Window-modal window button - System-modal window button - Example Widgets button (checkboxes, radios, buttons) - Lock Screen button - Create Non-Resizable window button - Create Pointy Bubble button - Create Widow button - Switcher and Taskbar What doesn't work: - Open Views Examples Window button - Views menus - Views scrollbars - Views accelerators - Views tooltips - Drag and drop - Anything involving MessageLoop dispatcher logic - Mouse movement doesn't pass through to Aura when mouse button is up Note: Required .gyp flags are: 'use_aura': 1, 'use_webkit_compositor': 1, BUG=109946 TEST=Manual tests. R=sky@chromium.org, thakis@chromium.org Review URL: https://chromiumcodereview.appspot.com/9232028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118222 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Move GestureRecognizer from views into aura.sadrul@chromium.org2012-01-191-4/+0
| | | | | | | | | | | Remove deprecated GestureManager, and move the functional GestureRecognizer from views into aura. BUG=110227 TEST=views_unittests:GestureEvent, aura_unittests:GestureRecognizerTest Review URL: https://chromiumcodereview.appspot.com/9255019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118200 0039d316-1c4b-4281-b951-d872f2087c98
* Initial views touchui Gesture Recognizer supportvollick@google.com2012-01-171-0/+2
| | | | | | | | | | | | | This is just a merge of Gajen's patch (http://codereview.chromium.org/8364039/) with ToT. BUG=101645 TEST=views_unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117869 Review URL: https://chromiumcodereview.appspot.com/9076002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117894 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Win Aura trybotsbauerb@chromium.org2012-01-171-0/+1
| | | | | | | | | | | | TBR=sky@chromium.org BUG=none TEST=win_aura:compile works Review URL: http://codereview.chromium.org/9243005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117891 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117869 - Initial views touchui Gesture Recognizer supportvollick@google.com2012-01-171-2/+0
| | | | | | | | | | | | | | | This is just a merge of Gajen's patch (http://codereview.chromium.org/8364039/) with ToT. BUG=101645 TEST=views_unittest Review URL: http://codereview.chromium.org/9076002 TBR=vollick@chromium.org Review URL: https://chromiumcodereview.appspot.com/9231013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117870 0039d316-1c4b-4281-b951-d872f2087c98
* Initial views touchui Gesture Recognizer supportvollick@chromium.org2012-01-171-0/+2
| | | | | | | | | | | | This is just a merge of Gajen's patch (http://codereview.chromium.org/8364039/) with ToT. BUG=101645 TEST=views_unittest Review URL: http://codereview.chromium.org/9076002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117869 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at: Adds a trivial views based table implementation (only supports ↵sky@chromium.org2012-01-111-12/+12
| | | | | | | | | | | | | | | | | single selection, even for grouptableview) and wires it up for hung renderer and ssl client certificate. Only change is adding OVERRIDEs. BUG=109665 TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9187027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117305 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117228 - Adds a trivial views based table implementation (only ↵flackr@chromium.org2012-01-111-12/+12
| | | | | | | | | | | | | | | | | | | | supports single selection, even for grouptableview) and wires it up for hung renderer and ssl client certificate. This broke linux chromeos clang compile: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20Clang%20%28ChromeOS%20dbg%29/builds/5737/steps/compile/logs/stdio BUG=109665 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9181019 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/9190013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117258 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a trivial views based table implementation (only supports singlesky@chromium.org2012-01-111-12/+12
| | | | | | | | | | | | | selection, even for grouptableview) and wires it up for hung renderer and ssl client certificate. BUG=109665 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9181019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117228 0039d316-1c4b-4281-b951-d872f2087c98
* Shuffles around table classes and nukes tableview2.sky@chromium.org2012-01-101-20/+7
| | | | | | | | BUG=109665 TEST=none Review URL: http://codereview.chromium.org/9176001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117106 0039d316-1c4b-4281-b951-d872f2087c98
* Views based implementation of treeview. There are a couple of thingssky@chromium.org2012-01-071-6/+12
| | | | | | | | | | | | left to resolve: editing, context menus and auto_expand_children. BUG=109141 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9120014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116807 0039d316-1c4b-4281-b951-d872f2087c98
* Removing duplicate MenuItemView related modules.saintlou@chromium.org2012-01-061-9/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9108033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116670 0039d316-1c4b-4281-b951-d872f2087c98
* Shuffles around the tree_view classes.sky@chromium.org2012-01-051-3/+9
| | | | | | | | BUG=109141 TEST=none Review URL: http://codereview.chromium.org/9108013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116553 0039d316-1c4b-4281-b951-d872f2087c98
* Remove views::InputMethodIBus.yusukes@chromium.org2011-12-281-16/+0
| | | | | | | | | | | | | | We should instead use the new ui::InputMethodIBus implementation. BUG=None TEST=try Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113574 Review URL: http://codereview.chromium.org/8800002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115870 0039d316-1c4b-4281-b951-d872f2087c98
* views: Delete obsolete WindowManager component.tfarina@chromium.org2011-12-251-2/+0
| | | | | | | | | | This was added by oshima@ at crrev.com/97492, but appears to be unused now. R=ben@chromium.org Review URL: http://codereview.chromium.org/9007052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115765 0039d316-1c4b-4281-b951-d872f2087c98
* Refactors the tab glow into views so that it can be used by thesky@chromium.org2011-12-161-0/+2
| | | | | | | | | | | | launcher. BUG=none TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/8964018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114882 0039d316-1c4b-4281-b951-d872f2087c98
* Merge BorderContentsView into BubbleFrameView; simplify.msw@chromium.org2011-12-151-3/+0
| | | | | | | | | | | | | | | | Merge these redundant classes and their unit tests. Do not try_mirroring_arrow with dummy anchor rects. Deprecate unused allow_bubble_offscreen bubble flag. Replace GetArrowLocation virtual with simple setter/getter pair. Return anchor view bounds in BubbleDelegateView::GetAnchorRect. Other refactoring and simplification. BUG=106050 TEST=Bubbles are anchored correctly with their arrows in the right location. Review URL: http://codereview.chromium.org/8870003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114598 0039d316-1c4b-4281-b951-d872f2087c98
* Removing deprecated touchui code.saintlou@chromium.org2011-12-141-4/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8909007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114518 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor window frame painting into a window background classjamescook@chromium.org2011-12-101-0/+2
| | | | | | | | | | | | We currently have several copies of the code that draws the non-client frame area of windows, including OpaqueBrowserFrameView, ConstrainedWindowFrameViews, CustomFrameView, and others. We need yet another version for Aura. Rather than make another copy I'm trying to refactor out the common drawing code. This is step 1, creating a views::FrameBackground class and using it in two cases. BUG=102797 TEST=visual, try normal frame, install a theme, open a constrained window like cookie > Show cookies and other site data, open a popup from popuptest.com Review URL: http://codereview.chromium.org/8772060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113913 0039d316-1c4b-4281-b951-d872f2087c98
* Windows component build fix for aura.varunjain@chromium.org2011-12-091-2/+0
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8888037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113851 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 3 at:sky@chromium.org2011-12-091-1/+9
| | | | | | | | | | | | | | | | | Makes tests either use mock compositor or mock WebGraphicsContext3D depending upon which compositor we're running. This is needed to enable ui tests on the bots. Attempt 2 failed because of last minute changes to chrome_tests.gypi that I didn't merge properly with. TBRing again. BUG=104360 TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8890050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113809 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113676 - Attempt 2 at : Makes tests either use mock compositor or mocksky@chromium.org2011-12-081-9/+1
| | | | | | | | | | | | | | | | | | | | WebGraphicsContext3D depending upon which compositor we're running. This is needed to enable ui tests on the bots. I reverted first attempt as it broke some browser_tests. I've straightened that out in another patch, so this should be good go again. TBR since it's the same patch as before. BUG=104360 TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8889022 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/8873037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113683 0039d316-1c4b-4281-b951-d872f2087c98