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

Issue 9353012: Add a switch to invert web contents (non-accel only). (Closed)

Created:
8 years, 10 months ago by dmazzoni
Modified:
8 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Add a switch to invert web contents (non-accel only). The switch will just be used during development of this feature. The idea is for this to be turned automatically for Windows users who enable an inverted (white-on-black) color scheme - see bug for detail. This first patch only handles the non-accelerated graphics path; a subsequent change will handle the accelerated path. BUG=112944 TEST=manually test with --invert-web-contents switch Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120928 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121541 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=121715

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments from vandebo #

Patch Set 3 : patch for landing, now that skia change is in #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -1 line) Patch
M content/browser/renderer_host/render_view_host.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 6 chunks +48 lines, -1 line 0 comments Download
M skia/skia.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dmazzoni
vandebo: skia.gyp and the new skia code in render_widget.cc avi: new ipc, new switch
8 years, 10 months ago (2012-02-07 16:14:28 UTC) #1
Avi (use Gerrit)
IPC, switch LGTM I had an initial question as to why you're doing it this ...
8 years, 10 months ago (2012-02-07 16:29:04 UTC) #2
dmazzoni
On 2012/02/07 16:29:04, Avi wrote: > I had an initial question as to why you're ...
8 years, 10 months ago (2012-02-07 16:36:18 UTC) #3
Avi (use Gerrit)
Hm. I didn't realize you were using GDI to do the blitting, but thought you ...
8 years, 10 months ago (2012-02-07 16:39:07 UTC) #4
dmazzoni
On 2012/02/07 16:39:07, Avi wrote: > When we move Chrome Win to Aura, we should ...
8 years, 10 months ago (2012-02-07 16:51:42 UTC) #5
Avi (use Gerrit)
Eeek, I meant that we should be able to get that feature in for nearly ...
8 years, 10 months ago (2012-02-07 17:25:30 UTC) #6
vandebo (ex-Chrome)
Would it make more sense to draw as usual and then invert the result just ...
8 years, 10 months ago (2012-02-07 17:57:11 UTC) #7
dmazzoni
On Tue, Feb 7, 2012 at 9:57 AM, <vandebo@chromium.org> wrote: > Would it make more ...
8 years, 10 months ago (2012-02-07 21:00:11 UTC) #8
vandebo (ex-Chrome)
LGTM
8 years, 10 months ago (2012-02-07 21:06:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/9353012/6001
8 years, 10 months ago (2012-02-08 00:28:42 UTC) #10
commit-bot: I haz the power
Change committed as 120928
8 years, 10 months ago (2012-02-08 02:51:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/9353012/13001
8 years, 10 months ago (2012-02-10 19:50:52 UTC) #12
commit-bot: I haz the power
8 years, 10 months ago (2012-02-10 21:35:28 UTC) #13
Change committed as 121541

Powered by Google App Engine
This is Rietveld 408576698