| OLD | NEW |
| 1 // #ifndef CHROME_VIEWS_NATIVE_CONTROL_WIN_H_// Copyright (c) 2009 The Chromium
Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // LICENSE file. |
| 4 | 4 |
| 5 #include "views/controls/native_control_gtk.h" | 5 #include "views/controls/native_control_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 | 10 |
| 11 namespace views { | 11 namespace views { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 | 60 |
| 61 void NativeControlGtk::NativeControlCreated(GtkWidget* native_control) { | 61 void NativeControlGtk::NativeControlCreated(GtkWidget* native_control) { |
| 62 Attach(native_control); | 62 Attach(native_control); |
| 63 | 63 |
| 64 // Update the newly created GtkWdigetwith any resident enabled state. | 64 // Update the newly created GtkWdigetwith any resident enabled state. |
| 65 gtk_widget_set_sensitive(native_view(), IsEnabled()); | 65 gtk_widget_set_sensitive(native_view(), IsEnabled()); |
| 66 } | 66 } |
| 67 | 67 |
| 68 } // namespace views | 68 } // namespace views |
| OLD | NEW |