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

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

Issue 2510823003: Move the message definitions to their own files. (Closed)
Patch Set: Review feedback Created 4 years, 1 month 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/core/fwl_noteimp.cpp ('k') | xfa/fwl/core/ifwl_combobox.cpp » ('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/fwl/core/ifwl_checkbox.h" 7 #include "xfa/fwl/core/ifwl_checkbox.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "third_party/base/ptr_util.h" 11 #include "third_party/base/ptr_util.h"
12 #include "xfa/fde/tto/fde_textout.h" 12 #include "xfa/fde/tto/fde_textout.h"
13 #include "xfa/fwl/core/cfwl_message.h" 13 #include "xfa/fwl/core/cfwl_msgkey.h"
14 #include "xfa/fwl/core/cfwl_msgmouse.h"
14 #include "xfa/fwl/core/cfwl_themebackground.h" 15 #include "xfa/fwl/core/cfwl_themebackground.h"
15 #include "xfa/fwl/core/cfwl_themetext.h" 16 #include "xfa/fwl/core/cfwl_themetext.h"
16 #include "xfa/fwl/core/cfwl_widgetmgr.h" 17 #include "xfa/fwl/core/cfwl_widgetmgr.h"
17 #include "xfa/fwl/core/fwl_noteimp.h" 18 #include "xfa/fwl/core/fwl_noteimp.h"
18 #include "xfa/fwl/core/ifwl_app.h" 19 #include "xfa/fwl/core/ifwl_app.h"
19 #include "xfa/fwl/core/ifwl_checkbox.h" 20 #include "xfa/fwl/core/ifwl_checkbox.h"
20 #include "xfa/fwl/core/ifwl_themeprovider.h" 21 #include "xfa/fwl/core/ifwl_themeprovider.h"
21 22
22 namespace { 23 namespace {
23 24
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 void IFWL_CheckBox::OnKeyDown(CFWL_MsgKey* pMsg) { 499 void IFWL_CheckBox::OnKeyDown(CFWL_MsgKey* pMsg) {
499 if (pMsg->m_dwKeyCode == FWL_VKEY_Tab) { 500 if (pMsg->m_dwKeyCode == FWL_VKEY_Tab) {
500 DispatchKeyEvent(pMsg); 501 DispatchKeyEvent(pMsg);
501 return; 502 return;
502 } 503 }
503 if (pMsg->m_dwKeyCode == FWL_VKEY_Return || 504 if (pMsg->m_dwKeyCode == FWL_VKEY_Return ||
504 pMsg->m_dwKeyCode == FWL_VKEY_Space) { 505 pMsg->m_dwKeyCode == FWL_VKEY_Space) {
505 NextStates(); 506 NextStates();
506 } 507 }
507 } 508 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_noteimp.cpp ('k') | xfa/fwl/core/ifwl_combobox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698