| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a --aura-host-window-size switch (taking an
argument of the form "1024x768") that can be used to set the
initial size for the host window.
It also makes the Linux implementation automatically size
the window to cover the entire screen if an X window manager
isn't present (i.e. we're running on a Chrome OS device).
BUG=100979
TEST=tried it on a chrome os device
Review URL: http://codereview.chromium.org/8362002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106639 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
causing a visual hang when resizing any RWHVA.
This bug was introduced by http://codereview.chromium.org/8103014.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8366021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106630 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8362008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106626 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=99524
TEST=compositor_unittests
Review URL: http://codereview.chromium.org/8222028
TBR=piman@chromium.org
Review URL: http://codereview.chromium.org/8360018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106615 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=99524
TEST=compositor_unittests
Review URL: http://codereview.chromium.org/8222028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106606 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
For painting, the transform gets applied to the root layer of the compositor. For testing purposes, ctrl+Home is set to rotate the desktop (this can be made better when there's hotkey support).
BUG=100600
TEST=none
Review URL: http://codereview.chromium.org/8329019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106594 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When there's no window manager running, we don't get any
ConfigureNotify events about the host window (since our
initial size is honored and no resizes happen after that).
This change makes us force a layout when adding each widget
to DesktopLayoutManager. Otherwise, all of the widgets stay
stuck in the upper-left corner of the window.
BUG=100979
TEST=manual: ran it on a device with no window manager
Review URL: http://codereview.chromium.org/8361007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106591 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=sadrul
BUG=none
TEST=green linux_aura
Review URL: http://codereview.chromium.org/8364012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106583 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added SetChildBounds and several listener methods to LayoutManager class. They will be used to implement more sophisticated behavior."
This reverts commit 5d72aa923ebd1068319b67a1dbaa163a324c4b45.
TBR=sadrul@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8360009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106565 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hole bounds are with respect to the bounds of the parent. Thus they should be intersected with a representation of the bounds of the parent
in terms of the parent
BUG= None
TEST= None
Review URL: http://codereview.chromium.org/8356017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106551 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add customization ctor; override GetInitiallyFocusedView.
BUG=97248,98322,98323
TEST=views_examples bubbles work as before.
Review URL: http://codereview.chromium.org/8349015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106546 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8360002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106524 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/8363001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106519 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
listener methods to LayoutManager class. They will be used to implement more sophisticated behavior.
Implemented DefaultContainerLayoutManager.
Added test_support_aura component so that it can be shared
between aura and aura_shell.
Fixed component build for aura_shell_unittests
BUG=none
TEST=default_container_layout_manager_unittests.
Review URL: http://codereview.chromium.org/8296002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106508 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
1. Makes sure to schedule a compositor draw when accelerated buffers are swapped on linux, otherwise we don't redraw the content area until the next time a draw is scheduled otherwise
2. Updates the logic in the NativeViewHost/NativeTabContentsContainer/View etc code to better deal with switching tabs.
http://crbug.com/99757
TEST=none
Review URL: http://codereview.chromium.org/8353021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106504 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
R=ben@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8364002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106503 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=98345
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8355026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106500 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is necessary for WindowManager to deterimne the window's layout even when window is animating.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8357023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106438 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=68267
R=sky@chromium.org
Review URL: http://codereview.chromium.org/8352015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106421 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=97845
TEST=gfx_unittests
Review URL: http://codereview.chromium.org/8342050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=added test to window_unittests.cc
R=sky@chromium.org
Review URL: http://codereview.chromium.org/8344052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106402 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made Pepper 3D context creation code fully aware of GPU switching and changed
the order of context creation and and fetching of the parent context.
Creating the context potentially causes all existing contexts for that
renderer, including the parent, to be lost.
Detect shutting down of the GPU channel more quickly on the renderer side.
Only reject context creation in GLContextCGL upon GpuPreference mismatch if
the system supports dual GPUs.
Will update tools/histograms/histograms.xml as soon as this is committed;
must occur in a separate CL.
BUG=100507
TEST=tested navigating to and from, and reloading, NaCl Pepper 3D samples on Mac 10.6.8 and 10.7.1; WebGL tests
Review URL: http://codereview.chromium.org/8342024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106394 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also, delete some unused includes.
BUG=none
TEST=compiles; --use-pure-views works as before
Review URL: http://codereview.chromium.org/8355004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106387 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
send two aura::KeyEvents for every keydown - one raw key down, and one char. They share the same ET, but the first has is_char = false, the second is_char = true.
http://crbug.com/99757
TEST=none
Review URL: http://codereview.chromium.org/8342026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106374 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8346020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106346 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes us requery the pointer position so we can
constrain the cached position within the host window.
BUG=100087
TEST=none
Review URL: http://codereview.chromium.org/8344032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106337 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
RWHVAura.
BUG=none
TEST=manually
Review URL: http://codereview.chromium.org/8353005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106329 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=68267
R=sky@chromium.org
Review URL: http://codereview.chromium.org/8346013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106302 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pass the Desktop's MessageLoop::Dispatcher to
MessageLoopForUI::RunAllPendingWithDispatcher() instead of
just calling RunAllPending() without a dispatcher.
Otherwise, we frequently get stuck forever in
MessagePumpX::RunOnce(). g_main_context_iteration() appears
to return true (indicating that it performed work)
indefinitely there for reasons that are unclear to me.
BUG=100671
TEST=ran aura_unittests successfully locally in conjunction with a change that was previously hanging consistently
Review URL: http://codereview.chromium.org/8346023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106301 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matches the PlatformFontPango implementation and the comments for
|GetFontSize()|. Update users of this API appropriately and update header
comments to clarify that sizes are in pixels. Also, a few misc cleanup
changes.
BUG=none
TEST=Existing unit tests pass. Font sizes in Chromium UI do not change.
Review URL: http://codereview.chromium.org/8267009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106282 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WindowSizer up to it. Also removes window_sizer_win when building aura
as we shouldn't be using it with aura. Lastly I had to add AURA_EXPORT
to the FocusManager as visual studio doesn't like it when you try to
export a class that inherits from a non-exported class.
BUG=none
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8346026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106279 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were previously using the same static Desktop object
across all tests. DesktopHostLinux hangs on to
MessagePumpX's connection to the X server. We create a new
MessageLoop for each test, so any attempts by
DesktopHostLinux to send X requests after the first test
finished would result in a crash.
This change makes us throw out the Desktop object (and hence,
the DesktopHostLinux) after each test, along with cleaning
up some other bits of the testing code.
BUG=100425
TEST=ran a test that formerly crashed due to the problem described above; it works now
Review URL: http://codereview.chromium.org/8294006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106169 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
. wire up getting icons for apps.
. make clicking an app in aura open a new app window.
. add padding between icons.
. wire up activate when a window is clicked in the launcher.
BUG=97262
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8342014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106165 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/8342011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106156 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a case where we're failing to mmap the file, even though it exists
on disk. For example, we can't read the file or it has a size of 0.
We don't need to CHECK because in chrome_browser_main.cc, we prompt the
user to reinstall if this happens.
BUG=100395
Review URL: http://codereview.chromium.org/8301017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106138 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaces #ifdefs in the source file with use of a new gfx::NativeEvent typedef.
Adds NativeWebKeyboardEventAura.
http://crbug.com/99757
TEST=none
Review URL: http://codereview.chromium.org/8302013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notable changes:
. Window::GetRoot gets renamed to Window::GetDesktop.
. Desktop::Show gets renamed to Desktop::ShowDesktop, to disambiguate with
Window::Show.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8346009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106133 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a method to the ContentBrowserClient to get what is otherwise localized resources. Most of this patch changes the interface to net::GenerateFileName() to take a utf8 string instead of a utf16 one (which was immediately changed to a utf8 one in implementation.)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8113012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106124 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adjust BubbleDelegateView API, add CreateBubble static factory function.
Bubble's arrow anchors with a screen point, can fade in and fade out.
Supporting changes, test updates, misc related cleanup, -275 lines.
BUG=97248,98322,98323
TEST=updated unit tests, views_examples bubbles work.
Review URL: http://codereview.chromium.org/8227003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106090 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Resolves some TODOs I added in menu_config_win.cc and menu_item_view_win.cc, and harmonizes our menu rendering code between windows and linux Aura.
BUG=100586
TEST=manual
Review URL: http://codereview.chromium.org/8302017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106068 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This cl removes the non visible bookmark folders from the recently modified folder list. When sync is turned off some folders may become invisible. If this non visible folder was the last one used to create a bookmark you may end up in the situation where you can bookmark in a folder you can't see. This avoid the situation.
This cl also changes the way BookmarkNode::IsVisible() is implemented. A subsequent cl will introduce new features in there but in order to do so the Bookmark node needs to have access to the state of the sync, itself stored in the profile. I've tried a couple of approaches before settling down on this one:
- Passing the profile as argument to IsVisible().
- moving IsVisible as BookmarkModel::IsNodeVisible(BookmarkNode*) as the BookmarkModel has a profile_ instance variable.
Both those approaches required to change the calls to IsVisible all over the place and there are quite a bit of them, mostly in platform specific code. I've tried them, but they end up creating very big CL with changes in most of the platform code, with code made ugly because there are more arguments everywhere.
The simpler solution I've settled on introduces a small subclass of BookmarkNode, used only for the 3 permanent nodes ("Bookmark Bar", "Synced" and "Other"). That class get a profile on creation, and can then implement the visibility required by the feature in development.
This cl also includes a small improvement in the way the order of permanent folders is encoded. Two places in the code where enforcing the same order. I made the order of the permanent folders in the child array of the bookmark root the canonical order. The other place now explicitly uses this order.
Review URL: http://codereview.chromium.org/8273041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106058 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix cursor visibility so that a cursor is hidden only if a touch device is
available.
BUG=cursor hides on desktop
TEST=none
Review URL: http://codereview.chromium.org/8319009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105900 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update restore bounds when SetBounds is called in Fullscreen/Maximized mode.
EventGenerator to generate fake events for various mouse operatings.
BUG=none
TEST=added test case for SetBounds in fullscreen/maximized mode. Added ToplevelWindow test that tests various toplevel operations.
Review URL: http://codereview.chromium.org/8273040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Change gfx::NativeCursor to an int id on Aura.
+ Fix several cursor-related TODOs in GetCursor() methods.
+ Move X11 cursor cache into x11_util
+ Set platform-specific cursors in aura::DesktopHostWin and DesktopHostLinux
BUG=99871
TEST=manual
Review URL: http://codereview.chromium.org/8256001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105850 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:21717
TEST=On login screen, Kannada, Telugu and Farsi can be selected.
Review URL: http://codereview.chromium.org/8301012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105835 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Among the changes:
. Add touch event handling in EventFilter. Be default, activates a window on TOUCH_START (like for MOUSE_PRESSED).
. Move TouchEvent details functions into ui/. Moved the X11 implementations from views/ to ui/. NOTIMPLEMENTED on windows.
. Disable RWHVAura et. al. for touchui for now (they are still compiled in, but not used).
BUG=100269
TEST=none
Review URL: http://codereview.chromium.org/8274025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105816 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, we're not checking for extensions on EGL path and we're only checking for XComposite extensions browser side. This change checks for extensions early and to fail at context creation (technically GLES2Decoder) creation time.
BUG=none
TEST=on hardware supporting the extensions
Review URL: http://codereview.chromium.org/8293004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Pango metrics were not getting initialized.
BUG=none
TEST=New test added to font_unittest.cc.
Review URL: http://codereview.chromium.org/8289004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105758 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found by the clang static analyzer:
ui/gfx/canvas_skia_mac.mm:70:27: warning: Potential leak of an object allocated on line 70 and stored into 'path'
CGMutablePathRef path = CGPathCreateMutable();
^
1 warning generated.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8308008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105751 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
GetBrowserViewForNativeWindow, so I had to wire up ViewProps for it to work correctly.
BUG=97262
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8289022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105677 0039d316-1c4b-4281-b951-d872f2087c98
|