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

Side by Side Diff: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h

Issue 10073018: Add Delete Support to New Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 7 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_UI_GTK_AUTOFILL_AUTOFILL_POPUP_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_AUTOFILL_AUTOFILL_POPUP_VIEW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_AUTOFILL_AUTOFILL_POPUP_VIEW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_AUTOFILL_AUTOFILL_POPUP_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <pango/pango.h> 9 #include <pango/pango.h>
10 10
(...skipping 24 matching lines...) Expand all
35 AutofillPopupViewGtk(content::WebContents* web_contents, 35 AutofillPopupViewGtk(content::WebContents* web_contents,
36 AutofillExternalDelegate* external_delegate, 36 AutofillExternalDelegate* external_delegate,
37 GtkWidget* parent); 37 GtkWidget* parent);
38 virtual ~AutofillPopupViewGtk(); 38 virtual ~AutofillPopupViewGtk();
39 39
40 protected: 40 protected:
41 // AutofillPopupView implementations. 41 // AutofillPopupView implementations.
42 virtual void ShowInternal() OVERRIDE; 42 virtual void ShowInternal() OVERRIDE;
43 virtual void HideInternal() OVERRIDE; 43 virtual void HideInternal() OVERRIDE;
44 virtual void InvalidateRow(size_t row) OVERRIDE; 44 virtual void InvalidateRow(size_t row) OVERRIDE;
45 virtual void ResizePopup() OVERRIDE;
45 46
46 private: 47 private:
47 CHROMEGTK_CALLBACK_1(AutofillPopupViewGtk, gboolean, HandleButtonRelease, 48 CHROMEGTK_CALLBACK_1(AutofillPopupViewGtk, gboolean, HandleButtonRelease,
48 GdkEventButton*); 49 GdkEventButton*);
49 CHROMEGTK_CALLBACK_1(AutofillPopupViewGtk, gboolean, HandleExpose, 50 CHROMEGTK_CALLBACK_1(AutofillPopupViewGtk, gboolean, HandleExpose,
50 GdkEventExpose*); 51 GdkEventExpose*);
51 CHROMEGTK_CALLBACK_1(AutofillPopupViewGtk, gboolean, HandleMotion, 52 CHROMEGTK_CALLBACK_1(AutofillPopupViewGtk, gboolean, HandleMotion,
52 GdkEventMotion*); 53 GdkEventMotion*);
53 54
54 // KeyboardListener implementation. 55 // KeyboardListener implementation.
(...skipping 16 matching lines...) Expand all
71 // The height of each individual Autofill popup row. 72 // The height of each individual Autofill popup row.
72 int row_height_; 73 int row_height_;
73 74
74 // The size of the popup. 75 // The size of the popup.
75 gfx::Rect bounds_; 76 gfx::Rect bounds_;
76 77
77 content::RenderViewHost* render_view_host_; // Weak reference. 78 content::RenderViewHost* render_view_host_; // Weak reference.
78 }; 79 };
79 80
80 #endif // CHROME_BROWSER_UI_GTK_AUTOFILL_AUTOFILL_POPUP_VIEW_GTK_H_ 81 #endif // CHROME_BROWSER_UI_GTK_AUTOFILL_AUTOFILL_POPUP_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/test_autofill_external_delegate.cc ('k') | chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698