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

Unified Diff: chrome/browser/ui/libgtkui/skia_utils_gtk2.cc

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/libgtkui/skia_utils_gtk2.h ('k') | chrome/browser/ui/libgtkui/unity_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/skia_utils_gtk2.cc
diff --git a/chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc b/chrome/browser/ui/libgtkui/skia_utils_gtk2.cc
similarity index 97%
rename from chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc
rename to chrome/browser/ui/libgtkui/skia_utils_gtk2.cc
index f896979550b99083ed4daf7b8fd409ba2907145a..d4e04754696b7ae3877246ddfea1f2ac0abc2b18 100644
--- a/chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc
+++ b/chrome/browser/ui/libgtkui/skia_utils_gtk2.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h"
+#include "chrome/browser/ui/libgtkui/skia_utils_gtk2.h"
#include <gdk/gdk.h>
@@ -10,7 +10,7 @@
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkUnPreMultiply.h"
-namespace libgtk2ui {
+namespace libgtkui {
// GDK_COLOR_RGB multiplies by 257 (= 0x10001) to distribute the bits evenly
// See: http://www.mindcontrol.org/~hplus/graphics/expand-bits.html
@@ -130,4 +130,4 @@ GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap) {
return pixbuf;
}
-} // namespace libgtk2ui
+} // namespace libgtkui
« no previous file with comments | « chrome/browser/ui/libgtkui/skia_utils_gtk2.h ('k') | chrome/browser/ui/libgtkui/unity_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698