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

Issue 11642052: Allow NPAPI & Trusted Broker plugins access to OS-level HighDPI APIs (Closed)

Created:
8 years ago by Wez
Modified:
7 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

Allow NPAPI & Trusted Broker plugins access to OS-level HighDPI APIs. As per crrev.com/10069029, OS 10.7.3 and above report low-DPI to processes that lack an NSPrincipalClass key in their manifest. Because Chromium Helper processes lacked this key, NPAPI or Trusted Broker plugins they hosted could not use the OS HighDPI APIs. This CL adds the key to Chromium's Helper process plist, so that APIs such as -[NSScreen backingScaleFactor] will now return 2 under HighDPI. Note that NPAPI plugins still can't paint HighDPI surfaces yet because chrome doesn't implement the NPAPI ContentsScaleFactor specification (see crbug.com/31960). BUG=167209 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174811

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/app/helper-Info.plist View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/mac/helper-Info.plist View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Wez
PTAL
8 years ago (2012-12-21 01:01:11 UTC) #1
Nico
The CL description is misguiding. I'd say "Give NPAPI plugins a NSPrincipalClass entry, giving them ...
8 years ago (2012-12-21 22:27:36 UTC) #2
wez1
On 2012/12/21 22:27:36, Nico wrote: > The CL description is misguiding. I'd say > > ...
8 years ago (2012-12-21 23:44:51 UTC) #3
stuartmorgan
LGTM. I wouldn't expect any plugins would be negatively impacted (but as I noted in ...
7 years, 11 months ago (2012-12-31 09:02:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/11642052/1
7 years, 11 months ago (2012-12-31 09:37:07 UTC) #5
commit-bot: I haz the power
Presubmit check for 11642052-1 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2012-12-31 09:37:09 UTC) #6
Nico
chrome lgtm +avi for content/
7 years, 11 months ago (2013-01-02 15:11:24 UTC) #7
Avi (use Gerrit)
lgtm stampety stamp
7 years, 11 months ago (2013-01-02 15:34:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/11642052/1
7 years, 11 months ago (2013-01-02 15:40:46 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-02 18:02:29 UTC) #10
Message was sent while issue was closed.
Change committed as 174811

Powered by Google App Engine
This is Rietveld 408576698