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

Unified Diff: ui/base/gtk/tooltip_window_gtk.h

Issue 10008058: Remove obsolete chromeos specific code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 8 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 | « printing/printed_document_gtk.cc ('k') | ui/base/gtk/tooltip_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/tooltip_window_gtk.h
diff --git a/ui/base/gtk/tooltip_window_gtk.h b/ui/base/gtk/tooltip_window_gtk.h
deleted file mode 100644
index 8183fe9734e048f10d63ddc1b547600fb16cb784..0000000000000000000000000000000000000000
--- a/ui/base/gtk/tooltip_window_gtk.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// 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.
-
-#ifndef UI_BASE_GTK_TOOLTIP_WINDOW_GTK_H_
-#define UI_BASE_GTK_TOOLTIP_WINDOW_GTK_H_
-#pragma once
-
-#include <string>
-
-#include "base/string16.h"
-#include "ui/base/glib/glib_integers.h"
-#include "ui/base/gtk/gtk_signal.h"
-#include "ui/base/ui_export.h"
-
-typedef struct _GdkEventExpose GdkEventExpose;
-typedef struct _GtkLabel GtkLabel;
-typedef struct _GtkWidget GtkWidget;
-typedef struct _GtkStyle GtkStyle;
-
-namespace ui {
-
-// TooltipWindowGtk provides a customized tooltip window and gives us a
-// chance to apply RGBA colormap on it. This enables the GTK theme engine to
-// draw tooltip with nice shadow and rounded corner on ChromeOS.
-class UI_EXPORT TooltipWindowGtk {
- public:
- explicit TooltipWindowGtk(GtkWidget* widget);
- ~TooltipWindowGtk();
-
- // Sets tooltip text to display.
- void SetTooltipText(const string16& text);
-
- GtkLabel* label();
-
- protected:
- CHROMEGTK_CALLBACK_1(TooltipWindowGtk, gboolean, OnPaint, GdkEventExpose*);
- CHROMEGTK_CALLBACK_1(TooltipWindowGtk, void, OnStyleSet, GtkStyle*);
-
- private:
- void Init();
-
- // Underlying widget of this tooltip window.
- GtkWidget* host_;
-
- // GtkWindow of this tooltip window.
- GtkWidget* window_;
-
- // The alignment and label widgets contained of the tooltip window.
- GtkWidget* alignment_;
- GtkWidget* label_;
-
- DISALLOW_COPY_AND_ASSIGN(TooltipWindowGtk);
-};
-
-} // namespace ui
-
-#endif // UI_BASE_GTK_TOOLTIP_WINDOW_GTK_H_
« no previous file with comments | « printing/printed_document_gtk.cc ('k') | ui/base/gtk/tooltip_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698