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

Issue 871403005: Switch the background color in PDF Viewer when using Material Design (Closed)

Created:
5 years, 10 months ago by Alexandre Carlton
Modified:
5 years, 10 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch the background color in PDF Viewer when using Material Design BUG=110020 Committed: https://crrev.com/04594412237a169189b3bd2b2f35d51bab6a391d Cr-Commit-Position: refs/heads/master@{#314108}

Patch Set 1 #

Patch Set 2 : Rearrange function declarations #

Total comments: 7

Patch Set 3 : Move default background colors into {out_of_process_,}instance.cc #

Total comments: 2

Patch Set 4 : Send through 'is-material' only when using Material Design #

Patch Set 5 : Change background-color in index-material.css #

Total comments: 4

Patch Set 6 : Fix nits #

Total comments: 2

Patch Set 7 : Initialise background color to 0. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -9 lines) Patch
M chrome/browser/resources/pdf/index-material.css View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M pdf/instance.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M pdf/out_of_process_instance.cc View 1 2 3 4 5 5 chunks +15 lines, -2 lines 0 comments Download
M pdf/pdf_engine.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M pdf/pdfium/pdfium_engine.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 1 2 3 4 5 6 6 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Alexandre Carlton
https://codereview.chromium.org/871403005/diff/20001/pdf/pdf_engine.h File pdf/pdf_engine.h (right): https://codereview.chromium.org/871403005/diff/20001/pdf/pdf_engine.h#newcode35 pdf/pdf_engine.h:35: const uint32 kBackgroundColorMaterial = 0xFFEEEEEE; raymes@: I am hesitant ...
5 years, 10 months ago (2015-01-29 04:48:56 UTC) #2
raymes
https://codereview.chromium.org/871403005/diff/20001/pdf/out_of_process_instance.cc File pdf/out_of_process_instance.cc (right): https://codereview.chromium.org/871403005/diff/20001/pdf/out_of_process_instance.cc#newcode334 pdf/out_of_process_instance.cc:334: const char* isMaterial = NULL; is_material https://codereview.chromium.org/871403005/diff/20001/pdf/out_of_process_instance.cc#newcode343 pdf/out_of_process_instance.cc:343: isMaterial ...
5 years, 10 months ago (2015-01-29 05:26:32 UTC) #3
Alexandre Carlton
https://codereview.chromium.org/871403005/diff/20001/pdf/out_of_process_instance.cc File pdf/out_of_process_instance.cc (right): https://codereview.chromium.org/871403005/diff/20001/pdf/out_of_process_instance.cc#newcode334 pdf/out_of_process_instance.cc:334: const char* isMaterial = NULL; On 2015/01/29 05:26:32, raymes ...
5 years, 10 months ago (2015-01-29 06:05:17 UTC) #4
raymes
lgtm https://codereview.chromium.org/871403005/diff/80001/pdf/instance.cc File pdf/instance.cc (right): https://codereview.chromium.org/871403005/diff/80001/pdf/instance.cc#newcode371 pdf/instance.cc:371: nit: Maybe move that line down here so ...
5 years, 10 months ago (2015-01-30 03:41:00 UTC) #5
Alexandre Carlton
https://codereview.chromium.org/871403005/diff/80001/pdf/instance.cc File pdf/instance.cc (right): https://codereview.chromium.org/871403005/diff/80001/pdf/instance.cc#newcode371 pdf/instance.cc:371: On 2015/01/30 03:41:00, raymes wrote: > nit: Maybe move ...
5 years, 10 months ago (2015-01-30 03:53:42 UTC) #6
Sam McNally
https://codereview.chromium.org/871403005/diff/100001/pdf/pdfium/pdfium_engine.h File pdf/pdfium/pdfium_engine.h (right): https://codereview.chromium.org/871403005/diff/100001/pdf/pdfium/pdfium_engine.h#newcode687 pdf/pdfium/pdfium_engine.h:687: uint32 background_color_; Is this initialized anywhere?
5 years, 10 months ago (2015-02-02 00:50:52 UTC) #7
Alexandre Carlton
https://codereview.chromium.org/871403005/diff/100001/pdf/pdfium/pdfium_engine.h File pdf/pdfium/pdfium_engine.h (right): https://codereview.chromium.org/871403005/diff/100001/pdf/pdfium/pdfium_engine.h#newcode687 pdf/pdfium/pdfium_engine.h:687: uint32 background_color_; On 2015/02/02 00:50:52, Sam McNally wrote: > ...
5 years, 10 months ago (2015-02-02 01:51:39 UTC) #8
Sam McNally
lgtm
5 years, 10 months ago (2015-02-02 06:09:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871403005/120001
5 years, 10 months ago (2015-02-02 06:37:33 UTC) #11
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-02 08:09:26 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 08:10:18 UTC) #13
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/04594412237a169189b3bd2b2f35d51bab6a391d
Cr-Commit-Position: refs/heads/master@{#314108}

Powered by Google App Engine
This is Rietveld 408576698