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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_popup_view_gtk.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 18 matching lines...) Expand all
29 class SkBitmap; 29 class SkBitmap;
30 30
31 class AutocompletePopupViewGtk : public AutocompletePopupView, 31 class AutocompletePopupViewGtk : public AutocompletePopupView,
32 public NotificationObserver { 32 public NotificationObserver {
33 public: 33 public:
34 AutocompletePopupViewGtk(const gfx::Font& font, 34 AutocompletePopupViewGtk(const gfx::Font& font,
35 OmniboxView* omnibox_view, 35 OmniboxView* omnibox_view,
36 AutocompleteEditModel* edit_model, 36 AutocompleteEditModel* edit_model,
37 Profile* profile, 37 Profile* profile,
38 GtkWidget* location_bar); 38 GtkWidget* location_bar);
39 ~AutocompletePopupViewGtk(); 39 virtual ~AutocompletePopupViewGtk();
40 40
41 // Overridden from AutocompletePopupView: 41 // Overridden from AutocompletePopupView:
42 virtual bool IsOpen() const; 42 virtual bool IsOpen() const;
43 virtual void InvalidateLine(size_t line); 43 virtual void InvalidateLine(size_t line);
44 virtual void UpdatePopupAppearance(); 44 virtual void UpdatePopupAppearance();
45 virtual gfx::Rect GetTargetBounds(); 45 virtual gfx::Rect GetTargetBounds();
46 virtual void PaintUpdatesNow(); 46 virtual void PaintUpdatesNow();
47 virtual void OnDragCanceled(); 47 virtual void OnDragCanceled();
48 48
49 // Overridden from NotificationObserver: 49 // Overridden from NotificationObserver:
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // erroneously ignore the next drag. 132 // erroneously ignore the next drag.
133 bool ignore_mouse_drag_; 133 bool ignore_mouse_drag_;
134 134
135 // Whether our popup is currently open / shown, or closed / hidden. 135 // Whether our popup is currently open / shown, or closed / hidden.
136 bool opened_; 136 bool opened_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewGtk); 138 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewGtk);
139 }; 139 };
140 140
141 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ 141 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit.h ('k') | chrome/browser/autocomplete/history_contents_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698