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

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

Issue 10546054: TabContentsWrapper -> TabContents, part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
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(TabContents* tab_contents,
25 AutofillManager* autofill_manager); 25 AutofillManager* autofill_manager);
26 26
27 virtual ~AutofillExternalDelegateGtk(); 27 virtual ~AutofillExternalDelegateGtk();
28 28
29 protected: 29 protected:
30 // AutofillExternalDelegate implementations. 30 // AutofillExternalDelegate implementations.
31 virtual void HideAutofillPopupInternal() OVERRIDE; 31 virtual void HideAutofillPopupInternal() OVERRIDE;
32 virtual void OnQueryPlatformSpecific( 32 virtual void OnQueryPlatformSpecific(
33 int query_id, 33 int query_id,
34 const webkit::forms::FormData& form, 34 const webkit::forms::FormData& form,
(...skipping 20 matching lines...) Expand all
55 gfx::NativeView tab_native_view_; // Weak reference. 55 gfx::NativeView tab_native_view_; // Weak reference.
56 56
57 // 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
58 // it as needed. 58 // it as needed.
59 gulong event_handler_id_; 59 gulong event_handler_id_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegateGtk); 61 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegateGtk);
62 }; 62 };
63 63
64 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_ 64 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698