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

Unified Diff: chrome/browser/gtk/bookmark_bar_instructions_gtk.h

Issue 6099014: Move chrome/browser/gtk to chrome/browser/ui/gtk (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move browser/gtk/ to browser/ui/gtk/, leave header stubs, update new header guards 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/bookmark_bar_gtk.h ('k') | chrome/browser/gtk/bookmark_bubble_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/bookmark_bar_instructions_gtk.h
diff --git a/chrome/browser/gtk/bookmark_bar_instructions_gtk.h b/chrome/browser/gtk/bookmark_bar_instructions_gtk.h
index b58e507567b44e3ca098b2aa038bae4deba6b0ac..03a5af5baecbdbf919ad5cc757a13ce6ea9cd62f 100644
--- a/chrome/browser/gtk/bookmark_bar_instructions_gtk.h
+++ b/chrome/browser/gtk/bookmark_bar_instructions_gtk.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,57 +6,7 @@
#define CHROME_BROWSER_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_
#pragma once
-#include "app/gtk_signal.h"
-#include "base/basictypes.h"
-#include "chrome/common/notification_observer.h"
-#include "chrome/common/notification_registrar.h"
-
-typedef struct _GtkWidget GtkWidget;
-class GtkThemeProvider;
-class Profile;
-
-class BookmarkBarInstructionsGtk : public NotificationObserver {
- public:
- // The delegate is notified once the user clicks on the link to import
- // bookmarks.
- class Delegate {
- public:
- virtual void ShowImportDialog() = 0;
-
- protected:
- virtual ~Delegate() {}
- };
-
- explicit BookmarkBarInstructionsGtk(Delegate* delegate, Profile* profile);
-
- // Get the native widget.
- GtkWidget* widget() const { return instructions_hbox_; }
-
- private:
- // Overridden from NotificationObserver:
- virtual void Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details);
-
- CHROMEGTK_CALLBACK_0(BookmarkBarInstructionsGtk, void, OnButtonClick);
-
- // Sets the correct color for |instructions_label_| and |instructions_link_|.
- void UpdateColors();
-
- Delegate* delegate_;
-
- Profile* profile_;
-
- GtkThemeProvider* theme_provider_;
-
- // HBox that holds the the label and link of bookmark bar import promotion.
- GtkWidget* instructions_hbox_;
- GtkWidget* instructions_label_;
- GtkWidget* instructions_link_;
-
- NotificationRegistrar registrar_;
-
- DISALLOW_COPY_AND_ASSIGN(BookmarkBarInstructionsGtk);
-};
+#include "chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.h"
+// TODO(msw): remove this file once all includes have been updated.
#endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_
« no previous file with comments | « chrome/browser/gtk/bookmark_bar_gtk.h ('k') | chrome/browser/gtk/bookmark_bubble_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698