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

Side by Side Diff: ui/base/ime/win/imm32_manager.cc

Issue 1210013007: clang/win: Fix warnings to prepare for building without -Wno-reorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-unsequenced
Patch Set: Created 5 years, 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium 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 #include "ui/base/ime/win/imm32_manager.h" 5 #include "ui/base/ime/win/imm32_manager.h"
6 6
7 #include <msctf.h> 7 #include <msctf.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 default: 110 default:
111 return false; 111 return false;
112 } 112 }
113 } 113 }
114 114
115 } // namespace 115 } // namespace
116 116
117 namespace ui { 117 namespace ui {
118 118
119 IMM32Manager::IMM32Manager() 119 IMM32Manager::IMM32Manager()
120 : ime_status_(false), 120 : is_composing_(false),
121 ime_status_(false),
121 input_language_id_(LANG_USER_DEFAULT), 122 input_language_id_(LANG_USER_DEFAULT),
122 is_composing_(false),
123 system_caret_(false), 123 system_caret_(false),
124 caret_rect_(-1, -1, 0, 0), 124 caret_rect_(-1, -1, 0, 0),
125 use_composition_window_(false) { 125 use_composition_window_(false) {
126 } 126 }
127 127
128 IMM32Manager::~IMM32Manager() { 128 IMM32Manager::~IMM32Manager() {
129 } 129 }
130 130
131 bool IMM32Manager::SetInputLanguage() { 131 bool IMM32Manager::SetInputLanguage() {
132 // Retrieve the current keyboard layout from Windows and determine whether 132 // Retrieve the current keyboard layout from Windows and determine whether
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 | IME_CMODE_KATAKANA 636 | IME_CMODE_KATAKANA
637 | IME_CMODE_FULLSHAPE); 637 | IME_CMODE_FULLSHAPE);
638 break; 638 break;
639 default: 639 default:
640 *open = FALSE; 640 *open = FALSE;
641 break; 641 break;
642 } 642 }
643 } 643 }
644 644
645 } // namespace ui 645 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698