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

Side by Side Diff: chrome/browser/ui/gtk/bookmark_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
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 the bookmark bubble, the dialog box 5 // This is the GTK implementation of the bookmark bubble, the dialog box
6 // presented to create or edit a bookmark. There can only ever be a single 6 // presented to create or edit a bookmark. There can only ever be a single
7 // bubble open, so the class presents only static methods, and handles the 7 // bubble open, so the class presents only static methods, and handles the
8 // singleton behavior for you. It also handles the object and widget 8 // singleton behavior for you. It also handles the object and widget
9 // lifetimes, destroying everything and possibly committing any changes when 9 // lifetimes, destroying everything and possibly committing any changes when
10 // the bubble is closed. 10 // the bubble is closed.
11 11
12 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARK_BUBBLE_GTK_H_ 12 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARK_BUBBLE_GTK_H_
13 #define CHROME_BROWSER_UI_GTK_BOOKMARK_BUBBLE_GTK_H_ 13 #define CHROME_BROWSER_UI_GTK_BOOKMARK_BUBBLE_GTK_H_
14 #pragma once 14 #pragma once
15 15
16 #include <string> 16 #include <string>
17 #include <vector> 17 #include <vector>
18 18
19 #include "app/gtk_signal.h"
20 #include "base/basictypes.h" 19 #include "base/basictypes.h"
21 #include "base/scoped_ptr.h" 20 #include "base/scoped_ptr.h"
22 #include "base/task.h" 21 #include "base/task.h"
23 #include "chrome/browser/ui/gtk/info_bubble_gtk.h" 22 #include "chrome/browser/ui/gtk/info_bubble_gtk.h"
24 #include "chrome/common/notification_observer.h" 23 #include "chrome/common/notification_observer.h"
25 #include "chrome/common/notification_registrar.h" 24 #include "chrome/common/notification_registrar.h"
26 #include "googleurl/src/gurl.h" 25 #include "googleurl/src/gurl.h"
26 #include "ui/base/gtk/gtk_signal.h"
27 27
28 class BookmarkNode; 28 class BookmarkNode;
29 class Profile; 29 class Profile;
30 class RecentlyUsedFoldersComboModel; 30 class RecentlyUsedFoldersComboModel;
31 31
32 typedef struct _GtkWidget GtkWidget; 32 typedef struct _GtkWidget GtkWidget;
33 typedef struct _GParamSpec GParamSpec; 33 typedef struct _GParamSpec GParamSpec;
34 34
35 class BookmarkBubbleGtk : public InfoBubbleGtkDelegate, 35 class BookmarkBubbleGtk : public InfoBubbleGtkDelegate,
36 public NotificationObserver { 36 public NotificationObserver {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // When closing the window, whether we should update or remove the bookmark. 120 // When closing the window, whether we should update or remove the bookmark.
121 bool apply_edits_; 121 bool apply_edits_;
122 bool remove_bookmark_; 122 bool remove_bookmark_;
123 123
124 NotificationRegistrar registrar_; 124 NotificationRegistrar registrar_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleGtk); 126 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleGtk);
127 }; 127 };
128 128
129 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_BUBBLE_GTK_H_ 129 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.h ('k') | chrome/browser/ui/gtk/bookmark_editor_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698