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

Side by Side Diff: views/controls/textfield/native_textfield_gtk.cc

Issue 8491035: Revert 109583 - Move views/ime/text_input_client.h to ui/base/ime/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
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 <gdk/gdkkeysyms.h> 5 #include <gdk/gdkkeysyms.h>
6 #include <gtk/gtk.h> 6 #include <gtk/gtk.h>
7 7
8 #include "views/controls/textfield/native_textfield_gtk.h" 8 #include "views/controls/textfield/native_textfield_gtk.h"
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 bool NativeTextfieldGtk::HandleKeyReleased(const views::KeyEvent& e) { 281 bool NativeTextfieldGtk::HandleKeyReleased(const views::KeyEvent& e) {
282 return false; 282 return false;
283 } 283 }
284 284
285 void NativeTextfieldGtk::HandleFocus() { 285 void NativeTextfieldGtk::HandleFocus() {
286 } 286 }
287 287
288 void NativeTextfieldGtk::HandleBlur() { 288 void NativeTextfieldGtk::HandleBlur() {
289 } 289 }
290 290
291 ui::TextInputClient* NativeTextfieldGtk::GetTextInputClient() { 291 TextInputClient* NativeTextfieldGtk::GetTextInputClient() {
292 return NULL; 292 return NULL;
293 } 293 }
294 294
295 void NativeTextfieldGtk::ApplyStyleRange(const gfx::StyleRange& style) { 295 void NativeTextfieldGtk::ApplyStyleRange(const gfx::StyleRange& style) {
296 NOTREACHED(); 296 NOTREACHED();
297 } 297 }
298 298
299 void NativeTextfieldGtk::ApplyDefaultStyle() { 299 void NativeTextfieldGtk::ApplyDefaultStyle() {
300 NOTREACHED(); 300 NOTREACHED();
301 } 301 }
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 429
430 // static 430 // static
431 NativeTextfieldWrapper* NativeTextfieldWrapper::CreateWrapper( 431 NativeTextfieldWrapper* NativeTextfieldWrapper::CreateWrapper(
432 Textfield* field) { 432 Textfield* field) {
433 if (Widget::IsPureViews()) 433 if (Widget::IsPureViews())
434 return new NativeTextfieldViews(field); 434 return new NativeTextfieldViews(field);
435 return new NativeTextfieldGtk(field); 435 return new NativeTextfieldGtk(field);
436 } 436 }
437 437
438 } // namespace views 438 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/textfield/native_textfield_gtk.h ('k') | views/controls/textfield/native_textfield_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698