diff options
author | sadrul <sadrul@chromium.org> | 2015-10-21 18:19:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-22 01:20:40 +0000 |
commit | 4b8cf72ddecff6332b1ce504227da13bfa89484c (patch) | |
tree | 4b82183291f5d0bf70a00a05193116ee63995148 /cc/quads | |
parent | cefa50b01ed3d5d592f66ab56b5b3934b5ad9070 (diff) | |
download | chromium_src-4b8cf72ddecff6332b1ce504227da13bfa89484c.zip chromium_src-4b8cf72ddecff6332b1ce504227da13bfa89484c.tar.gz chromium_src-4b8cf72ddecff6332b1ce504227da13bfa89484c.tar.bz2 |
pdf-viewer/mandoline: Create new instances of tree-delegate/frame-client for each view.
. The ContentHandler implementation creates an instance of
PDFViewerApplicationDelegate for each document.
. The PDFViewerApplicationDelegate opens the PDF document, and is responsible
for creating all the views for displaying the document. It creates a new
instance of PDFView for each view.
. PDFView is responsible for managing a single view displaying a pdf document.
It provides the mus::WindowTreeDelegate and web_view::FrameClient
implementations for each view.
. The PDFView notifies the PDFViewerApplicationDelegate about termination
through the PDFViewDelegate interface. When all views for a document are
terminated, PDFViewerApplicationDelegate closes the PDF document, and tears
down the app.
BUG=544997
Review URL: https://codereview.chromium.org/1414083002
Cr-Commit-Position: refs/heads/master@{#355469}
Diffstat (limited to 'cc/quads')
0 files changed, 0 insertions, 0 deletions