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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_util.h

Issue 2449243002: Gtk3 ui: Add libgtk3ui as a separate build component (Closed)
Patch Set: Add theme_properties dep to //chrome/browser/ui Created 4 years, 2 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/ui/libgtk2ui/gtk2_ui.cc ('k') | chrome/browser/ui/libgtk2ui/gtk2_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/gtk2_util.h
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_util.h b/chrome/browser/ui/libgtk2ui/gtk2_util.h
deleted file mode 100644
index 92d06d16f2bc90d8a9487e5d4b5996fc2c4d9bd7..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/libgtk2ui/gtk2_util.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_
-#define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_
-
-#include <gtk/gtk.h>
-#include <string>
-
-#include "ui/native_theme/native_theme.h"
-
-class SkBitmap;
-
-namespace aura {
-class Window;
-}
-
-namespace base {
-class CommandLine;
-class Environment;
-}
-
-namespace ui {
-class Accelerator;
-}
-
-namespace libgtk2ui {
-
-void GtkInitFromCommandLine(const base::CommandLine& command_line);
-
-// Returns the name of the ".desktop" file associated with our running process.
-std::string GetDesktopName(base::Environment* env);
-
-guint GetGdkKeyCodeForAccelerator(const ui::Accelerator& accelerator);
-
-GdkModifierType GetGdkModifierForAccelerator(
- const ui::Accelerator& accelerator);
-
-// Translates event flags into plaform independent event flags.
-int EventFlagsFromGdkState(guint state);
-
-// Style a GTK button as a BlueButton
-void TurnButtonBlue(GtkWidget* button);
-
-// Sets |dialog| as transient for |parent|, which will keep it on top and center
-// it above |parent|. Do nothing if |parent| is NULL.
-void SetGtkTransientForAura(GtkWidget* dialog, aura::Window* parent);
-
-// Gets the transient parent aura window for |dialog|.
-aura::Window* GetAuraTransientParent(GtkWidget* dialog);
-
-// Clears the transient parent for |dialog|.
-void ClearAuraTransientParent(GtkWidget* dialog);
-
-} // namespace libgtk2ui
-
-#endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_
« no previous file with comments | « chrome/browser/ui/libgtk2ui/gtk2_ui.cc ('k') | chrome/browser/ui/libgtk2ui/gtk2_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698