Commit Graph

6284 Commits

Author SHA1 Message Date
Mike Conley
6c8c4ba349 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-03 17:37:42 -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
Matthew Noorenberghe
87139eb2a8 Merge mozilla-central to UX 2013-06-01 02:45:51 -07: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
Mike Conley
77dd7811df Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-29 17:41:40 -04:00
Phil Ringnalda
8e825b148c Merge m-c to a CLOSED TREE ux 2013-05-27 11:48:20 -07:00
Mike Conley
7617561a54 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-27 11:19:45 -04:00
Markus Stange
f7fc095cf6 Bug 875441 - Don't keep reapplying the 2x scale in HiDPI mode when drawing the titlebar buttons. r=mattwoodrow 2013-05-24 08:12:27 +02:00
Markus Stange
285e12fc85 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Markus Stange
9380966609 Bug 676241 part 7: Update comments. 2013-05-23 16:49:17 +02:00
Markus Stange
72e75912d9 Bug 676241 part 6/9/11: Correct titlebar drawing. r=bgirard, r=smichaud, r=mattwoodrow 2013-05-23 16:49:17 +02:00
Markus Stange
7851b8fd75 Bug 676241 part 5: Don't invalidate unnecessarily in OMTC mode. r=mattwoodrow 2013-05-23 16:55:50 +02:00
Markus Stange
b2a22686ee Bug 676241 part 4: Make the window's contentView cover the whole window in drawsContentsIntoWindowFrame mode. r=smichaud 2013-05-23 16:49:17 +02:00
Markus Stange
984433de28 Bug 676241 - Back out _drawTitleBar swizzling from UX (originally landed in bug 865374 and bug 868211) because it's no longer necessary. 2013-05-23 19:53:03 +02:00
Markus Stange
84bc187aa5 Bug 676241 part 3: Remove titlebar drawing. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
12928bef3d Bug 676241 part 2: Remove titlebar event redirection. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
79c2a9aeb5 Bug 676241 part 1: Don't draw rounded corners in -moz-appearance titlebar / toolbar rendering. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
304324b038 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Mike Conley
2a59bbb0d2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-23 09:39:09 -04: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