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

Unified Diff: chrome/browser/browser_main_gtk.cc

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/automation/ui_controls_linux.cc ('k') | chrome/browser/chromeos/external_protocol_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main_gtk.cc
===================================================================
--- chrome/browser/browser_main_gtk.cc (revision 71854)
+++ chrome/browser/browser_main_gtk.cc (working copy)
@@ -8,8 +8,6 @@
#include <sys/types.h>
#include <unistd.h>
-#include "app/x11_util.h"
-#include "app/x11_util_internal.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
#include "chrome/browser/browser_list.h"
@@ -20,6 +18,8 @@
#include "chrome/browser/zygote_host_linux.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/result_codes.h"
+#include "ui/base/x/x11_util.h"
+#include "ui/base/x/x11_util_internal.h"
#if defined(USE_NSS)
#include "base/nss_util.h"
@@ -36,7 +36,7 @@
int BrowserX11ErrorHandler(Display* d, XErrorEvent* error) {
if (!g_in_x11_io_error_handler)
- LOG(ERROR) << x11_util::GetErrorEventDescription(d, error);
+ LOG(ERROR) << ui::GetErrorEventDescription(d, error);
return 0;
}
@@ -128,9 +128,7 @@
void SetBrowserX11ErrorHandlers() {
// Set up error handlers to make sure profile gets written if X server
// goes away.
- x11_util::SetX11ErrorHandlers(
- BrowserX11ErrorHandler,
- BrowserX11IOErrorHandler);
+ ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler);
}
#if !defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/automation/ui_controls_linux.cc ('k') | chrome/browser/chromeos/external_protocol_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698