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

Side by Side Diff: chrome/browser/autofill/autofill_external_delegate_gtk.h

Issue 9235072: Adding Mouse Support for new GTK Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing problem with autofillAgent browser tests Created 8 years, 10 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 unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/autofill/autofill_external_delegate.h" 12 #include "chrome/browser/autofill/autofill_external_delegate.h"
13 #include "ui/base/gtk/gtk_signal.h" 13 #include "ui/base/gtk/gtk_signal.h"
14 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
15 15
16 class AutofillPopupViewGtk; 16 class AutofillPopupViewGtk;
17 17
18 namespace content { 18 namespace content {
19 class WebContents; 19 class WebContents;
20 } 20 }
21 21
22 class AutofillExternalDelegateGtk : public AutofillExternalDelegate { 22 class AutofillExternalDelegateGtk : public AutofillExternalDelegate {
23 public: 23 public:
24 AutofillExternalDelegateGtk(TabContentsWrapper* tab_contents_wrapper, 24 AutofillExternalDelegateGtk(TabContentsWrapper* tab_contents_wrapper,
25 AutofillManager* autofill_manager); 25 AutofillManager* autofill_manager);
26 26
27 virtual ~AutofillExternalDelegateGtk(); 27 virtual ~AutofillExternalDelegateGtk();
28 28
29 // AutofillExternalDelegate implementation.
30 virtual void HideAutofillPopup() OVERRIDE;
31
32 protected: 29 protected:
33 // AutofillExternalDelegate implementations. 30 // AutofillExternalDelegate implementations.
31 virtual void HideAutofillPopupInternal() OVERRIDE;
34 virtual void OnQueryPlatformSpecific( 32 virtual void OnQueryPlatformSpecific(
35 int query_id, 33 int query_id,
36 const webkit::forms::FormData& form, 34 const webkit::forms::FormData& form,
37 const webkit::forms::FormField& field, 35 const webkit::forms::FormField& field,
38 const gfx::Rect& bounds) OVERRIDE; 36 const gfx::Rect& bounds) OVERRIDE;
39 virtual void ApplyAutofillSuggestions( 37 virtual void ApplyAutofillSuggestions(
40 const std::vector<string16>& autofill_values, 38 const std::vector<string16>& autofill_values,
41 const std::vector<string16>& autofill_labels, 39 const std::vector<string16>& autofill_labels,
42 const std::vector<string16>& autofill_icons, 40 const std::vector<string16>& autofill_icons,
43 const std::vector<int>& autofill_unique_ids, 41 const std::vector<int>& autofill_unique_ids,
(...skipping 13 matching lines...) Expand all
57 gfx::NativeView tab_native_view_; // Weak reference. 55 gfx::NativeView tab_native_view_; // Weak reference.
58 56
59 // The handler value for the focus out event, allows us to block and unblock 57 // The handler value for the focus out event, allows us to block and unblock
60 // it as needed. 58 // it as needed.
61 gulong event_handler_id_; 59 gulong event_handler_id_;
62 60
63 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegateGtk); 61 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegateGtk);
64 }; 62 };
65 63
66 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_ 64 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_external_delegate.cc ('k') | chrome/browser/autofill/autofill_external_delegate_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698