Index: pdf/pdf_engine.h |
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h |
index 5bba8b9f86061216229b6d582e3f8722ed840e9d..7770e667055fcd197e0aa47156c5e44e82cb9e00 100644 |
--- a/pdf/pdf_engine.h |
+++ b/pdf/pdf_engine.h |
@@ -27,6 +27,7 @@ |
#include "ppapi/cpp/size.h" |
#include "ppapi/cpp/url_loader.h" |
#include "ppapi/cpp/var_array.h" |
+#include "ui/base/window_open_disposition.h" |
namespace pp { |
class InputEvent; |
@@ -80,7 +81,8 @@ class PDFEngine { |
virtual void ScrollToPage(int page) = 0; |
// Navigate to the given url. |
- virtual void NavigateTo(const std::string& url, bool open_in_new_tab) = 0; |
+ virtual void NavigateTo(const std::string& url, |
+ WindowOpenDisposition disposition) = 0; |
// Updates the cursor. |
virtual void UpdateCursor(PP_CursorType_Dev cursor) = 0; |