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

Side by Side Diff: pdf/out_of_process_instance.h

Issue 814573004: Fix for Multipage selection by dragging mouse in OOP case in PDF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit. Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/pdf/viewport_scroller.js ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PDF_OUT_OF_PROCESS_INSTANCE_H_ 5 #ifndef PDF_OUT_OF_PROCESS_INSTANCE_H_
6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_ 6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 std::vector<SearchStringResult>* results) override; 130 std::vector<SearchStringResult>* results) override;
131 void DocumentPaintOccurred() override; 131 void DocumentPaintOccurred() override;
132 void DocumentLoadComplete(int page_count) override; 132 void DocumentLoadComplete(int page_count) override;
133 void DocumentLoadFailed() override; 133 void DocumentLoadFailed() override;
134 pp::Instance* GetPluginInstance() override; 134 pp::Instance* GetPluginInstance() override;
135 void DocumentHasUnsupportedFeature(const std::string& feature) override; 135 void DocumentHasUnsupportedFeature(const std::string& feature) override;
136 void DocumentLoadProgress(uint32 available, uint32 doc_size) override; 136 void DocumentLoadProgress(uint32 available, uint32 doc_size) override;
137 void FormTextFieldFocusChange(bool in_focus) override; 137 void FormTextFieldFocusChange(bool in_focus) override;
138 bool IsPrintPreview() override; 138 bool IsPrintPreview() override;
139 uint32 GetBackgroundColor() override; 139 uint32 GetBackgroundColor() override;
140 void IsSelectingChanged(bool is_selecting) override;
140 141
141 // PreviewModeClient::Client implementation. 142 // PreviewModeClient::Client implementation.
142 void PreviewDocumentLoadComplete() override; 143 void PreviewDocumentLoadComplete() override;
143 void PreviewDocumentLoadFailed() override; 144 void PreviewDocumentLoadFailed() override;
144 145
145 // Helper functions for implementing PPP_PDF. 146 // Helper functions for implementing PPP_PDF.
146 void RotateClockwise(); 147 void RotateClockwise();
147 void RotateCounterclockwise(); 148 void RotateCounterclockwise();
148 149
149 private: 150 private:
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // zooming the plugin so that flickering doesn't occur while zooming. 344 // zooming the plugin so that flickering doesn't occur while zooming.
344 bool stop_scrolling_; 345 bool stop_scrolling_;
345 346
346 // The background color of the PDF viewer. 347 // The background color of the PDF viewer.
347 uint32 background_color_; 348 uint32 background_color_;
348 }; 349 };
349 350
350 } // namespace chrome_pdf 351 } // namespace chrome_pdf
351 352
352 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ 353 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/pdf/viewport_scroller.js ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698