Martin Stransky
268e071e68
Bug 878781 - Port GTK2 to GTK3 - widget minor fixes. r=karlt
2013-06-04 08:23:29 -04:00
Ryan VanderMeulen
eed17358d0
Merge m-c to inbound.
2013-06-03 11:58:20 -04:00
Tim Chien
e7048f5a98
Bug 878029 - Update GetDefaultScaleInternal() in Gonk to match AOSP spec. r=mwu
2013-06-03 08:30:28 -04:00
Kartikaya Gupta
a470c3e0a4
Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa
2013-06-03 10:00:02 -04:00
Kartikaya Gupta
94f09001ff
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
3bec007d2f
Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa
2013-06-03 09:58:07 -04:00
Kartikaya Gupta
d45ced53de
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
83f51d55ac
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Ehsan Akhgari
d767884115
Bug 876129 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
...
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.
--HG--
extra : rebase_source : ef4ac31003d75fb0fe17b493d7267ba3306e77bf
2013-05-30 22:23:49 -04:00
Chris Peterson
b0637c312a
Bug 877503 - Add MOZ_FINAL to some Android classes to fix gcc 4.7 warnings-as-errors. blanket-r=ehsan rs=tbsaunde
2013-05-30 11:26:02 -07:00
Ehsan Akhgari
cd8af7ed45
Backed out changeset cfca6afaaf9b (bug 865806) because it doesn't speak the secret phrase "nsIDocumentInlines.h" (on a CLOSED TREE, because that's how I roll)
2013-05-31 13:08:55 -04:00
Ehsan Akhgari
2f767e9604
Bug 865806 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
...
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.
--HG--
extra : rebase_source : 6c0dba10c1ac4f08914632179e15c13c2ff271aa
2013-05-30 22:23:49 -04:00
Timothy Arceri
4edc7eae77
Bug 877409 - Replace depreciated GDK_ROOT_PARENT(). r=karlt
2013-05-31 11:48:33 -04:00
Ehsan Akhgari
e5a87be26a
Bug 865806 - Part 1: Continue walking up the frame tree when hitting a transparent frame as we're trying to determine whether a given element's background is dark or not; r=roc
...
This heuristic improvement gives us correct dark background detection in
pdf.js, among other cases.
--HG--
extra : rebase_source : 5a8f920da1b63f6452ec709745b2154b6fc17ceb
2013-05-30 14:27:57 -04:00
Kartikaya Gupta
e10ad61242
Bug 797615 - Guard against isBrowserContentDocumentDisplayed returning true prematurely. r=Cwiiis
...
Prior to this change, isBrowserContentDocumentDisplayed returned false
from the time that the isFirstPaint flag was set in layout to the time
that layout handed off the rendered document to the compositor. However
the way the function is used meant that it needs to return false until
the compositor actually composites the "first-paint" rendering,
otherwise other events can sneak in and run before the compositor. This
patch moves the tracking for the flag into GeckoLayerClient so that it
can be queried and modified synchronously from both the Gecko thread in
browser.js and the compositor thread in setFirstPaintViewport.
2013-05-30 09:55:23 -04:00
Kartikaya Gupta
310eebaf46
Bug 797615 - Cosmetic cleanup for the getDisplayPort JNI wrapper. r=Cwiiis
2013-05-30 09:55:08 -04:00
Timothy Arceri
b34c47ba20
Bug 877409 - Remove old GTK_CHECK_VERSION/gtk_check_version for versions of GTK already covered by the minimum GTK build requirement 2.10. r=karlt
2013-05-30 08:10:02 -04:00
Ryan VanderMeulen
7f7638884d
Bug 874689 - Re-delete files from merge conflict.
2013-05-30 07:51:23 -04:00
Ryan VanderMeulen
827fcbe731
Merge m-c to inbound.
2013-05-30 07:47:14 -04:00
Jacek Caban
761b7eb101
Bug 855975 - Include typo fix.
2013-05-30 11:52:14 +02:00
Oleg Romashin
bcc3049fc2
Bug 877191 - Gonk does not compile with later m-c on 4.6 compiler. r=mwu
...
From 0ff67b491787206102e3f079026bdb54339f69bf Mon Sep 17 00:00:00 2001
---
dom/system/gonk/GonkGPSGeolocationProvider.cpp | 6 +++---
dom/system/gonk/GonkGPSGeolocationProvider.h | 1 +
widget/gonk/nsIdleServiceGonk.h | 7 +++----
3 files changed, 7 insertions(+), 7 deletions(-)
2013-05-29 17:43:17 -07:00
Masayuki Nakano
7876b3cf4a
Bug 855975 part.22 Move sModifierKeyMap from nsWindowDefs.h to KeyboardLayout.h r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
c640b77df0
Bug 855975 part.21 Rename nsFakeCharMessage with widget::NativeKey::FakeCharMsg r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
cd49d4d2e3
Bug 855975 part.20 Sort out the scope of the methods of widget::NativKey r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
922f0b5231
Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
7551a416f9
Bug 855975 part.18 Merge widget::NativeKey::DispatchKeyDown() into widget::NativeKey::HandleKeyDown() r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
4c48e1c742
Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
1ab228a001
Bug 855975 part.16 Move keydown message redirect manager from nsWindow to widget::RedirectedKeyDownMessageManager r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
efc4a11cf0
Bug 855975 part.15 Use widget::NativeKey::mCommittedCharsAndModifiers directly in the methods of widget::NativeKey r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
0632e355e7
Bug 855975 part.14 Move following WM_*CHAR message handler from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventForFollowingCharMessage() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
ccb55145e2
Bug 855975 part.13 widget::NativeKey should manage following WM_*CHAR message if it's initialized with WM_*KEYDOWN r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
ef51fe1b90
Bug 855975 part.12 Move special keypress event handling from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsAndDiscardsCharMessages r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
5034f64df3
Bug 855975 part.11 Sort out the if statement which checks whether the native keydown message needs to be handled without following char messages r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
9f79fc90e0
Bug 855975 part.10 Move nsWindow::DispatchPluginEvent() to nsWindowBase r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
784d35b1d8
Bug 855975 part.9 Move keypress events dispatcher of nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsWithKeyboardLayout() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
ce806a1c37
Bug 855975 part.8 Move nsWindow::OnChar() to widget::NativeKey::HandleCharMessage() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
3482380faf
Bug 855975 part.7 Implement widget::NativeKey::DispatchKeyDownEvent() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
d555902428
Bug 855975 part.6 Move nsWindow::OnKeyUp() to widget::NativeKey::HandleKeyUpMessage() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
bdba6b134a
Bug 855975 part.5 Move nsWindow::DispatchKeyEvent() to widget::NativeKey::DispatchKeyEvent() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
06784d3861
Bug 855975 part.4 Move nsWindow::InitKeyEvent() to widget::NativeKey::InitKeyEvent() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
daf9f3cb8e
Bug 855975 part.3 Wrap MapVirtualKeyEx() API for converting VK to ScanCode with widget::KeyboardLayout r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
4b2966d23d
Bug 855975 part.2 Wrap MapVirtualKeyEx() API for converting native key event to VK or Unichar with widget::NativeKey r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
ba96c80c90
Bug 855975 part.1 Make widget::KeyboardLayout a singleton class r=jimm
2013-05-29 15:34:47 +09:00
André Reinald
fbbd7c5262
Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange
...
Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange
--HG--
extra : rebase_source : 002fdce7f49d852e567438481609be58dd76bcc4
2013-05-21 12:58:00 -07:00
André Reinald
3a7449434c
Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
...
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Ryan VanderMeulen
7b98f2c6d3
Backed out changesets 3c08a0d87dc5, b6147b141643, and a38ef60582d9 (bug 874689) for Android build bustage.
...
CLOSED TREE
2013-05-28 21:35:26 -04:00
Wes Johnston
85e49826ce
Bug 874689 - Move android file picker to a js component. r=mfinkle
2013-05-28 16:28:30 -07:00
Trevor Saunders
11be8dcfb7
backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE
2013-05-28 18:32:29 -04:00
Brian R. Bondy
8b50d41538
Bug 875609 - Refactor jump list code to decode images on the main thread. r=jimm
2013-05-28 14:08:48 -04:00
Brad Lassey
ac960c354c
bug 876270 - crash in mozilla::plugins::parent::_getvalue r=snorp
2013-05-28 12:49:04 -04:00