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

Side by Side Diff: pdf/out_of_process_instance.h

Issue 2166193002: Handle ctrl + shift + left click on links in PDF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 <stdint.h> 8 #include <stdint.h>
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Called to print without re-entrancy issues. 95 // Called to print without re-entrancy issues.
96 void OnPrint(int32_t); 96 void OnPrint(int32_t);
97 97
98 // PDFEngine::Client implementation. 98 // PDFEngine::Client implementation.
99 void DocumentSizeUpdated(const pp::Size& size) override; 99 void DocumentSizeUpdated(const pp::Size& size) override;
100 void Invalidate(const pp::Rect& rect) override; 100 void Invalidate(const pp::Rect& rect) override;
101 void Scroll(const pp::Point& point) override; 101 void Scroll(const pp::Point& point) override;
102 void ScrollToX(int position) override; 102 void ScrollToX(int position) override;
103 void ScrollToY(int position) override; 103 void ScrollToY(int position) override;
104 void ScrollToPage(int page) override; 104 void ScrollToPage(int page) override;
105 void NavigateTo(const std::string& url, bool open_in_new_tab) override; 105 void NavigateTo(const std::string& url, int option) override;
106 void UpdateCursor(PP_CursorType_Dev cursor) override; 106 void UpdateCursor(PP_CursorType_Dev cursor) override;
107 void UpdateTickMarks(const std::vector<pp::Rect>& tickmarks) override; 107 void UpdateTickMarks(const std::vector<pp::Rect>& tickmarks) override;
108 void NotifyNumberOfFindResultsChanged(int total, bool final_result) override; 108 void NotifyNumberOfFindResultsChanged(int total, bool final_result) override;
109 void NotifySelectedFindResultChanged(int current_find_index) override; 109 void NotifySelectedFindResultChanged(int current_find_index) override;
110 void GetDocumentPassword( 110 void GetDocumentPassword(
111 pp::CompletionCallbackWithOutput<pp::Var> callback) override; 111 pp::CompletionCallbackWithOutput<pp::Var> callback) override;
112 void Alert(const std::string& message) override; 112 void Alert(const std::string& message) override;
113 bool Confirm(const std::string& message) override; 113 bool Confirm(const std::string& message) override;
114 std::string Prompt(const std::string& question, 114 std::string Prompt(const std::string& question,
115 const std::string& default_answer) override; 115 const std::string& default_answer) override;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. 356 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load.
357 ACCESSIBILITY_STATE_LOADED 357 ACCESSIBILITY_STATE_LOADED
358 } accessibility_state_; 358 } accessibility_state_;
359 359
360 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); 360 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance);
361 }; 361 };
362 362
363 } // namespace chrome_pdf 363 } // namespace chrome_pdf
364 364
365 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ 365 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698