summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/native_widget_helper_aura.h
Commit message (Collapse)AuthorAgeFilesLines
* Desktop Aura: Allow tab drags out of window.erg@chromium.org2012-08-171-3/+0
| | | | | | | | | | | | | | | | | | | | | You can now drag tabs in and out of windows in linux_aura builds. This patch has a lot of moving parts and caveats though. Moving parts in the patch: - Added system location to aura::Events. - Forwarding move events from RootWindowHostLinux to the TabDragController through an observer. - MessagePumpAuraX11 now can block waiting for a window to be mapped. If we don't do this, we can't perform a grab on the new window. - The drag offset is threaded from TabDragController through the WindowMoveController interface. (There's no other non-racey way of getting this data locally from X.) - RootWindowHostLinux now has working Show()/Hide(). TODOs: - After releasing a new window, the window looks focused, but isn't. You have to click on it for it to receive input focus. BUG=133059 TEST=none Review URL: https://chromiumcodereview.appspot.com/10828133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152180 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Aura/ash: On Desktops, use an aura::client to resolve screen coordinates.erg@chromium.org2012-05-181-7/+3
| | | | | | | | | | We can only use aura::Windows when trying to calculate where menus should be displayed. Add a client interface to do this, move the existing usage out of the DesktopNativeWidgetHelperAura and into the client. BUG=125106 Review URL: https://chromiumcodereview.appspot.com/10409011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137954 0039d316-1c4b-4281-b951-d872f2087c98
* Get the custom frame limping with win-aura.ben@chromium.org2012-05-011-0/+4
| | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10270002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134705 0039d316-1c4b-4281-b951-d872f2087c98
* Ash/aura split: NativeWidgetAura::GetWindowScreenBounds() should return ↵erg@chromium.org2012-04-251-1/+6
| | | | | | | | | | | | | | | | | screen bounds. - Renames aura::Window::GetScreenBounds() to ::GetBoundsInRootWindow(), which is what it really does. - NativeWidgetAura now gives its NativeWidgetHelperAura a chance to modify those bounds. BUG=none TEST=none Review URL: http://codereview.chromium.org/10210005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133831 0039d316-1c4b-4281-b951-d872f2087c98
* Recommitting Aura/ash split: Remove hacks and get chrome linking without ash.erg@chromium.org2012-04-201-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | This changes TestViewsDelegate::CreateNativeWidgetHelper to always return NULL, and for views_examples_exe to use its own subclass that create the desktop implementation. 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 First Review URL: http://codereview.chromium.org/10081022 Review URL: http://codereview.chromium.org/10083058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133105 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 132856 - Aura/ash split: Remove hacks and get chrome linking without ash.erg@google.com2012-04-181-38/+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/+38
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