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

Side by Side Diff: chrome/browser/ui/gtk/info_bubble_gtk.h

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/browser/ui/gtk/import_lock_dialog_gtk.h ('k') | chrome/browser/ui/gtk/infobar_gtk.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This is the GTK implementation of InfoBubbles. InfoBubbles are like 5 // This is the GTK implementation of InfoBubbles. InfoBubbles are like
6 // dialogs, but they point to a given element on the screen. You should call 6 // dialogs, but they point to a given element on the screen. You should call
7 // InfoBubbleGtk::Show, which will create and display a bubble. The object is 7 // InfoBubbleGtk::Show, which will create and display a bubble. The object is
8 // self deleting, when the bubble is closed, you will be notified via 8 // self deleting, when the bubble is closed, you will be notified via
9 // InfoBubbleGtkDelegate::InfoBubbleClosing(). Then the widgets and the 9 // InfoBubbleGtkDelegate::InfoBubbleClosing(). Then the widgets and the
10 // underlying object will be destroyed. You can also close and destroy the 10 // underlying object will be destroyed. You can also close and destroy the
11 // bubble by calling Close(). 11 // bubble by calling Close().
12 12
13 #ifndef CHROME_BROWSER_UI_GTK_INFO_BUBBLE_GTK_H_ 13 #ifndef CHROME_BROWSER_UI_GTK_INFO_BUBBLE_GTK_H_
14 #define CHROME_BROWSER_UI_GTK_INFO_BUBBLE_GTK_H_ 14 #define CHROME_BROWSER_UI_GTK_INFO_BUBBLE_GTK_H_
15 #pragma once 15 #pragma once
16 16
17 #include <gtk/gtk.h> 17 #include <gtk/gtk.h>
18 #include <vector> 18 #include <vector>
19 19
20 #include "app/gtk_signal.h"
21 #include "app/gtk_signal_registrar.h"
22 #include "base/basictypes.h" 20 #include "base/basictypes.h"
23 #include "chrome/common/notification_observer.h" 21 #include "chrome/common/notification_observer.h"
24 #include "chrome/common/notification_registrar.h" 22 #include "chrome/common/notification_registrar.h"
25 #include "gfx/point.h" 23 #include "gfx/point.h"
26 #include "gfx/rect.h" 24 #include "gfx/rect.h"
25 #include "ui/base/gtk/gtk_signal.h"
26 #include "ui/base/gtk/gtk_signal_registrar.h"
27 27
28 class GtkThemeProvider; 28 class GtkThemeProvider;
29 class InfoBubbleGtk; 29 class InfoBubbleGtk;
30 namespace gfx { 30 namespace gfx {
31 class Rect; 31 class Rect;
32 } 32 }
33 33
34 class InfoBubbleGtkDelegate { 34 class InfoBubbleGtkDelegate {
35 public: 35 public:
36 // Called when the InfoBubble is closing and is about to be deleted. 36 // Called when the InfoBubble is closing and is about to be deleted.
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 // If true, the popup owns all X input for the duration of its existence. 201 // If true, the popup owns all X input for the duration of its existence.
202 // This will usually be true, the exception being when inspecting extension 202 // This will usually be true, the exception being when inspecting extension
203 // popups with dev tools. 203 // popups with dev tools.
204 bool grab_input_; 204 bool grab_input_;
205 205
206 bool closed_by_escape_; 206 bool closed_by_escape_;
207 207
208 NotificationRegistrar registrar_; 208 NotificationRegistrar registrar_;
209 209
210 GtkSignalRegistrar signals_; 210 ui::GtkSignalRegistrar signals_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(InfoBubbleGtk); 212 DISALLOW_COPY_AND_ASSIGN(InfoBubbleGtk);
213 }; 213 };
214 214
215 #endif // CHROME_BROWSER_UI_GTK_INFO_BUBBLE_GTK_H_ 215 #endif // CHROME_BROWSER_UI_GTK_INFO_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/import_lock_dialog_gtk.h ('k') | chrome/browser/ui/gtk/infobar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698