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

Unified Diff: printing/emf_win.cc

Issue 1115293002: win: Fix remaining plugin warnings in ash, device, printing, sandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 8 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
« no previous file with comments | « printing/emf_win.h ('k') | sandbox/win/src/handle_closer_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/emf_win.cc
diff --git a/printing/emf_win.cc b/printing/emf_win.cc
index 030d5203f402f95074c7f9cffd823cf52e00e77c..2afa1dde1abd2b0a97c64375ca17ab4851f2bdf1 100644
--- a/printing/emf_win.cc
+++ b/printing/emf_win.cc
@@ -246,6 +246,14 @@ gfx::Rect Emf::GetPageBounds(unsigned int page_number) const {
header.rclBounds.bottom - header.rclBounds.top + 1);
}
+unsigned int Emf::GetPageCount() const {
+ return 1;
+}
+
+HDC Emf::context() const {
+ return hdc_;
+}
+
uint32 Emf::GetDataSize() const {
DCHECK(emf_ && !hdc_);
return GetEnhMetaFileBits(emf_, 0, NULL);
@@ -472,6 +480,9 @@ Emf::Enumerator::Enumerator(const Emf& emf, HDC context, const RECT* rect) {
DCHECK_EQ(context_.hdc, context);
}
+Emf::Enumerator::~Enumerator() {
+}
+
Emf::Enumerator::const_iterator Emf::Enumerator::begin() const {
return items_.begin();
}
« no previous file with comments | « printing/emf_win.h ('k') | sandbox/win/src/handle_closer_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698