Home
last modified time | relevance | path

Searched refs:page_number_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/printing/
Dpage_number.cc20 page_number_(-1), in PageNumber()
27 page_number_ = other.page_number_; in operator =()
38 page_number_ = (*ranges_)[0].from; in Init()
41 page_number_ = 0; in Init()
43 page_number_ = -1; in Init()
52 if (++page_number_ == document_page_count_) { in operator ++()
58 ++page_number_; in operator ++()
60 if (page_number_ > (*ranges_)[page_range_index_].to) { in operator ++()
67 page_number_ = (*ranges_)[page_range_index_].from; in operator ++()
75 return page_number_ == other.page_number_ && in operator ==()
[all …]
Dpage_number.h33 return page_number_; in ToInt()
54 int page_number_; variable
Dprinted_page.h32 int page_number() const { return page_number_; } in page_number()
49 const int page_number_; variable
Dprinted_page.cc14 : page_number_(page_number), in PrintedPage()
/external/chromium/chrome/browser/printing/
Dprint_job_worker.cc70 DCHECK(page_number_ == PageNumber::npos()); in SetNewOwner()
80 DCHECK_EQ(page_number_, PageNumber::npos()); in GetSettings()
178 DCHECK_EQ(page_number_, PageNumber::npos()); in StartPrinting()
183 if (!document_.get() || page_number_ != PageNumber::npos() || in StartPrinting()
206 DCHECK_EQ(page_number_, PageNumber::npos()); in OnDocumentChanged()
210 if (page_number_ != PageNumber::npos()) in OnDocumentChanged()
224 if (page_number_ == PageNumber::npos()) { in OnNewPage()
234 page_number_.Init(document_->settings(), page_count); in OnNewPage()
236 DCHECK_NE(page_number_, PageNumber::npos()); in OnNewPage()
241 if (!document_->GetPage(page_number_.ToInt(), &page)) { in OnNewPage()
[all …]
Dprint_job_worker.h124 PageNumber page_number_;
/external/chromium_org/chrome/browser/printing/
Dprint_job_worker.cc72 DCHECK(page_number_ == PageNumber::npos()); in SetNewOwner()
88 DCHECK_EQ(page_number_, PageNumber::npos()); in GetSettings()
208 DCHECK_EQ(page_number_, PageNumber::npos()); in StartPrinting()
212 if (!document_.get() || page_number_ != PageNumber::npos() || in StartPrinting()
241 DCHECK_EQ(page_number_, PageNumber::npos()); in OnDocumentChanged()
243 if (page_number_ != PageNumber::npos()) in OnDocumentChanged()
256 if (page_number_ == PageNumber::npos()) { in OnNewPage()
266 page_number_.Init(document_->settings(), page_count); in OnNewPage()
270 DCHECK_NE(page_number_, PageNumber::npos()); in OnNewPage()
275 if (!document_->GetPage(page_number_.ToInt(), &page)) { in OnNewPage()
[all …]
Dprint_job_worker.h135 PageNumber page_number_; variable
/external/chromium_org/chrome/renderer/
Dmock_printer.cc69 page_number_(0), in MockPrinter()
188 EXPECT_EQ(0, page_number_); in SetPrintedPagesCount()
192 page_number_ = 0; in SetPrintedPagesCount()
201 EXPECT_EQ(page_number_, params.page_number); in PrintPage()
232 ++page_number_; in PrintPage()
233 if (number_pages_ == page_number_) in PrintPage()
240 return page_number_; in GetPrintedPages()
Dmock_printer.h142 int page_number_; variable