Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Issue 666123003: Mac: Use Mavericks occlusion APIs for power savings. (Closed)

Created:
6 years, 1 month ago by Andre
Modified:
6 years, 1 month ago
Reviewers:
miu, ccameron
CC:
chromium-reviews, James Su, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Mac: Use Mavericks occlusion APIs for power savings. Use NSWindowDidChangeOcclusionStateNotification (new in 10.9 Mavericks) to detect when the application is hidden, the window is minimized or obscured by another window. BUG=310374

Patch Set 1 #

Patch Set 2 : Fix for ccameron #

Patch Set 3 : Call WebContents::WasHidden #

Patch Set 4 : Move occlusion handling to WebContentsViewMac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -5 lines) Patch
M base/mac/sdk_forward_declarations.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M base/mac/sdk_forward_declarations.mm View 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_view_mac.mm View 1 2 3 2 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Andre
miu@, ccameron@, PTAL. I'm not familiar with tab capture, do I need to do something ...
6 years, 1 month ago (2014-10-27 22:47:25 UTC) #2
ccameron
This may be too heavyweight -- the call to WasHidden will cause the CALayer displaying ...
6 years, 1 month ago (2014-10-27 22:54:50 UTC) #3
Andre
On 2014/10/27 22:54:50, ccameron1 wrote: > This may be too heavyweight -- the call to ...
6 years, 1 month ago (2014-10-27 23:18:06 UTC) #4
ccameron
On 2014/10/27 23:18:06, Andre wrote: > On 2014/10/27 22:54:50, ccameron1 wrote: > > This may ...
6 years, 1 month ago (2014-10-27 23:44:37 UTC) #5
ccameron
On 2014/10/27 23:44:37, ccameron1 wrote: > On 2014/10/27 23:18:06, Andre wrote: > > On 2014/10/27 ...
6 years, 1 month ago (2014-10-28 00:37:32 UTC) #6
miu
On 2014/10/28 00:37:32, ccameron1 wrote: > On 2014/10/27 23:44:37, ccameron1 wrote: > > On 2014/10/27 ...
6 years, 1 month ago (2014-10-28 04:01:14 UTC) #7
Andre
On 2014/10/28 04:01:14, miu wrote: > On 2014/10/28 00:37:32, ccameron1 wrote: > > On 2014/10/27 ...
6 years, 1 month ago (2014-10-28 18:20:56 UTC) #8
miu
On 2014/10/28 18:20:56, Andre wrote: > I think we should do this so that it ...
6 years, 1 month ago (2014-10-28 20:15:06 UTC) #9
Andre
On 2014/10/28 20:15:06, miu wrote: > On 2014/10/28 18:20:56, Andre wrote: > > I think ...
6 years, 1 month ago (2014-10-28 21:30:15 UTC) #10
miu
Is this change being discontinued? ...in favor of: https://codereview.chromium.org/684343002
6 years, 1 month ago (2014-10-30 18:35:32 UTC) #12
Andre
6 years, 1 month ago (2014-10-30 18:36:17 UTC) #13
On 2014/10/30 18:35:32, miu wrote:
> Is this change being discontinued?  ...in favor of:
> https://codereview.chromium.org/684343002

Yes. Closing.

Powered by Google App Engine
This is Rietveld 408576698