OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "views/controls/textfield/native_textfield_win.h" | 5 #include "views/controls/textfield/native_textfield_win.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/i18n/case_conversion.h" | 9 #include "base/i18n/case_conversion.h" |
10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 void NativeTextfieldWin::HandleFocus() { | 360 void NativeTextfieldWin::HandleFocus() { |
361 } | 361 } |
362 | 362 |
363 void NativeTextfieldWin::HandleBlur() { | 363 void NativeTextfieldWin::HandleBlur() { |
364 } | 364 } |
365 | 365 |
366 TextInputClient* NativeTextfieldWin::GetTextInputClient() { | 366 TextInputClient* NativeTextfieldWin::GetTextInputClient() { |
367 return NULL; | 367 return NULL; |
368 } | 368 } |
369 | 369 |
370 TextStyle* NativeTextfieldWin::CreateTextStyle() { | 370 void NativeTextfieldWin::ApplyStyleRange(const gfx::StyleRange& style) { |
371 NOTREACHED(); | |
372 return NULL; | |
373 } | |
374 | |
375 void NativeTextfieldWin::ApplyTextStyle(const TextStyle* style, | |
376 const ui::Range& range) { | |
377 NOTREACHED(); | 371 NOTREACHED(); |
378 } | 372 } |
379 | 373 |
380 void NativeTextfieldWin::ClearAllTextStyles() { | 374 void NativeTextfieldWin::ApplyDefaultStyle() { |
381 NOTREACHED(); | 375 NOTREACHED(); |
382 } | 376 } |
383 | 377 |
384 void NativeTextfieldWin::ClearEditHistory() { | 378 void NativeTextfieldWin::ClearEditHistory() { |
385 NOTREACHED(); | 379 NOTREACHED(); |
386 } | 380 } |
387 | 381 |
388 //////////////////////////////////////////////////////////////////////////////// | 382 //////////////////////////////////////////////////////////////////////////////// |
389 // NativeTextfieldWin, ui::SimpleMenuModel::Delegate implementation: | 383 // NativeTextfieldWin, ui::SimpleMenuModel::Delegate implementation: |
390 | 384 |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1155 | 1149 |
1156 // static | 1150 // static |
1157 NativeTextfieldWrapper* NativeTextfieldWrapper::CreateWrapper( | 1151 NativeTextfieldWrapper* NativeTextfieldWrapper::CreateWrapper( |
1158 Textfield* field) { | 1152 Textfield* field) { |
1159 if (views::Widget::IsPureViews()) | 1153 if (views::Widget::IsPureViews()) |
1160 return new NativeTextfieldViews(field); | 1154 return new NativeTextfieldViews(field); |
1161 return new NativeTextfieldWin(field); | 1155 return new NativeTextfieldWin(field); |
1162 } | 1156 } |
1163 | 1157 |
1164 } // namespace views | 1158 } // namespace views |
OLD | NEW |