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

Unified Diff: chrome/browser/ui/libgtkui/menu_util.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/menu_util.h ('k') | chrome/browser/ui/libgtkui/native_theme_gtk2.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/menu_util.cc
diff --git a/chrome/browser/ui/libgtk2ui/menu_util.cc b/chrome/browser/ui/libgtkui/menu_util.cc
similarity index 97%
rename from chrome/browser/ui/libgtk2ui/menu_util.cc
rename to chrome/browser/ui/libgtkui/menu_util.cc
index 6cedac2fa9a75c8feefc2af54c2a0928295e5794..d02313f177f925812eab4681ffc6d70c8fee4a7e 100644
--- a/chrome/browser/ui/libgtk2ui/menu_util.cc
+++ b/chrome/browser/ui/libgtkui/menu_util.cc
@@ -2,19 +2,19 @@
// 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/menu_util.h"
+#include "chrome/browser/ui/libgtkui/menu_util.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
-#include "chrome/browser/ui/libgtk2ui/gtk2_util.h"
-#include "chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h"
+#include "chrome/browser/ui/libgtkui/gtk2_util.h"
+#include "chrome/browser/ui/libgtkui/skia_utils_gtk2.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/accelerators/menu_label_accelerator_util_linux.h"
#include "ui/base/models/menu_model.h"
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-namespace libgtk2ui {
+namespace libgtkui {
GtkWidget* BuildMenuItemWithImage(const std::string& label, GtkWidget* image) {
GtkWidget* menu_item = gtk_image_menu_item_new_with_mnemonic(label.c_str());
@@ -261,4 +261,4 @@ void SetMenuItemInfo(GtkWidget* widget, void* block_activation_ptr) {
}
}
-} // namespace libgtk2ui
+} // namespace libgtkui
« no previous file with comments | « chrome/browser/ui/libgtkui/menu_util.h ('k') | chrome/browser/ui/libgtkui/native_theme_gtk2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698