| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/9455083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124149 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=110796
TEST=Run ui_tests --gtest_filter=PPAPITest.*Clipboard* and ui_unittests --gtest_filter=*Clipboard*.
Review URL: http://codereview.chromium.org/9349023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124143 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Example stack:
Suppression (error hash=#C5EB54BF2F81B151#):
For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
<insert_a_suppression_name_here>
Memcheck:Leak
fun:_Znw*
fun:_ZN6webkit5ppapi12PluginObject21AllocateObjectWrapperEv
fun:_ZN6webkit5ppapi12_GLOBAL__N_121WrapperClass_AllocateEP4_NPPP7NPClass
fun:_NPN_CreateObject
fun:_ZN6WebKit11WebBindings12createObjectEP4_NPPP7NPClass
fun:_ZN6webkit5ppapi12PluginObject6CreateEPNS0_14PluginInstanceEPK20PPP_Class_DeprecatedPv
fun:_ZN6webkit5ppapi12_GLOBAL__N_122CreateObjectDeprecatedEiPK20PPP_Class_DeprecatedPv
fun:_ZN2pp10VarPrivateC1ERKNS_14InstanceHandleEPNS_10deprecated16ScriptableObjectE
fun:_ZN8TestCase13GetTestObjectEv
fun:_ZN15TestingInstance17GetInstanceObjectEv
fun:_ZN2pp12_GLOBAL__N_117GetInstanceObjectEi
fun:_ZN6webkit5ppapi14PluginInstance17GetInstanceObjectEv
fun:_ZN6webkit5ppapi13WebPluginImpl16scriptableObjectEv
fun:_ZN6WebKit22WebPluginContainerImpl16scriptableObjectEv
fun:_ZN7WebCore15PlatformSupport22pluginScriptableObjectEPNS_6WidgetE
fun:_ZN7WebCore16ScriptController29createScriptInstanceForWidgetEPNS_6WidgetE
fun:_ZN7WebCore17HTMLPlugInElement11getInstanceEv
fun:_ZN7WebCoreL19npObjectNamedGetterINS_18V8HTMLEmbedElementEEEN2v86HandleINS2_5ValueEEENS2_5LocalINS2_6StringEEERKNS2_12AccessorInfoE
fun:_ZN7WebCore18V8HTMLEmbedElement19namedPropertyGetterEN2v85LocalINS1_6StringEEERKNS1_12AccessorInfoE
fun:_ZN2v88internal8JSObject26GetPropertyWithInterceptorEPNS0_10JSReceiverEPNS0_6StringEP18PropertyAttributes
obj:*
}
- PPAPI: Really force-free NPObjects on Instance destruction.
(There still seems to be a memory leak with this patch; I may have to check our NPObject reference counting next.)
BUG=114023
TEST=
Review URL: http://codereview.chromium.org/9403039
TBR=dmichael@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9540004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124138 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
(There still seems to be a memory leak with this patch; I may have to check our NPObject reference counting next.)
BUG=114023
TEST=
Review URL: http://codereview.chromium.org/9403039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124106 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So that we could see whether those plugins would be related with the
VMTests timed out.
BUG=chromium-os:26646
TEST=none.
Review URL: http://codereview.chromium.org/9477021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124053 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is basically reviving cl/6691066.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123852
Review URL: https://chromiumcodereview.appspot.com/9359048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124009 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a 48mb cap for spikes over 8 minutes.
- Increase the random hole to 512mb (to compensate for the higher cap).
BUG=115658
BUG=113891
Review URL: https://chromiumcodereview.appspot.com/9447097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is basically reviving cl/6691066.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9359048
TBR=garykac@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9478028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123878 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is basically reviving cl/6691066.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9359048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123852 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This whitelists the plug-in the first time we switch the plug-in default setting from ALLOW to a different value. If it is already set to a different value, we do nothing.
BUG=115472
TEST=
Review URL: http://codereview.chromium.org/9456005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123751 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to the command buffer code generator to generate multiple pepper interfaces, and use that to generate interfaces for ANGLE_instanced_arrays, ANGLE_framebuffer_blit, ANGLE_framebuffer_multisample, CHROMIUM_enable_feature, and CHROMIUM_map_sub.
BUG=93148
TEST=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123696
Review URL: https://chromiumcodereview.appspot.com/9420017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123702 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This separates out the broker impl from the pepper plugin disptacher impl and
also a few helper classes. I also renamed everything to be more consistent
with other delegates.
Review URL: http://codereview.chromium.org/9429057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123698 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to the command buffer code generator to generate multiple pepper interfaces, and use that to generate interfaces for ANGLE_instanced_arrays, ANGLE_framebuffer_blit, ANGLE_framebuffer_multisample, CHROMIUM_enable_feature, and CHROMIUM_map_sub.
BUG=93148
TEST=
Review URL: https://chromiumcodereview.appspot.com/9420017
TBR=jbauman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9466042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123697 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to the command buffer code generator to generate multiple pepper interfaces, and use that to generate interfaces for ANGLE_instanced_arrays, ANGLE_framebuffer_blit, ANGLE_framebuffer_multisample, CHROMIUM_enable_feature, and CHROMIUM_map_sub.
BUG=93148
TEST=
Review URL: https://chromiumcodereview.appspot.com/9420017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123696 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the audio input and output delegates into their own files.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/9430034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123671 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the way the interface works. To write data, the user now passes an array of data items, one for each format they want to write to the clipboard. When reading data, they specify the format they want to read.
BUG=110796
TEST=./ui_tests --gtest_filter=*PPAPITest.*Clipboard* passes
Review URL: http://codereview.chromium.org/9212066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123581 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=115658
BUG=113891
Review URL: http://codereview.chromium.org/9465015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123570 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
etc. Also included:
- Reflect deprecation of Silverlight 3, Reader 8.
- Infobar the DivX plug-in.
- Include new IcedTea v2 (JDK7 based) version.
- More consistently list what we're up to date with.
Review URL: https://chromiumcodereview.appspot.com/9372092
TBR=cevans@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9443036
TBR=cevans@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9465019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123526 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Reflect deprecation of Silverlight 3, Reader 8.
- Infobar the DivX plug-in.
- Include new IcedTea v2 (JDK7 based) version.
- More consistently list what we're up to date with.
Review URL: https://chromiumcodereview.appspot.com/9372092
TBR=cevans@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9443036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123362 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes a unique exception signature that I will monitor for crashes:
http://crash/search?query=crash_reason%3A%22EXCEPTION_ACCESS_VIOLATION_WRITE%22+crash_address%3A%222880249322%22+product%3A%22Chrome%22
BUG=113891
Review URL: http://codereview.chromium.org/9442002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123205 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
- Reflect deprecation of Silverlight 3, Reader 8.
- Infobar the DivX plug-in.
- Include new IcedTea v2 (JDK7 based) version.
- More consistently list what we're up to date with.
Review URL: https://chromiumcodereview.appspot.com/9372092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123177 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=115279
TEST=Open a page containing DivX content. Infobar should be
displayed.
Review URL: http://codereview.chromium.org/9431031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123151 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=108277
TEST=UI test TestTCPServerSocketPrivate
Review URL: http://codereview.chromium.org/9283022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123033 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(Other versions to follow, I want an easily mergeable CL for the most
important stuff).
BUG=115227
TBR=bauerb
Review URL: https://chromiumcodereview.appspot.com/9428020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122967 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Remove CreatePPEvent since it isn't used anywhere.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9353013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122892 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=88971
TEST=NONE
Review URL: https://chromiumcodereview.appspot.com/9395062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122867 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed for "Flash dialogs".
This is dependent on https://bugs.webkit.org/show_bug.cgi?id=78166 .
TEST=check the example plugin (under flash_topmost)
Review URL: http://codereview.chromium.org/9369003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122686 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add version 1.1 which will query the audio back end for the best available
sample frame count. Also add RecommendSampleRate. Switch pepper plugin
delegate to use AUDIO_PCM_LOW_LATENCY if client request is compatible.
TEST=included
BUG=http://code.google.com/p/chromium/issues/detail?id=107572
Review URL: https://chromiumcodereview.appspot.com/9129007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122653 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PPB_Font can never be exported to NaCl since it relies on in-process WebKit.
So I'm renaming this to BrowserFont_Trusted to imply that this is the way that
the browser would render fonts in the content area (if we export a font API to
NaCl in the future, it will likely be a simpler native font API).
The new API is binary compatible with the old font API, so I map PPB_Font to
PPB_BrowserFont_Trusted for now to avoid breaking Flash (which uses this). When
we update Flash and push it out, we can remove the mapping and PPB_Font.
This does a lot of cleanup of the font implementation. It had complexity from
the fact that it used to run on a different thread. I was able to remove a lot
of code.
Review URL: https://chromiumcodereview.appspot.com/9360045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122564 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the Graphics 2D Flush ABORT callback to be a task instead of being
executed in a nested context. Previously, this would cause crashes because you
would get a paint message when destroying the paint manager.
This new way will issue the callback later. In the case of the paint manager,
the scoped callback factory will just drop the callback on the floor.
I added a check in the paint manager code just in case we add future failure
cases, we don't want to continue painting.
BUG=http://crbug.com/108688
Review URL: http://codereview.chromium.org/9404019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122234 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Implement PPB_VideoCapture_Dev v0.2.
- Use a ref-counted PlatformVideoCapture to manage lifespan of media::VideoCapture::EventHandler, instead of manipulating the ref count of PPB_VideoCapture_Impl.
- Extend examples/video_capture.
BUG=None
TEST=examples/video_capture
Review URL: https://chromiumcodereview.appspot.com/9234064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122176 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=113891
Review URL: http://codereview.chromium.org/9386003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122109 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleanup. Changes various calls sites to use the
ScopedNestableTaskAllower class to save/restore nestable task
state.
BUG=None
TEST=Existing unit tests
R=jar@chromium.org, scottbyer@chromium.org, sky@chromium.org, akalin@chromium.org, rsleevi@chromium.org, brettw@chromium.org, tony@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9384024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121914 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Use this in resource constructors and remove all the old weird structs that we
used to tell which one to call. This removes some extra code we had to deal
with this.
Review URL: http://codereview.chromium.org/9391013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121781 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clang got rolled again in r121610.
BUG=111861
TEST=build with the 10.6 sdk
TBR=rsesek
Review URL: https://chromiumcodereview.appspot.com/9379034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121639 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is to debug the randomly-appearing "Missing Plug-in" messages.
BUG=112185
TEST=none
Review URL: http://codereview.chromium.org/9365022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121422 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in NaCl) and modify to no longer require the memory interface.
This keeps the old interface and implements it in terms of the newer one. We
can remove it when all callers have been updated.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9348069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121159 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the regex to non-greedy so that an idl file can have >1 "#inline c" blocks.
Use that to bracket gamepad shared memory structure so that packing matches regardless of compiler settings/bitsize. This part is a temporary fix. The shared memory structure shouldn't be exposed in idl eventually anyway.
BUG=113087
Review URL: https://chromiumcodereview.appspot.com/9348029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121000 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CID_COUNT=13
CID=102812,102838,102863,102867,102875,102891,102906,102924,102947,102964,
103070,103246,103259
BUG=none
TEST=none
R=groby
Review URL: https://chromiumcodereview.appspot.com/9307114
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120913 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=113047
TBR=bauerb
Review URL: https://chromiumcodereview.appspot.com/9348024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120832 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
The new WebKit Http request header validation code fails if values contain /r.
BUG=112901
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/9325075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120824 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111861
TEST=build with the 10.6 sdk
TBR=rsesek
Review URL: https://chromiumcodereview.appspot.com/9346020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WillInitiatePaint() informs derived classes when the RenderWidget is about to perform a paint operation.
DidInitiatePaint() informs derived classes that the RenderWidget has finished the paint operation and sent it to the browser to display.
DidFlushPaint() informs derived classes when the paint operation has actually been displayed (either in response to UpdateRectAck, or OnSwapBuffersComplete()).
Pepper Graphics2D uses WillInitiatePaint and DidFlushPaint to trigger its Flush callback only for flushes occurring after the paint has actually been initiated.
Pepper Graphics3D uses DidInitiatePaint to know when the 3D pipeline is done with buffers from the previous paint operation, so that new content rendered to them won't be prematurely flushed to the screen.
Known issues with this CL:
* There is still scope for the Graphics2D to get confused when threaded compositing is in use, since DidFlushPaint for an older paint may be received after WillInitiatePaint for a more recent one, but that is a fix for another CL.
* Graphics3D will now be notified earlier in than it would have been in the software case, since it previously hooked DidFlushPaint.
BUG=111639
TEST=Run Native Client Examples "Pi generator", "Tumbler" and "Fullscreen Tumbler" with and without --force-composite-mode and verify they update correctly.
Review URL: http://codereview.chromium.org/9328016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111861
TEST=builds with the 10.6 sdk
TBR=rsesek
Review URL: http://codereview.chromium.org/9328023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120482 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Comparing with PPB_Flash.RunMessageLoop/QuitMessageLoop, this new interface avoids leaking nested message loops. If Quit() is not called to balance the call to Run(), the outermost message loop will be quitted when the resource is destroyed.
BUG=109340
TEST=test_flash_message_loop.{h,cc}
Review URL: http://codereview.chromium.org/9188045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119873 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
generated by invalid resources, from which we have no context. This means we don't know the instance to send the error message of.
Plumbing this through in a way that works proved much harder than I expected. I added log functions to the PpapiGlobals so that we can call it easily from all places. It can either go off an instance (like PPB_Console does) or a module, or nothing. In the module case, all consoles associated with all instances in the module get the log message, in the no context case, all consoles associated with any pepper plugin get the message.
In the IPC proxy, we know the module from whence the error came since there's a unique process for it. So proxied errors with no context when run out of process get translated into errors with PP_Module context. In the common case, there's only one instance for a module, so this works out nicely.
I added some logging ability to resources and added some errors to Graphics2D and URLLoader. We can add messages to more classes as the need arises. I added some advice on writing them to the chromium pepper page.
Review URL: https://chromiumcodereview.appspot.com/9160017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119853 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/9297047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119813 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111861
TEST=build with the 10.6 sdk
TBR=bauerb
Review URL: https://chromiumcodereview.appspot.com/9293009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119702 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Background: Print output is rendering to metafile that is based on the screen DC. The metafile was scaled to 72/600 for Chrome printing and 96/600 for CloudPrint. When the resolution of the screen is low and print output is large, it is possible for metafile output to go outside of the boundaries and be cut-off the print out.
Fix: This CL calculates scaling dynamically based on the printer and metafile sizes and revert scaling correspondingly in the browser/service for the actual printout.
BUG=chromium-os:16088
TEST=Verify Chrome and CloudPrint printing is working fine. Lower screen resolution (to 800x600 for Chrome, for CloudPrint it is enough to lower to 1280x800). Run Chrome and enable CloudPrint support. Try printing files from the bug 16088.
Review URL: http://codereview.chromium.org/9288081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119546 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
R=binji
Review URL: https://chromiumcodereview.appspot.com/9271061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119535 0039d316-1c4b-4281-b951-d872f2087c98
|