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

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

Issue 115835: Implement GtkFloatingContainer (Closed)
Patch Set: Cleanups Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/gtk_floating_container.cc ('k') | chrome/browser/gtk/status_bubble_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/status_bubble_gtk.h
diff --git a/chrome/browser/gtk/status_bubble_gtk.h b/chrome/browser/gtk/status_bubble_gtk.h
index e4fb4c31f268f98b21c55e8ce33a2588cd8f367c..5de672b0a0a282a9c49900f71077a903b0f8ebe1 100644
--- a/chrome/browser/gtk/status_bubble_gtk.h
+++ b/chrome/browser/gtk/status_bubble_gtk.h
@@ -38,11 +38,6 @@ class StatusBubbleGtk : public StatusBubble {
void SetStatus(const std::string& status_utf8);
- // Notification from our parent GtkFixed about its size. |allocation| is the
- // size of our |parent| GtkFixed, and we use it to position our status bubble
- // directly on top of the current render view.
- void SetParentAllocation(GtkWidget* parent, GtkAllocation* allocation);
-
// Top of the widget hierarchy for a StatusBubble. This top level widget is
// guarenteed to have its gtk_widget_name set to "status-bubble" for
// identification.
@@ -59,25 +54,12 @@ class StatusBubbleGtk : public StatusBubble {
// Builds the widgets, containers, etc.
void InitWidgets();
- // An ad hoc, informally-specified, bug-ridden, slow implementation of half
- // of GTK's requisition/allocation system. We use this to position the status
- // bubble on top of our parent GtkFixed.
- void SetStatusBubbleSize();
-
// A GtkAlignment that is the child of |slide_widget_|.
OwnedWidgetGtk container_;
// The GtkLabel holding the text.
GtkWidget* label_;
- // Our parent GtkFixed. (We don't own this; we only keep a reference as we
- // set our own size by notifying |parent_| of our desired size.)
- GtkWidget* parent_;
-
- // |parent_|'s GtkAllocation. We make sure that |container_| lives along the
- // bottom of this and doesn't protrude.
- GtkAllocation parent_allocation_;
-
// A timer that hides our window after a delay.
ScopedRunnableMethodFactory<StatusBubbleGtk> timer_factory_;
};
« no previous file with comments | « chrome/browser/gtk/gtk_floating_container.cc ('k') | chrome/browser/gtk/status_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698