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

Unified Diff: ui/views/controls/textfield/textfield.cc

Issue 9968058: Cleanup: remove GTK stuff (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/textfield/textfield.h ('k') | ui/views/examples/example_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index d110b583b2e62d3ad316bb512d63c7c06a268f3e..5b560e4e2025621391f12a0e2c64e2c85b9b8ac7 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -375,11 +375,6 @@ bool Textfield::SkipDefaultKeyEventProcessing(const KeyEvent& e) {
return false;
}
-void Textfield::OnPaintBackground(gfx::Canvas* canvas) {
- // Overridden to be public - gtk_views_entry.cc wants to call it.
- View::OnPaintBackground(canvas);
-}
-
void Textfield::OnPaintFocusBorder(gfx::Canvas* canvas) {
if (NativeViewHost::kRenderNativeControlFocus)
View::OnPaintFocusBorder(canvas);
@@ -453,8 +448,7 @@ void Textfield::ViewHierarchyChanged(bool is_add, View* parent, View* child) {
if (!views::Widget::IsPureViews()) {
// TODO(beng): remove this once NativeTextfieldWin subclasses
// NativeControlWin. This is currently called to perform post-AddChildView
- // initialization for the wrapper. The GTK version subclasses things
- // correctly and doesn't need this.
+ // initialization for the wrapper.
//
// Remove the include for native_textfield_win.h above when you fix this.
static_cast<NativeTextfieldWin*>(native_wrapper_)->AttachHack();
« no previous file with comments | « ui/views/controls/textfield/textfield.h ('k') | ui/views/examples/example_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698