| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/11316367
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172715 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/11530005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172552 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Try fallback to PRINTER_INFO_2 and return predefined values.
BUG=161772
Review URL: https://chromiumcodereview.appspot.com/11531003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172404 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many things were calling IsMetroProcess() when the intent was really to turn things ON/OFF for Metro Chrome, this does not apply to Metro Ash however.
Details of how this has been decoupled can be found at https://docs.google.com/spreadsheet/ccc?key=0AtwXJ4IPPZBAdEdaWUpLYk9IM3I1bTJleFJobXN3Z2c (more decoupling will be needed later and has been listed in separate columns on this spreadsheet; however for now this CL only applies the first column).
Also introduces win8_util where some other win8-specific things currently in base should eventually also be refactored into.
BUG=151718
TEST=This makes a bunch of things just work now in Metro Ash :).
Review URL: https://chromiumcodereview.appspot.com/11411286
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171366 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
R=vandebo@chromium.org
BUG=163454
Depends on: https://codereview.chromium.org/11428099/
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11316263
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170878 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't return false if PRINTER_INFO_9 is not available.
More logging in GetPrinterSemanticCapsAndDefaults.
BUG=161772
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11428058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170396 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Also add to base namespace.
BUG=
Review URL: https://codereview.chromium.org/11359217
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168281 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/11366229
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Old implementation with gfx::RenderText had issues with fallback fonts. Sandbox does not allow to read required information from registry.
Also WebKit inplementation is smaller and more readable.
BUG=152893, 108599, 133548
TEST=manual: make sure that main content with or without headers is in the same place (default margin is exception). Make sure that any custom margins and paper layout produce reasonable result. If margins are to small, header and footer should be hidden.
Review URL: https://chromiumcodereview.appspot.com/11359020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167311 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that OWNERS supports per-file owners, we can limit the scope of the
top-level wildcard to just DEPS, and make darin and ben owners for
everything else and remove the broad use of "set noparent".
R=ben@chromium.org, darin@chromium.org
BUG=88315
Review URL: https://codereview.chromium.org/11191038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163069 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed incorect transformation in RasterizeAlphaBlendProc.
BUG=152204
Review URL: https://chromiumcodereview.appspot.com/11078018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161713 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
ScopedCOMInitializer, pulled out separately to make review easier.
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/10991052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159526 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is upstreaming Gentoo Linux patch,
fixing breakage from https://chromiumcodereview.appspot.com/10941025/
TBR=vitalybuka,abodenha
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10986080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159235 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=65469
Review URL: https://chromiumcodereview.appspot.com/10963050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158198 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=65469
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10963050
TBR=vitalybuka@chromium.org
Review URL: https://codereview.chromium.org/10968051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158194 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=65469
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10963050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158193 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
net_unittests do) instead of checking for toolkit_uses_gtk.
TBR=vandebo
Review URL: https://codereview.chromium.org/10963008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157752 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Some drivers can't handle long titles or control characters.
BUG=65469
Review URL: https://chromiumcodereview.appspot.com/10941025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157715 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
According http://lists.apple.com/archives/printing/2011/Nov/msg00001.html PMPaperGetPPDPaperName should provide better result than just size.
BUG=145237
Review URL: https://chromiumcodereview.appspot.com/10918117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
supported OS X 10.5 check.
Review URL: https://chromiumcodereview.appspot.com/10908022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155483 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
printing/backend/cups_helper.cc wasn't compiling on Linux with gcc 4.6.
TBR=gene
Review URL: https://chromiumcodereview.appspot.com/10905147
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155360 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved OS specific code into OS specific print backends (vs. print_system_task_proxy.cc).
On Windows get capabilities using native API (vs. XPS parsing)
Some clean up on code and interfaces for Print Backend.
BUG=144031
TEST=Verify Print Preview on ALL platforms (Win XP, Win 7, Linux, Mac).
Review URL: https://chromiumcodereview.appspot.com/10905006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155310 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=144051
Review URL: https://chromiumcodereview.appspot.com/10870003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153342 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
about:flag as workaround for affected users.
Rasterisation is implemented and RasterizeMetafile function.
It replace metafile with new one where content is only bitmap created by playback of original metafile.
FlattenTransparency replaced with full rasterisation.
Fixed rectangle returned by Emf::GetPageBounds.
Removed SkDevice::AlphaBlendUsed().
Removed return value from PrintWebViewHelper::RenderPage on windows.
BUG=133527
Review URL: https://chromiumcodereview.appspot.com/10836330
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152681 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
to access printer.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10827334
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=136041
TEST=Make sure metro print actions are logged as histograms.
Review URL: https://chromiumcodereview.appspot.com/10831272
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151285 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=137676
TBR=jamiewalch,tony
Review URL: https://chromiumcodereview.appspot.com/10825302
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151142 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use ulocdata_getPaperSize to get the preferred paper size for
a region. The error handling for the call assumed that a value other
than U_ZERO_ERROR was an error. This is incorrect. The function sometimes
returns a warning (negative value). When that happens, the error handling
code defaulted to 8.5x11 pages.
This CL changes the error handling to no longer treat a warning as an error.
BUG=140821
TEST=Set display language to English(UK). Print a web page and choose to save as PDF. Verify that the saved PDF is A4.
Review URL: https://chromiumcodereview.appspot.com/10834217
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150447 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For problem description and other info please see the BUG page.
This is for DictionaryValue.
BUG=138946
TEST=N/A (no fix & no new feature)
TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr
Review URL: https://chromiumcodereview.appspot.com/10834004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
and job id wherever possible
BUG=138602
TEST=
Review URL: https://chromiumcodereview.appspot.com/10808086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Print preview currently keeps settings "sticky" within a single browser session
so that if the user chooses a printer or settings it will be remembered
the next time preview is launched.
This CL extends that behavior to make the settings stick across multiple
sessions.
BUG=111957
TEST=Enable flag. Verify that all print preview settings that are sticky within a session are sticky across sessions.
Review URL: https://chromiumcodereview.appspot.com/10780004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147142 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=134256
TEST=Make sure there are no way to open the system's print dialog in Chrome when running in Metro. The print device charm should be shown instead.
Review URL: https://chromiumcodereview.appspot.com/10701155
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146399 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10702144
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146328 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now expose a print destination interface (not quite complete yet) to bypass the current print flow so that the metafile bits get sent to Metro instead of the print spooler. Other changes will come to make this more complete, e.g., pass in the destination object from the metro module, and expose print settings on the destination interface.
BUG=125675
TEST=Make sure you can still print as usual outside the Metro world.
Review URL: https://chromiumcodereview.appspot.com/10483006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144943 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
this because EndPage clips page with current clipping region.
BUG=71509
TEST=unittest
Review URL: https://chromiumcodereview.appspot.com/10557019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143119 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
the destination page.
BUG=93303,132922
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10560021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142824 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10540033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141353 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=127931
TEST=none
TBR=willchan, wez, abodenha
Review URL: https://chromiumcodereview.appspot.com/10441124
TBR=rvargas@google.com
Review URL: https://chromiumcodereview.appspot.com/10516004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140417 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=127931
TEST=none
TBR=willchan, wez, abodenha
Review URL: https://chromiumcodereview.appspot.com/10441124
TBR=rvargas@google.com
Review URL: https://chromiumcodereview.appspot.com/10454100
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139905 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=127931
TEST=none
TBR=willchan, wez, abodenha
Review URL: https://chromiumcodereview.appspot.com/10441124
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139885 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This provides basic tracking of handles for XP.
BUG=127931
TEST=none
TBR=abodenha, wez
Review URL: https://chromiumcodereview.appspot.com/10453082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139736 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
the parent GtkWidget instead and locate a parent window from that.
http://crbug.com/129187
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10436002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138714 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
cloudprint connector.
BUG=127858
TEST=add 'cups_encryption' filed to 'Service State' file in print settings section. Value should be 0..4 (see http_encryption_t for possible values).
Review URL: https://chromiumcodereview.appspot.com/10399050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137550 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=85132
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10083060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137498 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
remoting, and sync.
BUG=none
TEST=none
TBR=brettw,hclam,akalin,abodenha
Review URL: https://chromiumcodereview.appspot.com/10387107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137376 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
No intended behavior change.
BUG=none
TEST=none
TBR=hans
Review URL: https://chromiumcodereview.appspot.com/10383207
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137374 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the current setup, if you have a header file my_class.h
class BASE_EXPORT MyClass {
public:
void MyInlineMethod() { /* do stuff, inline */ }
};
then every cc file that includes my_class.h will have a public symbol
for MyInlineMethod (because inline methods need to be emitted to
every translation unit, and the linker sorts them out). With the
components build, the linker can't decide to drop these inline methods,
so every .so that uses this header file will have the same public symbol.
With this proposed change, the symbol will only be visible in the target
the header file belongs to, and it will be hidden in all other components.
That's cleaner, and it also prevents accident hidden dependencies (say
target A depends on B, and B depends on C. A accidentally uses an inline
function from a class in C. With this change, that would result in a linker
error, and an explicit dependency from A on C would have to be added).
Also add a missing CHROMEOS_IMPLEMENTATION define which went
unnoticed until now.
BUG=90078
TEST=Things still build.
TBR=ben, tony, viettrungluu, thestig, agl, willchan
Review URL: https://chromiumcodereview.appspot.com/10386108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137130 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of using TLS and static function, pass scaling in the skia dictionary.
BUG=125499
TEST=Make sure printing is working.
Review URL: https://chromiumcodereview.appspot.com/10387022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136055 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not the nicest fix, but it should do the job. Now, we'll try to use default scaling (72dpi) whenever we can.
If sceen resolution droped below the point where metafile can't accomodate whole PDF page anymore, we'll use this
hack to pass custom scale in the TLS for the upper layer.
BUG=125499
TEST=Print PDF using print preview and system print dialog. Same for webpage. Make screen resolution 800x600 and repeat.
Review URL: http://codereview.chromium.org/10348002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135241 0039d316-1c4b-4281-b951-d872f2087c98
|