jiayl@webrtc.org
047abc93a2
Remove trailing null character from std::string
...
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/20159004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6923 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-18 20:48:15 +00:00
sergeyu@chromium.org
d402875fa5
Set updated_rect for frames generated by WindowCapturer implementationsw
...
Previous updated_rect wasn't set for frames generated by WindowCapturer
implementation. That makes them unustable with chromoting host that
uses update_rect. With that change the frames will always contain
updated_rect that coveras the whole frame.
Change by Ronak Vora <ronakvora@google.com>
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/22079004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6912 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-15 23:13:23 +00:00
jiayl@webrtc.org
bac5f0fb56
Fix an invalid memory access due to typo in win/cursor.cc.
...
BUG=crbug/391468
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/19949004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6698 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-15 20:32:03 +00:00
kjellander@webrtc.org
9bef551ba1
GN: Fix include paths for WebRTC in Chromium build.
...
Most WebRTC source files are using full paths for includes which
requires the root to be in the include path.
This is currently handled in the common_inherited_config config in
webrtc/BUILD.gn: the .. include_dir.
However, when built from Chromium, the include
paths are not inherited in the same way when building the all target.
Building the 'webrtc' target of Chrome works without the changes
in this CL, but the default target fails.
BUG=3441
TEST=Built the default target from a Chromium checkout with
https://codereview.chromium.org/321313006/ applied and
src/third_party/webrtc linked to the webrtc folder of the WebRTC
workspace.
R=brettw@chromium.org
Review URL: https://webrtc-codereview.appspot.com/15989004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6670 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-13 09:02:54 +00:00
jiayl@webrtc.org
10ef8fe611
Create FullScreenChromeWindowDetector in DesktopConfigurationOptions::CreateDefault.
...
BUG=crbug/385294
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/18759004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6640 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-09 19:41:32 +00:00
jiayl@webrtc.org
12b4efefdd
Implement a work around for Chrome full-screen tab switch on Mac.
...
Chrome creates a new window in full-screen and minimizes the old window when a tab is switched to full-screen.
We try to find the new window to continue capturing for window sharing.
BUG=crbug/385294
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/19839004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6629 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-08 22:05:24 +00:00
jiayl@webrtc.org
93426cd2ff
Implement BUILD.gn for desktop_capture.
...
BUG=3441
R=brettw@chromium.org , kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/13809004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6584 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-02 15:47:12 +00:00
kjellander@webrtc.org
1227ab89a7
GN: Add BUILD.gn files + kjellander to OWNERS
...
This should work as a foundation for all the work that is
left to do to make the parts of WebRTC that Chromium uses
to build with GN.
I implemented some the smaller modules myself in this CL.
The remaining work (TODO's in the .gn files) will be distributed
to various team members.
I'm adding myself to OWNERS files for BUILD.gn files in all the
directories where I'm adding a BUILD.gn file.
BUG=3441
TEST=
Successful compilation of WebRTC as standalone:
gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default
gn gen out/Default --args="build_with_chromium=false is_clang=true clang_use_chrome_plugins=false" && ninja -C out/Default
I built successfully from a Chromium checkout (with
https://codereview.chromium.org/321313006/ applied) using:
gn gen out/Default && ninja -C out/Default webrtc
R=brettw@chromium.org , niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/13749004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6523 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-23 19:21:07 +00:00
jiayl@webrtc.org
594aefa807
Do not call CaptureCursor in ScreenCapturerWinGdi if no MouseShapeObserver.
...
It's wasted work and affects frame rate adaptation in Chrome.
BUG=
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/19789004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6499 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-19 22:04:41 +00:00
jiayl@webrtc.org
b8f582591f
Use XErrorTrap in MouseCursorMonitorX11 to catch the error if the shared window has been closed.
...
BUG=crbug/374457
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/13599004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6359 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-06 21:42:00 +00:00
henrik.lundin@webrtc.org
2bd032e11c
Disable MouseCursorMonitorTest
...
Last attempt reverted. Trying again in a different way.
This CL effectively reverts r6300.
BUG=3245
TBR=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/20549004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6301 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-02 14:52:34 +00:00
henrik.lundin@webrtc.org
4ecae6e753
Disable MouseCursorMonitorTest.FromScreen
...
The test is flaky.
BUG=3245
TBR=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/21579004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6300 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-02 14:17:06 +00:00
andrew@webrtc.org
27e884cf47
Disable MouseCursorMonitorTest due to flake on Windows.
...
TBR=sergeyu
BUG=3408
Review URL: https://webrtc-codereview.appspot.com/15589005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6256 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-28 03:34:04 +00:00
henrike@webrtc.org
1bb5da04fe
Adds missing include of assert header.
...
BUG=3380
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/14569008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6221 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-22 14:31:14 +00:00
henrike@webrtc.org
88fbb2d86b
Switch to using base/constructormagic.h and remove system_wrappers/interface/constructor_magic.h.
...
Same as https://webrtc-codereview.appspot.com/19519004 . The issue in
http://chromegw.corp.google.com/i/internal.chromium.webrtc.fyi/builders/Linux ...
is solved by this change
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/libjingle/libjing ...
(tested locally).
BUG=3380
R=andrew@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/17619005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6218 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 21:18:46 +00:00
jiayl@webrtc.org
7ca277b574
Initializes WINDOWPLACEMENT::length in GetCroppedWindowRect.
...
BUG=https://code.google.com/p/webrtc/issues/detail?id=3196
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/21529004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6213 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 16:02:31 +00:00
mcasas@webrtc.org
2fa7f79094
Revert 6202 "Switch to using base/constructormagic.h and remove ..."
...
> Switch to using base/constructormagic.h and remove system_wrappers/interface/constructor_magic.h.
>
> BUG=N/A
> R=andrew@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/19519004
TBR=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/14579007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6210 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 11:07:29 +00:00
mcasas@webrtc.org
c2213b6a0f
Revert 6208 "Patch from henrike@webrtc.org"
...
Wasn't enough. I'll have to revert the whole rev 6202.
> Patch from henrike@webrtc.org
> https://code.google.com/p/webrtc/source/detail?r=6202
> didn't work for at least one file and broke most of
> the compile steps in the FYI bots. The file is reverted
> here.
>
> TBR= henrike@webrtc.org , sergeyu@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/17609004
TBR=mcasas@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/14579006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6209 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 10:03:09 +00:00
mcasas@webrtc.org
86df8acc92
Patch from henrike@webrtc.org
...
https://code.google.com/p/webrtc/source/detail?r=6202
didn't work for at least one file and broke most of
the compile steps in the FYI bots. The file is reverted
here.
TBR= henrike@webrtc.org , sergeyu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/17609004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6208 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 08:40:56 +00:00
henrike@webrtc.org
125ffd709d
Switch to using base/constructormagic.h and remove system_wrappers/interface/constructor_magic.h.
...
BUG=N/A
R=andrew@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/19519004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6202 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-20 15:20:44 +00:00
jiayl@webrtc.org
4220434d37
Implement the Windows screen capturer using the Magnification API.
...
The original ScreenCapturerWin is renamed ScreenCapturerWinGdi.
BUG=2789
TESTED=full desktop cast and single monitor cast works on win7 and win8 desktop mode. Have to use GDI capturer on win8 metro mode. Changing display configuration work on the fly.
R=sergeyu@chromium.org , wez@chromium.org
Committed: https://code.google.com/p/webrtc/source/detail?r=6048
Review URL: https://webrtc-codereview.appspot.com/12149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6053 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-05 16:08:47 +00:00
tina.legrand@webrtc.org
7dccce3948
Revert 6048 "Implement the Windows screen capturer using the Mag..."
...
> Implement the Windows screen capturer using the Magnification API.
> The original ScreenCapturerWin is renamed ScreenCapturerWinGdi.
>
> BUG=2789
> TESTED=full desktop cast and single monitor cast works on win7 and win8 desktop mode. Have to use GDI capturer on win8 metro mode. Changing display configuration work on the fly.
> R=sergeyu@chromium.org , wez@chromium.org
>
> Review URL: https://webrtc-codereview.appspot.com/12149004
TBR=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/15429005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6052 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-05 11:17:26 +00:00
jiayl@webrtc.org
b235c56017
Implement the Windows screen capturer using the Magnification API.
...
The original ScreenCapturerWin is renamed ScreenCapturerWinGdi.
BUG=2789
TESTED=full desktop cast and single monitor cast works on win7 and win8 desktop mode. Have to use GDI capturer on win8 metro mode. Changing display configuration work on the fly.
R=sergeyu@chromium.org , wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/12149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6048 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-03 00:16:29 +00:00
henrike@webrtc.org
f2aafe4355
Added include of assert.h for files calling assert but missing the include.
...
BUG=N/A
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/19409005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6022 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-29 17:54:17 +00:00
andrew@webrtc.org
8f69330310
Replace scoped_array<T> with scoped_ptr<T[]>.
...
scoped_array is deprecated. This was done using a Chromium clang tool:
http://src.chromium.org/viewvc/chrome/trunk/src/tools/clang/rewrite_scoped_ar ...
except for the few not-built-on-Linux files which were updated manually.
TESTED=trybots
BUG=2515
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/12429004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5985 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-25 23:10:28 +00:00
jiayl@webrtc.org
cc1ba15fe7
Returns a NULL frame on all platforms if the captured window is closed.
...
Part of the fix for crbug/360181.
On Mac/Linux, it previously continues capturing even if the window is closed.
Now it stops by returning a NULL frame.
On Windows, it used to stop capturing when the window is minimized. Now fixed to match other platforms.
Note: the crbug still needs a chrome side fix to close the notification bar.
This fix only stops the stream (i.e. stream onended event fired).
BUG=crbug/360181
TESTED=manually tested in Chrome
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/12329007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5977 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-24 23:45:56 +00:00
sergeyu@chromium.org
3d9ec1fed4
Fix multi-monitor support in the screen capturer for Mac.
...
This feature was broken in r5471.
BUG=361919
R=jiayl@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=5937
Review URL: https://webrtc-codereview.appspot.com/12109004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5942 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-19 00:25:35 +00:00
sergeyu@chromium.org
7d055a6e63
Revert r5937 "Fix multi-monitor support in the screen capturer for Mac."
...
This would break when rolled in chromium because some code in
chromium depends on the code I changed in that change.
TBR=jiayl@webrtc.org
BUG=361919
Review URL: https://webrtc-codereview.appspot.com/12199005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5940 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-18 23:45:38 +00:00
sergeyu@chromium.org
be7585b150
Fix multi-monitor support in the screen capturer for Mac.
...
This feature was broken in r5471.
BUG=361919
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/12109004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5937 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-18 18:22:41 +00:00
fischman@webrtc.org
2c89b5cb27
Make everyone an OWNER for .gyp/.gypi add/delete purposes, non-talk/ edition.
...
This CL brought to you by:
$ for d in $(for f in $(git ls-files '*gyp' '*gypi'); do dirname $f; done|sort|uniq|grep -v '^\.$'); do echo -e "\n# These are for the common case of adding or renaming files. If you're doing\n# structural changes, please get a review from a reviewer in this file.\nper-file *.gyp=*\nper-file *.gypi=*" >> $d/OWNERS; done
$ for d in $(for f in $(git ls-files '*gyp' '*gypi'); do dirname $f; done|sort|uniq|grep -v '^\.$'); do git add $d/OWNERS; done
(and then removed the talk/ impact)
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/11969004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5903 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-14 20:08:03 +00:00
jiayl@webrtc.org
8ce7c72456
Fix the captured screen rect conversion.
...
device_mode.dmPosition is already relative to the primary display's top-left, while the expected value of GetScreenRect() is also relative to the primary display's top-left.
TESTED=verified on Windows single monitor capturing and cursor capturing is fixed.
BUG=https://code.google.com/p/chromium/issues/detail?id=362631
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/11789006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5890 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-11 22:31:15 +00:00
sergeyu@chromium.org
74f6074ec1
Fix DesktopSize::is_empty() for the case when only width or only height is 0.
...
BUG=crbug.com/358909
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/11479004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5867 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-09 01:04:22 +00:00
jiayl@webrtc.org
f040bd8fa3
Fix a crash in WindowCapturereMac when capture() fails.
...
BUG=http://code.google.com/p/chromium/issues/detail?id=359985
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/11219004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5846 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-04 20:26:41 +00:00
jiayl@webrtc.org
7ee0c16edd
Makes ScreenCapturerMac exclude the window specified in DesktopCapturer::SetExcludedWindow.
...
No behavior change for now since Chromium has not been updated to call SetExcludedWindow.
BUG=2789
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/10299004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5792 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 15:57:43 +00:00
jiayl@webrtc.org
c8ac17ca04
Adjust the captured window rect when the window is maximized.
...
GetWindowRect includes the window frames for maximized window even they are off screen, causing content outside the window being captured falsely. The fix is to remove the left/right/bottom window frame from the captured rect. Mouse capturing is adjusted accordingly as well.
BUG=3076
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/10149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5732 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-20 00:06:41 +00:00
jiayl@webrtc.org
886c94f07c
Adds a method to WindowCapturer to bring a window to the front.
...
BUG=3071
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/10079004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5718 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-18 17:10:36 +00:00
pbos@webrtc.org
3ecc162d01
Remove std:: prefixes from C functions in webrtc/.
...
std::memcpy -> memcpy for instance. This change was motivated by a
compile report complaining that std::rand() was used instead of rand(),
probably with a stdlib.h include instead of cstdlib. Use of C functions
without the std:: prefix is a lot more common, so removing std:: to
address this.
BUG=
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/9549004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5658 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 15:23:34 +00:00
jiayl@webrtc.org
f0fc72f70e
Call PrintWindow for the first time of capturing to capture the window frames correctly.
...
This will fix artifacts on the captured window frames, especially for cmd, which
sometimes leaks glimpss of other window's content.
BUG=
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/8989004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5616 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-27 16:43:12 +00:00
jiayl@webrtc.org
0231e801d6
Invalidate the whole screen when the frame size is changed.
...
Otherwise we'll compare frames of different sizes and read into invalid
memory.
BUG=https://code.google.com/p/chromium/issues/detail?id=345498
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/9149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5614 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-26 18:54:57 +00:00
jiayl@webrtc.org
97e7a640d8
Make WindowCapturerLinux handling window resize events.
...
We need to re-initialize the XServerPixelBuffer to the new size
when a window resize event is received.
BUG=https://code.google.com/p/chromium/issues/detail?id=339953
R=sergeyu@chromium.org , wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/8679004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5578 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-19 17:28:41 +00:00
sergeyu@chromium.org
e384104166
Fix DesktopAndCursorComposer not to crash
...
DesktopAndCursorComposer was crashing when screen/window
capturer returns a NULL frame due to an error.
BUG=crbug.com/344093
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/8769004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5573 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-18 23:26:34 +00:00
sergeyu@chromium.org
ad3035fc9e
Fix WindowCapturerWin to unselect bitmap before destroying DC.
...
BUG=https://code.google.com/p/webrtc/issues/detail?id=2901
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/8229004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5504 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-07 21:24:04 +00:00
jiayl@webrtc.org
20a60ea39d
Fix a cursor capturing issue on Windows.
...
The input position to WindowFromPoint should be relative to the desktop, not
relative to the window; if the result from WindowFromPoint is a child window
of the shared top window, it should be captured.
BUG=
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7959004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5487 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-04 17:49:12 +00:00
jiayl@webrtc.org
1af5ea0538
Implement single monitor capture on Mac.
...
BUG=2787, 2824
TESTED=MacBook Pro Retina with an external monitor; verified changing display configuration while capturing; add/remove monitor while capturing; verified cursor position.
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7479004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5471 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-01 02:03:24 +00:00
jiayl@webrtc.org
bda5fa77af
Fix the mouse cursor offset issue on Mac.
...
The problem is that MouseCursorMonitor returns coordinates in DIPs, while DisplayAndMouseComposer assumes that they are in physical pixels. The fix is to convert the position to physical pixels in MouseCursorMonitorMac.
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7739006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5463 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-30 23:27:35 +00:00
jiayl@webrtc.org
cf1b51b6fb
Moves the display reconfiguration callback into a separate class,
...
so that it can be shared with the cursor monitor when single monitor capturing
is added (https://webrtc-codereview.appspot.com/4679005/ ).
This Cl should have no functionality change.
BUG=2253
R=henrike@webrtc.org , sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7599004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5461 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-29 21:59:12 +00:00
jiayl@webrtc.org
4985927d36
Implement screen enumeration and individual screen capturing for Windows.
...
BUG=2787
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7239004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5399 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-17 17:19:16 +00:00
sergeyu@chromium.org
fb4e256d49
Fix crash in MouseCursor::CopyOf()
...
This issue was causing test failures with the latest webrtc roll.
R=mallinath@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/7249005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5392 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-16 04:45:35 +00:00
mallinath@webrtc.org
7a2ca7c621
Update needed to MockScreenCapturer after new methods addition to webrtc::ScreenCapturer.
...
This change is also must for rolling webrtc in chrome.
R=jiayl@webrtc.org
TBR=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7219004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5389 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-15 19:00:13 +00:00
jiayl@webrtc.org
017b619010
Extends the ScreenCapturer interface for individual display screen cast.
...
Real implementations for each platform will be added in future CLs.
BUG=2787
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/6819005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5386 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-14 18:26:37 +00:00