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

Unified Diff: build/common.gypi

Issue 23116003: Adds PrintingContext implementation stub for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses code reviews. Disables printing for WebView Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index e95efab42161e09983192743e7a563b6ec727cbf..5e62317eb4c24f3c173ca2ff4ecc01eed8c50d07 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -523,7 +523,6 @@
'enable_automation%': 0,
'enable_extensions%': 0,
'enable_google_now%': 0,
- 'enable_printing%': 0,
'enable_spellcheck%': 0,
'enable_themes%': 0,
'proprietary_codecs%': 1,
@@ -534,6 +533,15 @@
'native_memory_pressure_signals%': 1,
}],
+ # Enable basic printing for Chrome for Android but disable printing
+ # completely for WebView.
+ ['OS=="android" and android_webview_build==0', {
+ 'enable_printing%': 2,
+ }],
+ ['OS=="android" and android_webview_build==1', {
+ 'enable_printing%': 0,
+ }],
+
# Enable autofill dialog for Android, Mac and Views-enabled platforms.
['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS=="mac"', {
'enable_autofill_dialog%': 1
« no previous file with comments | « no previous file | chrome/android/testshell/testshell_stubs.cc » ('j') | chrome/browser/printing/print_view_manager_basic.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698