OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/autofill/autofill_external_delegate_gtk.h" | 5 #include "chrome/browser/ui/gtk/autofill/autofill_external_delegate_gtk.h" |
6 | 6 |
7 #include "chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h" | 7 #include "chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h" |
8 #include "chrome/browser/ui/gtk/gtk_theme_service.h" | 8 #include "chrome/browser/ui/gtk/gtk_theme_service.h" |
9 #include "chrome/browser/ui/tab_contents/tab_contents.h" | 9 #include "chrome/browser/ui/tab_contents/tab_contents.h" |
10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
11 #include "content/public/browser/web_contents_view.h" | 11 #include "content/public/browser/web_contents_view.h" |
12 | 12 |
13 AutofillExternalDelegate* AutofillExternalDelegate::Create( | 13 AutofillExternalDelegate* AutofillExternalDelegate::Create( |
14 TabContents* tab_contents, | 14 TabContents* tab_contents, |
15 AutofillManager* autofill_manager) { | 15 AutofillManager* autofill_manager) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 this); | 83 this); |
84 } | 84 } |
85 } | 85 } |
86 | 86 |
87 gboolean AutofillExternalDelegateGtk::HandleViewFocusOut(GtkWidget* sender, | 87 gboolean AutofillExternalDelegateGtk::HandleViewFocusOut(GtkWidget* sender, |
88 GdkEventFocus* event) { | 88 GdkEventFocus* event) { |
89 HideAutofillPopup(); | 89 HideAutofillPopup(); |
90 | 90 |
91 return TRUE; | 91 return TRUE; |
92 } | 92 } |
OLD | NEW |