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

Side by Side Diff: xfa/fwl/core/cfwl_app.cpp

Issue 2524173002: Merge IFWL and CFWL classes. (Closed)
Patch Set: make chrome build happy Created 4 years 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 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/fwl/core/cfwl_app.h" 7 #include "xfa/fwl/core/cfwl_app.h"
8 8
9 #include "third_party/base/ptr_util.h" 9 #include "third_party/base/ptr_util.h"
10 #include "xfa/fwl/core/cfwl_notedriver.h" 10 #include "xfa/fwl/core/cfwl_notedriver.h"
11 #include "xfa/fwl/core/cfwl_widget.h"
11 #include "xfa/fwl/core/cfwl_widgetmgr.h" 12 #include "xfa/fwl/core/cfwl_widgetmgr.h"
12 #include "xfa/fwl/core/ifwl_widget.h"
13 #include "xfa/fxfa/app/xfa_fwladapter.h" 13 #include "xfa/fxfa/app/xfa_fwladapter.h"
14 14
15 CFWL_App::CFWL_App(CXFA_FFApp* pAdapter) 15 CFWL_App::CFWL_App(CXFA_FFApp* pAdapter)
16 : m_pAdapterNative(pAdapter), 16 : m_pAdapterNative(pAdapter),
17 m_pWidgetMgr(pdfium::MakeUnique<CFWL_WidgetMgr>(pAdapter)), 17 m_pWidgetMgr(pdfium::MakeUnique<CFWL_WidgetMgr>(pAdapter)),
18 m_pNoteDriver(pdfium::MakeUnique<CFWL_NoteDriver>()) { 18 m_pNoteDriver(pdfium::MakeUnique<CFWL_NoteDriver>()) {
19 ASSERT(m_pAdapterNative); 19 ASSERT(m_pAdapterNative);
20 } 20 }
21 21
22 CFWL_App::~CFWL_App() {} 22 CFWL_App::~CFWL_App() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698