| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This patch was mostly autogenerated with
https://codereview.chromium.org/1010073002/.
BUG=465354
Review URL: https://codereview.chromium.org/1144153004
Cr-Commit-Position: refs/heads/master@{#332440}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Namespace change only, no functionality change.
The only non-search-and-replace change is in generate_gmock_mutant.py which changes some line wrapping logic for the generated gmock_mutant header.
NOPRESUBMIT=true
(No presubmit due to long lines in the generated gmock_mutant.h header).
R=sky
Review URL: https://codereview.chromium.org/1159553007
Cr-Commit-Position: refs/heads/master@{#332058}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed for Blink to determine whether or not a frame can be
accessed via the window indexed getters (window[num]) and named
getters (window["name"]). Previously, Blink simply inspected the
tree scope of the frame's owner element and checked that it matched
the tree scope of the parent document. This breaks down in the case
of remote frames, since the document and owner element are not
available in the same process.
Since this information is determined at frame creation and cannot
change, Blink will rely on the embedder to forward this information
through frame replication. This CL is mostly straightforward
plumbing changes, but required updating lots of call sites and
function signatures.
BUG=473518
TBR=sky,tommycli,thestig,kalman,jrummell
Review URL: https://codereview.chromium.org/1141283002
Cr-Commit-Position: refs/heads/master@{#331059}
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch was mostly autogenerated with
https://codereview.chromium.org/1010073002/.
BUG=465354
TBR=jochen@chromium.org,raymes@chromium.org
Review URL: https://codereview.chromium.org/1142063003
Cr-Commit-Position: refs/heads/master@{#330939}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clearer API; flushes out a lot of unnecessary heap allocations.
depends on https://codereview.chromium.org/1129083003/
BUG=none
Review URL: https://codereview.chromium.org/1131113004
Cr-Commit-Position: refs/heads/master@{#330255}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://codereview.chromium.org/1084793003/)
Reason for revert:
BUG=480789
Original issue's description:
> Re-size frame only for printing selection
>
> Re-size was added to fix issue 1566. There is a test in #7.
> With current state of blink resize is not needed and actually has
> issues afters https://codereview.chromium.org/1008513003.
>
> Printing selection still needs resizing, because selectionAsMarkup() returns
> fixed snapshot of frame. Re-layout or re-sizing of the snapshot after
> that is not possible.
>
> BUG=474173
>
> Committed: https://crrev.com/51cda916c51147311cf3d13d4305bc6647b22479
> Cr-Commit-Position: refs/heads/master@{#325106}
TBR=alekseys@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=474173
Review URL: https://codereview.chromium.org/1131193002
Cr-Commit-Position: refs/heads/master@{#328873}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the flag for enabling OOP PDF since it is enabled by default and
the in process viewer no longer works anyway. The old in-process browser tests
have been removed. They are mostly replaced by pdf_extension_test.cc and they
are disabled anyway.
BUG=483870,436444
Review URL: https://codereview.chromium.org/1128453003
Cr-Commit-Position: refs/heads/master@{#328687}
|
|
|
|
|
|
|
|
|
|
|
| |
CredentialManagerClientTest has crashed on Android since commit
d94a4430bc4448406b7564790d06110c7c5bcaaf was merged.
BUG=481415
Review URL: https://codereview.chromium.org/1103083002
Cr-Commit-Position: refs/heads/master@{#327137}
|
|
|
|
|
|
|
|
| |
BUG=465351
Review URL: https://codereview.chromium.org/1075783002
Cr-Commit-Position: refs/heads/master@{#326449}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-size was added to fix issue 1566. There is a test in #7.
With current state of blink resize is not needed and actually has
issues afters https://codereview.chromium.org/1008513003.
Printing selection still needs resizing, because selectionAsMarkup() returns
fixed snapshot of frame. Re-layout or re-sizing of the snapshot after
that is not possible.
BUG=474173
Review URL: https://codereview.chromium.org/1084793003
Cr-Commit-Position: refs/heads/master@{#325106}
|
|
|
|
|
|
|
|
| |
BUG=158752
Review URL: https://codereview.chromium.org/981843003
Cr-Commit-Position: refs/heads/master@{#320167}
|
|
|
|
|
|
|
|
|
|
|
|
| |
The preset from the PDF document gets plumbed all the way to print
preview, but the ShortEdge setting is ignored at the end because print
preview does not support it yet.
BUG=169120
Review URL: https://codereview.chromium.org/974183003
Cr-Commit-Position: refs/heads/master@{#319324}
|
|
|
|
|
|
|
|
|
|
| |
This is the size_t to integer conversion warning. Using the config prevents flag duplication and is clearer to read.
Minor updates to Win64 build, including some fixes for size_t to int conversions.
Review URL: https://codereview.chromium.org/929793006
Cr-Commit-Position: refs/heads/master@{#317162}
|
|
|
|
|
|
|
|
| |
Code is not used after we Chrome stopped generation of EMF inside render.
Review URL: https://codereview.chromium.org/900683004
Cr-Commit-Position: refs/heads/master@{#315076}
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/905573003
Cr-Commit-Position: refs/heads/master@{#314915}
|
|
|
|
|
|
|
|
| |
BUG=455227
Review URL: https://codereview.chromium.org/892393006
Cr-Commit-Position: refs/heads/master@{#314855}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some printing related //android_webview were copied over from
//chrome. Now that the ones in //chrome can move to a component,
webview should also use these files.
Depends on https://codereview.chromium.org/811563008/
BUG=444883, 311308
Review URL: https://codereview.chromium.org/822133003
Cr-Commit-Position: refs/heads/master@{#314307}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a new file to //printing to hold the enums to be included
during the IPC generation. This allows to use them in more than
one generator at the time.
BUG=311308
Review URL: https://codereview.chromium.org/857053002
Cr-Commit-Position: refs/heads/master@{#313540}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove old versions of createChildFrame.
* Add browser tests.
Related CLs:
Chromium part 1: https://codereview.chromium.org/837283003/
Blink part 1: https://codereview.chromium.org/793493003/
Blink part 2: https://codereview.chromium.org/838903002/
BUG=426512
Review URL: https://codereview.chromium.org/797813006
Cr-Commit-Position: refs/heads/master@{#313384}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, calling print() on the window object for a plugin document
resulted in printing a blank page. This adds an OverridePrint method to
PrintWebViewHelper::Delegate so MimeHandlerViewContainers can replace
the default print behavior with posting a print message to the mime
handler.
BUG=448720
Review URL: https://codereview.chromium.org/858363002
Cr-Commit-Position: refs/heads/master@{#313011}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move IsOutOfProcessPdfEnabled and IsPrintPreviewEnabled into
PrintWebViewHelperDelegate
The aim of this refactoring is to group all the embedder-specific
parameters in a single place. Instead of having part of them as
constructor parameters to PrintWebViewHelper and the other part
as implementation of the delegate, they are now all in the delegate.
This is to prepare for the addition of new switches used by webview.
BUG=311308
Review URL: https://codereview.chromium.org/845453008
Cr-Commit-Position: refs/heads/master@{#312683}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This relands http://crrev.com/694213002
In the PdfMetafileSkia class, Instead of storing a
SkPDFDocument, store a vector of pages as
SkPictures. This allows access to individual at any
time. When FinishDocument() is called, use the
SkDocument API to print all pages to PDF.
In PrintWebViewHelper::RenderPageContent, skip clipping
content to content area, since Windows printing prints
content just outside of the content area, as noted in
http://crbug.com/434079 .
BUG=278148
Committed: https://crrev.com/18387e7ebb0eae6e4944e841d63ea058adab6e11
Cr-Commit-Position: refs/heads/master@{#310032}
Review URL: https://codereview.chromium.org/821703005
Cr-Commit-Position: refs/heads/master@{#312672}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds plumbing to replicate sandbox flags through the browser process:
* Introduce a new enum to refer to sandbox flags in content.
* Pass sandbox flags as part of FrameHostMsg_CreateChildFrame and store them in a FrameTreeNode's FrameReplicationState. Keep the older version of WebFrameClient::createChildFrame around until Blink switches over to the new version.
* Pass sandbox flags in FrameMsg_NewFrame, so that a local frame's blink::SecurityContext can be initialized with proper sandbox flags. Also initialize sandbox flags for remote frames using FrameReplicationState already passed to new RenderFrameProxies.
The corresponding Blink-side CL is: https://codereview.chromium.org/793493003/
After this CL, there will be a second Blink CL (https://codereview.chromium.org/838903002/) that will plumb correct sandbox flags into WebFrameClient::createChildFrame(); this will actually enable the replication. Then, another Chromium CL (https://codereview.chromium.org/797813006/) will remove the old createChildFrame and add browsertests.
This CL doesn't cover the case where a frame's sandbox flags are modified through JavaScript and the frame is re-navigated. In this case, the renderer should tell the browser process about the updated sandbox flags with a separate IPC; this is left for a future CL.
Skipping presubmit due to a warning about IPC_ENUM_TRAITS, which was discussed and approved in comments.
BUG=426512
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/837283003
Cr-Commit-Position: refs/heads/master@{#311808}
|
|
Other changes:
- Modifying #includes and .gypi to target the new paths
- Modifying DEPS files to allow the new paths
- New gn, gypi, DEPS and OWNERS files for the new //components/printing
BUG=444883
Review URL: https://codereview.chromium.org/811563008
Cr-Commit-Position: refs/heads/master@{#311293}
|