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

Issue 10540033: Add ENABLE_PRINTING and disable it on Android. (Closed)

Created:
8 years, 6 months ago by Xianzhu
Modified:
8 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Add ENABLE_PRINTING and disable it on Android. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141353

Patch Set 1 #

Total comments: 2

Patch Set 2 : v2 #

Patch Set 3 : In gyps #

Total comments: 8

Patch Set 4 : Updates. Exclude resources #

Total comments: 4

Patch Set 5 : Arrange some ifdefs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -61 lines) Patch
M build/common.gypi View 1 2 3 6 chunks +16 lines, -7 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 5 chunks +18 lines, -14 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 2 chunks +22 lines, -18 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/common/chrome_utility_messages.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/pepper/ppb_pdf_impl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 chunk +8 lines, -8 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M printing/printing.gyp View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Xianzhu
8 years, 6 months ago (2012-06-06 20:15:14 UTC) #1
sky
LGTM https://chromiumcodereview.appspot.com/10540033/diff/1/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://chromiumcodereview.appspot.com/10540033/diff/1/chrome/browser/browser_about_handler.cc#newcode49 chrome/browser/browser_about_handler.cc:49: #if defined(ENABLE_PRINTING) Move this to to the bottom ...
8 years, 6 months ago (2012-06-06 20:51:58 UTC) #2
Xianzhu
https://chromiumcodereview.appspot.com/10540033/diff/1/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://chromiumcodereview.appspot.com/10540033/diff/1/chrome/browser/browser_about_handler.cc#newcode49 chrome/browser/browser_about_handler.cc:49: #if defined(ENABLE_PRINTING) On 2012/06/06 20:51:58, sky wrote: > Move ...
8 years, 6 months ago (2012-06-06 20:57:01 UTC) #3
Xianzhu
In the new patch set, also changed some gyp files to exclude printing when enable_printing!=1.
8 years, 6 months ago (2012-06-06 22:03:03 UTC) #4
Elliot Glaysher
profile lgtm
8 years, 6 months ago (2012-06-06 22:05:23 UTC) #5
brettw
We don't want ifdefs that we plan on keeping around forever. What is the reason ...
8 years, 6 months ago (2012-06-06 22:48:05 UTC) #6
Xianzhu
On 2012/06/06 22:48:05, brettw wrote: > We don't want ifdefs that we plan on keeping ...
8 years, 6 months ago (2012-06-07 01:45:27 UTC) #7
Lei Zhang
On 2012/06/07 01:45:27, Xianzhu wrote: > On 2012/06/06 22:48:05, brettw wrote: > > We don't ...
8 years, 6 months ago (2012-06-07 01:47:43 UTC) #8
brettw
lgtm
8 years, 6 months ago (2012-06-08 18:19:03 UTC) #9
Lei Zhang
http://codereview.chromium.org/10540033/diff/5001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): http://codereview.chromium.org/10540033/diff/5001/chrome/browser/browser_about_handler.cc#newcode81 chrome/browser/browser_about_handler.cc:81: chrome::kChromeUIPrintHost, Can you also change the reference to kChromeUIPrintHost ...
8 years, 6 months ago (2012-06-08 19:08:40 UTC) #10
Xianzhu
Thanks Lei. In the new patch set I also exclude the printing resources. http://codereview.chromium.org/10540033/diff/5001/chrome/browser/browser_about_handler.cc File ...
8 years, 6 months ago (2012-06-08 22:50:43 UTC) #11
Lei Zhang
FYI, there's more print resources in chrome/app/*.grd. http://codereview.chromium.org/10540033/diff/5001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/10540033/diff/5001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode1175 webkit/plugins/ppapi/ppapi_plugin_instance.cc:1175: #if defined(USE_SKIA) ...
8 years, 6 months ago (2012-06-08 23:24:52 UTC) #12
Xianzhu
> FYI, there's more print resources in chrome/app/*.grd. Will do it in a separate change ...
8 years, 6 months ago (2012-06-09 00:51:30 UTC) #13
Lei Zhang
lgtm
8 years, 6 months ago (2012-06-09 00:57:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/10540033/6018
8 years, 6 months ago (2012-06-09 01:20:12 UTC) #15
commit-bot: I haz the power
8 years, 6 months ago (2012-06-09 06:04:04 UTC) #16
Change committed as 141353

Powered by Google App Engine
This is Rietveld 408576698