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

Side by Side Diff: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_UI_GTK_OMNIBOX_OMNIBOX_POPUP_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_POPUP_VIEW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_POPUP_VIEW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_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 29 matching lines...) Expand all
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:
50 virtual void Observe(NotificationType type, 50 virtual void Observe(int type,
51 const NotificationSource& source, 51 const NotificationSource& source,
52 const NotificationDetails& details); 52 const NotificationDetails& details);
53 53
54 private: 54 private:
55 // Be friendly for unit tests. 55 // Be friendly for unit tests.
56 friend class OmniboxPopupViewGtkTest; 56 friend class OmniboxPopupViewGtkTest;
57 57
58 static void SetupLayoutForMatch( 58 static void SetupLayoutForMatch(
59 PangoLayout* layout, 59 PangoLayout* layout,
60 const string16& text, 60 const string16& text,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // erroneously ignore the next drag. 133 // erroneously ignore the next drag.
134 bool ignore_mouse_drag_; 134 bool ignore_mouse_drag_;
135 135
136 // Whether our popup is currently open / shown, or closed / hidden. 136 // Whether our popup is currently open / shown, or closed / hidden.
137 bool opened_; 137 bool opened_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupViewGtk); 139 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupViewGtk);
140 }; 140 };
141 141
142 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_POPUP_VIEW_GTK_H_ 142 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_POPUP_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc ('k') | chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698