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

Side by Side Diff: fpdfsdk/src/pdfwindow/PWL_Wnd.cpp

Issue 1280883003: Merge to XFA: Cleanup: Remove dead formfiller code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@xfa
Patch Set: Created 5 years, 4 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 | « fpdfsdk/src/formfiller/FFL_TextField.cpp ('k') | no next file » | 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 <map> 7 #include <map>
8 8
9 #include "../../include/pdfwindow/PDFWindow.h" 9 #include "../../include/pdfwindow/PDFWindow.h"
10 #include "../../include/pdfwindow/PWL_Wnd.h" 10 #include "../../include/pdfwindow/PWL_Wnd.h"
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 PWL_IMPLEMENT_KEY_METHOD(OnKeyDown) 460 PWL_IMPLEMENT_KEY_METHOD(OnKeyDown)
461 PWL_IMPLEMENT_KEY_METHOD(OnKeyUp) 461 PWL_IMPLEMENT_KEY_METHOD(OnKeyUp)
462 PWL_IMPLEMENT_KEY_METHOD(OnChar) 462 PWL_IMPLEMENT_KEY_METHOD(OnChar)
463 463
464 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDblClk) 464 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDblClk)
465 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDown) 465 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDown)
466 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonUp) 466 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonUp)
467 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDblClk) 467 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDblClk)
468 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDown) 468 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDown)
469 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonUp) 469 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonUp)
470 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonDblClk)
471 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonDown) 470 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonDown)
472 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonUp) 471 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonUp)
473 PWL_IMPLEMENT_MOUSE_METHOD(OnMouseMove) 472 PWL_IMPLEMENT_MOUSE_METHOD(OnMouseMove)
474 473
475 FX_BOOL CPWL_Wnd::OnMouseWheel(short zDelta, 474 FX_BOOL CPWL_Wnd::OnMouseWheel(short zDelta,
476 const CPDF_Point& point, 475 const CPDF_Point& point,
477 FX_DWORD nFlag) { 476 FX_DWORD nFlag) {
478 if (IsValid() && IsVisible() && IsEnabled()) { 477 if (IsValid() && IsVisible() && IsEnabled()) {
479 SetCursor(); 478 SetCursor();
480 if (IsWndCaptureKeyboard(this)) { 479 if (IsWndCaptureKeyboard(this)) {
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 return FALSE; 1071 return FALSE;
1073 } 1072 }
1074 1073
1075 FX_BOOL CPWL_Wnd::IsINSERTpressed(FX_DWORD nFlag) const { 1074 FX_BOOL CPWL_Wnd::IsINSERTpressed(FX_DWORD nFlag) const {
1076 if (IFX_SystemHandler* pSystemHandler = GetSystemHandler()) { 1075 if (IFX_SystemHandler* pSystemHandler = GetSystemHandler()) {
1077 return pSystemHandler->IsINSERTKeyDown(nFlag); 1076 return pSystemHandler->IsINSERTKeyDown(nFlag);
1078 } 1077 }
1079 1078
1080 return FALSE; 1079 return FALSE;
1081 } 1080 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/formfiller/FFL_TextField.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698