Eerg@chromium.orglinux_aura: Fix cursors and popup menu location
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Update use of TimeDelta in chrome/browser/*, ui/views/*, and other places. R=ben@chromium.org BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10026013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137682 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
views: Move widget/ directory to ui/views. 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 | 14 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
Move more methods from NWW to HWNDMessageHandler. Moves: . scoped redraw lock . mouse event handling . key event handling/input method delegate impl . IsAeroGlassEnabled -> ui::win global function http://crbug.com/142962 TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152657 Review URL: https://chromiumcodereview.appspot.com/10827454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152775 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Chrome does not support hidpi themes other than the default. However, Chrome generates images which are a combination of the toolbar icon from the default theme + a tint. Added the ability for themes to store hidpi assets in the data pack such that the few hidpi assets which are generated are preserved when a user closes Chrome and reopens it. Repro steps/steps for testing: 1) Run chrome with --force-device-scale-factor=2 2) Change the theme. 3) Close Chrome and relaunch with --force-device-scale-factor=2 4) Ensure that the toolbar buttons are still hidpi Test=Manual, see instructions above Bug=136888 Review URL: https://chromiumcodereview.appspot.com/10783015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150054 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Get mouse events to work with win aura, and make the combobox function in the views examples app. http://crbug.com/146077 R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=155832 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156096 Review URL: https://chromiumcodereview.appspot.com/10910144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156223 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Get mouse events to work with win aura, and make the combobox function in the views examples app. http://crbug.com/146077 R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=155832 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156096 Review URL: https://chromiumcodereview.appspot.com/10910144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156223 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Make combo boxes work with DesktopRootWindowHostLinux. - Fix subwindow transience so we don't dismiss on focus. - Several fixes around bounds. (Note: the whole client bounds isn't working correctly yet.) - A real LayoutManager that keeps the main content window in sync with the root window. BUG=146077 Review URL: https://chromiumcodereview.appspot.com/10941040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157665 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Make combo boxes work with DesktopRootWindowHostLinux. - Fix subwindow transience so we don't dismiss on focus. - Several fixes around bounds. (Note: the whole client bounds isn't working correctly yet.) - A real LayoutManager that keeps the main content window in sync with the root window. BUG=146077 Review URL: https://chromiumcodereview.appspot.com/10941040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157665 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Trivial plumbing of some methods from DesktopNativeWidgetAura to DesktopRootWindowHost. BUG=146077 Review URL: https://codereview.chromium.org/10958005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157681 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Plumb ClearNativeFocus to DesktopRootWindowHostWin. Get rid of FocusNativeView since it's only called in unittests now. Also removed from Widget. Also, don't send non client mouse events to the RootWindowHostDelegate from DesktopRootWindowHostWin (RootWindowHostWin already does this). This fixes an assert when the message eventually gets to WebInputEventFactory, which doesn't handle non client messages. BUG=146077 Review URL: https://codereview.chromium.org/10951033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157638 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix a crash in DesktopNativeWidgetHelperAura when closing tabs because it was dereferncing a deleted aura::Window. Review URL: https://codereview.chromium.org/10966026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157995 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix a crash in DesktopNativeWidgetHelperAura when closing tabs because it was dereferncing a deleted aura::Window. Review URL: https://codereview.chromium.org/10966026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157995 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Trivial plumbing of some methods from DesktopNativeWidgetAura to DesktopRootWindowHost. BUG=146077 Review URL: https://codereview.chromium.org/10958005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157681 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Fix cursors and popup menu location - Cursors now use sadrul's modified CursorLoader. - We query the desktop environment for work area size. This makes menus positioned in the correct place. BUG=146077 Review URL: https://chromiumcodereview.appspot.com/10985029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158708 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Fix cursors and popup menu location - Cursors now use sadrul's modified CursorLoader. - We query the desktop environment for work area size. This makes menus positioned in the correct place. BUG=146077 Review URL: https://chromiumcodereview.appspot.com/10985029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158708 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Trivial plumbing of some methods from DesktopNativeWidgetAura to DesktopRootWindowHost. BUG=146077 Review URL: https://codereview.chromium.org/10958005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157681 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Trivial plumbing of some methods from DesktopNativeWidgetAura to DesktopRootWindowHost. BUG=146077 Review URL: https://codereview.chromium.org/10958005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157681 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add ScreenPositionClient::ConvertNativePointToScreen. This will be used to convert mouse location properly in RootWindow when X's native input is captured by a drag operation. BUG=148686 Review URL: https://chromiumcodereview.appspot.com/10911342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157702 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add ScreenPositionClient::ConvertNativePointToScreen. This will be used to convert mouse location properly in RootWindow when X's native input is captured by a drag operation. BUG=148686 Review URL: https://chromiumcodereview.appspot.com/10911342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157702 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollEvent and DropTargetEvent, in favor of ui::Event derivatives. http://crbug.com/125937 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10824295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151602 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
Replace views::LocatedEvent with ui::LocatedEvent http://crbug.com/125937 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10828265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151362 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
win: Fix a few minor issues found by clang. No intended functionality change. BUG=82385 TEST=compiles Review URL: http://codereview.chromium.org/10332002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134988 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
Plumb ClearNativeFocus to DesktopRootWindowHostWin. Get rid of FocusNativeView since it's only called in unittests now. Also removed from Widget. Also, don't send non client mouse events to the RootWindowHostDelegate from DesktopRootWindowHostWin (RootWindowHostWin already does this). This fixes an assert when the message eventually gets to WebInputEventFactory, which doesn't handle non client messages. BUG=146077 Review URL: https://codereview.chromium.org/10951033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157638 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Plumb ClearNativeFocus to DesktopRootWindowHostWin. Get rid of FocusNativeView since it's only called in unittests now. Also removed from Widget. Also, don't send non client mouse events to the RootWindowHostDelegate from DesktopRootWindowHostWin (RootWindowHostWin already does this). This fixes an assert when the message eventually gets to WebInputEventFactory, which doesn't handle non client messages. BUG=146077 Review URL: https://codereview.chromium.org/10951033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157638 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
events: Move some files into ui/base/events/ BUG=none TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10917075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154817 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
events: Move some files into ui/base/events/ BUG=none TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10917075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154817 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Desktop Aura: Allow tab drags out of window. 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 | 13 年前 | |
Plumb ClearNativeFocus to DesktopRootWindowHostWin. Get rid of FocusNativeView since it's only called in unittests now. Also removed from Widget. Also, don't send non client mouse events to the RootWindowHostDelegate from DesktopRootWindowHostWin (RootWindowHostWin already does this). This fixes an assert when the message eventually gets to WebInputEventFactory, which doesn't handle non client messages. BUG=146077 Review URL: https://codereview.chromium.org/10951033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157638 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
views: Move view.h to ui/views/. 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 | 14 年前 | |
views: Move view.h to ui/views/. 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 | 14 年前 | |
views: Mark single-argument constructors as explicit. This was reported by cpplint as: python ~/depot_tools/cpplint.py $(find ui/views/ -type f -name \*.cc) 2>&1 | grep -v "Done processing" | grep explicit R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10358013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135365 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
views: Packaged app window icon should be system/generic icon, if icon is not set by default. BUG=148390 TEST=manually Review URL: https://chromiumcodereview.appspot.com/10967036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158343 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Plumb ClearNativeFocus to DesktopRootWindowHostWin. Get rid of FocusNativeView since it's only called in unittests now. Also removed from Widget. Also, don't send non client mouse events to the RootWindowHostDelegate from DesktopRootWindowHostWin (RootWindowHostWin already does this). This fixes an assert when the message eventually gets to WebInputEventFactory, which doesn't handle non client messages. BUG=146077 Review URL: https://codereview.chromium.org/10951033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157638 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
The last little bit of cleanup before HWNDMessageHandler becomes the WindowImpl. . Removes the win32 api pass-thrus on NativeWidgetWin . Adds win32 message pre- and post- filtering to HWNDMessageFilterDelegate so various NWW subclasses can customize message handling. . WidgetSizeIsClientSize -> HWNDMessageHandlerDelegate . MessageLoopForUI::Observer -> HWNDMessageHandler . Fullscreen handler takes a HWND instead of a Widget. Derived from: https://chromiumcodereview.appspot.com/10867096/ which is already R=sky@chromium.org http://crbug.com/142962 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10892014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153728 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
views: Reset the capture-view at the end of a gesture. If the gesture handler was capturing events, then stop capturing at the end of the gesture sequence. This fixes selecting tabs with mouse-clicks after taps. BUG=151550 Review URL: https://codereview.chromium.org/10983008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158635 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
events: Get rid of GestureStatus in favour of EventResult. BUG=none Review URL: https://chromiumcodereview.appspot.com/10912063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154721 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change signature of |ui::ElideText()|. Add a truncate mode. The new truncate mode is needed by my upcoming changes to rewrite CanvasSkia::DrawText(). Part of the change is changing the binary search code to a more traditional form that also makes the truncate mode work correctly. This is covered by the new unit tests. BUG=105550 TEST=New and existing tests in text_elider_unittest.cc. Review URL: http://codereview.chromium.org/8917011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114063 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
Convert Aura to use ui::Event. http://crbug.com/125937 TEST=existing Review URL: https://chromiumcodereview.appspot.com/10827145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150587 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
Replace views::LocatedEvent with ui::LocatedEvent http://crbug.com/125937 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10828265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151362 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
views: Packaged app window icon should be system/generic icon, if icon is not set by default. BUG=148390 TEST=manually Review URL: https://chromiumcodereview.appspot.com/10967036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158343 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Fix cursors and popup menu location - Cursors now use sadrul's modified CursorLoader. - We query the desktop environment for work area size. This makes menus positioned in the correct place. BUG=146077 Review URL: https://chromiumcodereview.appspot.com/10985029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158708 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Draggable region support for frameless app window on CrOS. BUG=134169 TEST=new unittest for aura Review URL: https://chromiumcodereview.appspot.com/10831361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152683 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Draggable region support for frameless app window on CrOS. BUG=134169 TEST=new unittest for aura Review URL: https://chromiumcodereview.appspot.com/10831361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152683 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Get the custom frame limping with win-aura. 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 | 13 年前 | |
Remove the rest of #pragma once in one big CL. 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 | 13 年前 | |
Convert Aura to use ui::Event. http://crbug.com/125937 TEST=existing Review URL: https://chromiumcodereview.appspot.com/10827145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150587 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
basic nc paint, moving, resizing for views_examples_exe on win non-aero Pull over some code from native_widget_win to get aura drawing a bit better on Windows. There's still lots of things not working, but the sizing and painting work better now. Review URL: https://chromiumcodereview.appspot.com/10662037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147255 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
views: Extract Widget observer into its own header file. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10834079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149555 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
views: Reset the capture-view at the end of a gesture. If the gesture handler was capturing events, then stop capturing at the end of the gesture sequence. This fixes selecting tabs with mouse-clicks after taps. BUG=151550 Review URL: https://codereview.chromium.org/10983008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158635 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
aura: Make sure the root-window retains the X events it was already listening for. When aura starts listening for resize events on the X root-window, it needs to make sure it continues to listen to other X events on the root-window selected earlier. Also, split out the handling of events targetted for the X root-window into a separate function. BUG=148784 Review URL: https://codereview.chromium.org/10913253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156741 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Desktop aura: Use the X11 clipboard for text. This is a sketch of a clipboard implementation for linux_aura. Right now, it can only copy/paste plain text types. Dealing with bitmaps is out of scope for this patch and the two unit tests dealing with bitmaps have temporarily been disabled on linux_aura. Moving parts: - This moves the current clipboard_{aurax11 => chromeos}.cc so that chromeos isn't broken between now and when I'm done. I intend to remove clipboard_chromeos once I have all the features working. - This makes what was DispatcherLinux a part of libui.so, renamed to DispatcherAuraX11 and turned into a singleton. It has no aura dependencies, though is only used in aura code. Every usage in aura code previously grabbed the singleton instance from Env and then did an ugly static_cast<> to the other type. - Moves X11AtomCache from aura to ui. Needs to be used in aurax11 code in ui/base/; has no X11 dependencies. BUG=130805 TEST=none Review URL: https://chromiumcodereview.appspot.com/10829341 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156433 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cancel drag if display configuration changes. * Removed debug specific shortcut to emulate display change. * fixed ui_controls to use the correct position * a few minor clean ups (removing unnecessary namesapce, rename Monitor -> Display) BUG=14457 TEST=covered by test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155762 Review URL: https://chromiumcodereview.appspot.com/10909043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155975 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cancel drag if display configuration changes. * Removed debug specific shortcut to emulate display change. * fixed ui_controls to use the correct position * a few minor clean ups (removing unnecessary namesapce, rename Monitor -> Display) BUG=14457 TEST=covered by test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155762 Review URL: https://chromiumcodereview.appspot.com/10909043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155975 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Start implementing DesktopRootWindowHostLinux This starts copying code from RootWindowHostLinux and the various x11 helper classes into the new central class on Ben's new architecture. Things that work: - Opening the inital views_examples window - Clicking on things Things that dont work: - Opening other windows - Closing windows BUG=146077 TEST=none Review URL: https://chromiumcodereview.appspot.com/10916349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157377 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Start implementing DesktopRootWindowHostLinux This starts copying code from RootWindowHostLinux and the various x11 helper classes into the new central class on Ben's new architecture. Things that work: - Opening the inital views_examples window - Clicking on things Things that dont work: - Opening other windows - Closing windows BUG=146077 TEST=none Review URL: https://chromiumcodereview.appspot.com/10916349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157377 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |