Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the call to |PDFFindController.resolveFirstPage| into PDFViewer #5721

Merged
merged 1 commit into from Feb 27, 2015
Merged

Move the call to |PDFFindController.resolveFirstPage| into PDFViewer #5721

merged 1 commit into from Feb 27, 2015

Conversation

Snuffleupagus
Copy link
Collaborator

From reading IRC scrollback, it became clear that having to manually call PDFFindController.resolveFirstPage in order for the find functionality to work isn't particulary good. Hence this PR, which moves that code into PDFViewer.setDocument to make life easier for third-party implementations.

From reading IRC scrollback, it became clear that having to manually call `PDFFindController.resolveFirstPage` in order for the find functionality to work isn't particulary good. Hence this PR, which moves that code into `PDFViewer.setDocument` to make life easier for third-party implementations.
@CodingFabian
Copy link
Contributor

fully agree, makes sense.

@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/b2075fd017727da/output.txt

yurydelendik added a commit that referenced this pull request Feb 27, 2015
…veFirstPage

Move the call to |PDFFindController.resolveFirstPage| into PDFViewer
@yurydelendik yurydelendik merged commit a0a9434 into mozilla:master Feb 27, 2015
@yurydelendik
Copy link
Contributor

Thanks

@Snuffleupagus Snuffleupagus deleted the move-findController-resolveFirstPage branch February 27, 2015 14:39
speedplane pushed a commit to speedplane/pdf.js that referenced this pull request Mar 4, 2015
…r-resolveFirstPage

Move the call to |PDFFindController.resolveFirstPage| into PDFViewer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants