Skip to content

New application setting "auto_zooming" #128

Closed
@GoogleCodeExporter

Description

@GoogleCodeExporter
Currently you can only manually set zooming using Browser.`SetZoomLevel`.

The auto_zooming setting should allow zooming of all pages displayed in the CEF 
browser. We should support two distinct approaches:

1. A fixed zooming by providing a numeric value like 125%, 150%.
2. A string option "use_system_dpi". This would detect OS DPI settings and zoom 
pages accordingly.

An example of auto zooming using OS DPI settings can be copied from PHP Desktop 
(Windows only code):
https://code.google.com/p/phpdesktop/source/browse/phpdesktop-chrome/dpi_aware.c
pp?r=a09cf1528699

What would be an equivalent of detecting Ubuntu DPI settings? You can set it 
in: All Settings > Universal Access > Seeing > Display > Text size.

Original issue reported on code.google.com by [email protected] on 29 Jul 2014 at 3:32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions