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

Side by Side Diff: xfa/fxfa/app/xfa_ffwidgethandler.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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 | « xfa/fxfa/app/xfa_ffwidgethandler.h ('k') | xfa/fxfa/app/xfa_fontmgr.h » ('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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "xfa/src/fxfa/app/xfa_ffwidgethandler.h" 7 #include "xfa/fxfa/app/xfa_ffwidgethandler.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "xfa/src/fxfa/app/xfa_ffchoicelist.h" 11 #include "xfa/fxfa/app/xfa_ffchoicelist.h"
12 #include "xfa/src/fxfa/app/xfa_ffdoc.h" 12 #include "xfa/fxfa/app/xfa_ffdoc.h"
13 #include "xfa/src/fxfa/app/xfa_ffdocview.h" 13 #include "xfa/fxfa/app/xfa_ffdocview.h"
14 #include "xfa/src/fxfa/app/xfa_fffield.h" 14 #include "xfa/fxfa/app/xfa_fffield.h"
15 #include "xfa/src/fxfa/app/xfa_ffwidget.h" 15 #include "xfa/fxfa/app/xfa_ffwidget.h"
16 #include "xfa/src/fxfa/app/xfa_fwladapter.h" 16 #include "xfa/fxfa/app/xfa_fwladapter.h"
17 #include "xfa/src/fxfa/parser/xfa_parser.h" 17 #include "xfa/fxfa/parser/xfa_parser.h"
18 18
19 CXFA_FFWidgetHandler::CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView) 19 CXFA_FFWidgetHandler::CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView)
20 : m_pDocView(pDocView) {} 20 : m_pDocView(pDocView) {}
21 CXFA_FFWidgetHandler::~CXFA_FFWidgetHandler() {} 21 CXFA_FFWidgetHandler::~CXFA_FFWidgetHandler() {}
22 IXFA_PageView* CXFA_FFWidgetHandler::GetPageView(IXFA_Widget* hWidget) { 22 IXFA_PageView* CXFA_FFWidgetHandler::GetPageView(IXFA_Widget* hWidget) {
23 return static_cast<CXFA_FFWidget*>(hWidget)->GetPageView(); 23 return static_cast<CXFA_FFWidget*>(hWidget)->GetPageView();
24 } 24 }
25 void CXFA_FFWidgetHandler::GetRect(IXFA_Widget* hWidget, CFX_RectF& rt) { 25 void CXFA_FFWidgetHandler::GetRect(IXFA_Widget* hWidget, CFX_RectF& rt) {
26 static_cast<CXFA_FFWidget*>(hWidget)->GetWidgetRect(rt); 26 static_cast<CXFA_FFWidget*>(hWidget)->GetWidgetRect(rt);
27 } 27 }
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 return static_cast<CXFA_FFWidget*>(hWidget) 625 return static_cast<CXFA_FFWidget*>(hWidget)
626 ->GetSuggestWords(pointf, sSuggest); 626 ->GetSuggestWords(pointf, sSuggest);
627 } 627 }
628 FX_BOOL CXFA_FFMenuHandler::ReplaceSpellCheckWord( 628 FX_BOOL CXFA_FFMenuHandler::ReplaceSpellCheckWord(
629 IXFA_Widget* hWidget, 629 IXFA_Widget* hWidget,
630 CFX_PointF pointf, 630 CFX_PointF pointf,
631 const CFX_ByteStringC& bsReplace) { 631 const CFX_ByteStringC& bsReplace) {
632 return static_cast<CXFA_FFWidget*>(hWidget) 632 return static_cast<CXFA_FFWidget*>(hWidget)
633 ->ReplaceSpellCheckWord(pointf, bsReplace); 633 ->ReplaceSpellCheckWord(pointf, bsReplace);
634 } 634 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffwidgethandler.h ('k') | xfa/fxfa/app/xfa_fontmgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698