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

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

Issue 2559173002: Move xfa/fwl/core to xfa/fwl. (Closed)
Patch Set: 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
« no previous file with comments | « xfa/fwl/cfx_barcode.cpp ('k') | xfa/fwl/core/cfwl_app.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef XFA_FWL_CORE_CFWL_APP_H_
8 #define XFA_FWL_CORE_CFWL_APP_H_
9
10 #include <memory>
11
12 #include "core/fxcrt/fx_string.h"
13
14 class CFWL_NoteDriver;
15 class CFWL_WidgetMgr;
16 class CXFA_FFApp;
17 class CXFA_FWLAdapterWidgetMgr;
18 class CFWL_Widget;
19
20 enum FWL_KeyFlag {
21 FWL_KEYFLAG_Ctrl = 1 << 0,
22 FWL_KEYFLAG_Alt = 1 << 1,
23 FWL_KEYFLAG_Shift = 1 << 2,
24 FWL_KEYFLAG_Command = 1 << 3,
25 FWL_KEYFLAG_LButton = 1 << 4,
26 FWL_KEYFLAG_RButton = 1 << 5,
27 FWL_KEYFLAG_MButton = 1 << 6
28 };
29
30 class CFWL_App {
31 public:
32 explicit CFWL_App(CXFA_FFApp* pAdapter);
33 ~CFWL_App();
34
35 CXFA_FFApp* GetAdapterNative() const { return m_pAdapterNative; }
36 CFWL_WidgetMgr* GetWidgetMgr() const { return m_pWidgetMgr.get(); }
37 CFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver.get(); }
38
39 private:
40 CXFA_FFApp* const m_pAdapterNative;
41 std::unique_ptr<CFWL_WidgetMgr> m_pWidgetMgr;
42 std::unique_ptr<CFWL_NoteDriver> m_pNoteDriver;
43 };
44
45 #endif // XFA_FWL_CORE_CFWL_APP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/cfx_barcode.cpp ('k') | xfa/fwl/core/cfwl_app.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698