pdf.js/web
Samuel Chantaraud 076b3433b4 Improved annotations' display/behavior.
Added an "InteractiveAnnotation" class to homogenize the annotations' structure (highlighting) and user interactions (for now, used for text and link annotations).

Text annotations:
The appearance (AP) has priority over the icon (Name).
The popup extends horizontally (up to a limit) as well as vertically.
Reduced the title's font size.
The annotation's color (C) is used to color the popup's background.
On top of the mouseover show/hide behavior, a click on the icon will lock the annotation open (for mobile purposes). It can be closed with another click on either the icon or the popup.

An annotation printing is conditioned by its "print" bit
Unsupported annotations are not displayed at all.
2014-03-07 10:48:42 -04:00
..
images Improved annotations' display/behavior. 2014-03-07 10:48:42 -04:00
.gitignore Updates webL10n; using viewer.properties as is 2012-11-29 14:02:33 -06:00
chromecom.js Proof of concept using chrome.streamsPrivate API 2014-01-15 23:04:15 +01:00
compatibility.js Correct formatting of locale to make it compatible with l10n (safari issue) 2014-02-26 16:09:58 -04:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.js Reduce the memory usage of the operator list. 2013-11-13 11:43:38 -08:00
default_preferences.js Implement default preferences 2013-11-18 23:51:06 +01:00
document_properties.js Fixes PDFDocumentProxy.getDownloadInfo API name (and refactoring) 2014-01-28 15:13:47 -06:00
download_manager.js Rejects incorrect url in download manager 2013-07-12 13:38:49 -05:00
firefoxcom.js Introduces LegacyPromise; polyfills DOM Promise 2014-01-03 18:17:05 -06:00
grab_to_pan.js Update Grab to pan to fix performance issue 2014-01-30 00:16:25 +01:00
hand_tool.js Close the secondary toolbar when an action is only performed once 2014-01-17 12:16:43 +01:00
index.html.template Update web/index.html.template 2012-10-02 07:26:20 -05:00
mozPrintCallback_polyfill.js Print shortcut: Ctrl + (Shift +) P only 2014-01-29 18:38:42 +01:00
page_view.js Improved annotations' display/behavior. 2014-03-07 10:48:42 -04:00
password_prompt.js Miscellaneous improvements for the document properties dialog 2014-01-23 00:30:48 +01:00
pdf_find_bar.js Ctrl + F opens find bar instead of toggling it 2013-11-14 23:56:11 +01:00
pdf_find_controller.js Refactors nextPageMatch (nits) 2014-01-28 11:11:02 -06:00
pdf_history.js [CRX] Fall back to sender.tab.url if !tab.url 2014-01-25 20:15:43 +01:00
preferences.js Introduces LegacyPromise; polyfills DOM Promise 2014-01-03 18:17:05 -06:00
presentation_mode.js Maintain the current position in the document when zooming 2014-01-11 13:01:25 +01:00
secondary_toolbar.js Document properties 2014-01-22 00:07:07 +01:00
text_layer_builder.js Remove some unnecessary local variables. 2014-02-24 18:25:59 -08:00
thumbnail_view.js Introduces LegacyPromise; polyfills DOM Promise 2014-01-03 18:17:05 -06:00
ui_utils.js Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js 2013-12-03 19:55:35 +01:00
view_history.js Introduces LegacyPromise; polyfills DOM Promise 2014-01-03 18:17:05 -06:00
viewer-snippet-b2g-activity-header.html Add close button and title bar for b2g. 2012-11-28 11:02:56 -08:00
viewer-snippet-chrome-extension.html [CRX] Show nicely formatted URL in omnibox 2013-10-16 23:14:46 +02:00
viewer-snippet-firefox-extension.html Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code. 2012-10-29 12:44:18 -07:00
viewer-snippet-mozPrintCallback-polyfill.html Add mozPrintCallback shim 2013-10-08 19:46:59 +02:00
viewer-snippet.html Updates webL10n; using viewer.properties as is 2012-11-29 14:02:33 -06:00
viewer.css Improved annotations' display/behavior. 2014-03-07 10:48:42 -04:00
viewer.html Refactors shared/pattern.js into core/ and display/ 2014-01-25 12:18:22 -06:00
viewer.js Fix scrolling using Shift+Spacebar in Firefox 2014-03-06 15:26:23 +01:00