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

Unified Diff: xfa/fwl/core/fwl_formimp.cpp

Issue 1883943002: Unused FWL Classes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/core/fwl_contentimp.cpp ('k') | xfa/fwl/core/fwl_panelimp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/fwl_formimp.cpp
diff --git a/xfa/fwl/core/fwl_formimp.cpp b/xfa/fwl/core/fwl_formimp.cpp
index 27014d9d623d2fd955e37116f2bcedf935ab40ee..919f85f532d5e483e2d9ddb99e4470149e7ae084 100644
--- a/xfa/fwl/core/fwl_formimp.cpp
+++ b/xfa/fwl/core/fwl_formimp.cpp
@@ -21,7 +21,6 @@
#include "xfa/fwl/core/fwl_widgetmgrimp.h"
#include "xfa/fwl/core/ifwl_adapterwidgetmgr.h"
#include "xfa/fwl/core/ifwl_app.h"
-#include "xfa/fwl/core/ifwl_content.h"
#include "xfa/fwl/core/ifwl_themeprovider.h"
#define FWL_SYSBTNSIZE 21
@@ -127,9 +126,6 @@ FWL_ERR CFWL_FormImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) {
FX_FLOAT fCXBorder = GetBorderSize(TRUE);
FX_FLOAT fCYBorder = GetBorderSize(FALSE);
FX_FLOAT fEdge = GetEdgeWidth();
- if (m_pContent) {
- m_pContent->GetWidgetRect(rect, TRUE);
- }
rect.height += fCapHeight + fCYBorder + fEdge + fEdge;
rect.width += fCXBorder + fCXBorder + fEdge + fEdge;
} else {
@@ -644,12 +640,6 @@ void CFWL_FormImp::Layout() {
#ifndef FWL_UseMacSystemBorder
ReSetSysBtn();
#endif
- if (m_pContent) {
- CFX_RectF rtClient;
- GetClientRect(rtClient);
- m_pContent->SetWidgetRect(rtClient);
- m_pContent->Update();
- }
}
void CFWL_FormImp::ReSetSysBtn() {
m_fCXBorder =
« no previous file with comments | « xfa/fwl/core/fwl_contentimp.cpp ('k') | xfa/fwl/core/fwl_panelimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698