Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: pdf/out_of_process_instance.h

Issue 1155963004: PDF: Cleanup more code now that it is completely out of process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pdf/out_of_process_instance.h
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index 091fbc3febab8f26878af4f58b1386f0485370be..996213fa93464bb5659de772e155fd2d72ba8a9a 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -172,12 +172,6 @@ class OutOfProcessInstance : public pp::Instance,
// frame's origin.
pp::URLLoader CreateURLLoaderInternal();
- // Figure out the initial page to display based on #page=N and #nameddest=foo
- // in the |url_|.
- // Returns -1 if there is no valid fragment. The returned value is 0-based,
- // whereas page=N is 1-based.
- int GetInitialPage(const std::string& url);
-
void FormDidOpen(int32_t result);
std::string GetLocalizedString(PP_ResourceString id);
@@ -343,6 +337,8 @@ class OutOfProcessInstance : public pp::Instance,
// The background color of the PDF viewer.
uint32 background_color_;
+
+ DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance);
};
} // namespace chrome_pdf

Powered by Google App Engine
This is Rietveld 408576698