| Index: content/public/common/page_zoom.h
|
| ===================================================================
|
| --- content/public/common/page_zoom.h (revision 110998)
|
| +++ content/public/common/page_zoom.h (working copy)
|
| @@ -6,7 +6,7 @@
|
| #define CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
|
| #pragma once
|
|
|
| -#include "base/basictypes.h"
|
| +#include "content/common/content_export.h"
|
|
|
| namespace content {
|
|
|
| @@ -18,6 +18,18 @@
|
| PAGE_ZOOM_IN = 1,
|
| };
|
|
|
| +// The minimum zoom factor permitted for a page. This is an alternative to
|
| +// WebView::minTextSizeMultiplier.
|
| +CONTENT_EXPORT extern const double kMinimumZoomFactor;
|
| +
|
| +// The maximum zoom factor permitted for a page. This is an alternative to
|
| +// WebView::maxTextSizeMultiplier.
|
| +CONTENT_EXPORT extern const double kMaximumZoomFactor;
|
| +
|
| +// Test if two zoom values (either zoom factors or zoom levels) should be
|
| +// considered equal.
|
| +CONTENT_EXPORT bool ZoomValuesEqual(double value_a, double value_b);
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
|
|
|