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

Unified Diff: ash/shell.cc

Issue 23880006: gtk: Allow building both the X11 and Gtk message-pumps for gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 7 years, 3 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 | « ash/display/mirror_window_controller.cc ('k') | base/base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 12a547fe07126fe6a9624c2e3edb813d5dd8fa6f..badb7e4a83cdf479ec917e41993f10f4d7de4785 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -116,7 +116,7 @@
#include "ash/display/display_error_observer_chromeos.h"
#include "ash/display/output_configurator_animation.h"
#include "base/chromeos/chromeos_version.h"
-#include "base/message_loop/message_pump_aurax11.h"
+#include "base/message_loop/message_pump_x11.h"
#include "chromeos/display/output_configurator.h"
#include "content/public/browser/gpu_data_manager.h"
#include "gpu/config/gpu_feature_type.h"
@@ -230,11 +230,11 @@ Shell::Shell(ShellDelegate* delegate)
output_configurator_->Init(!is_panel_fitting_disabled);
- base::MessagePumpAuraX11::Current()->AddDispatcherForRootWindow(
+ base::MessagePumpX11::Current()->AddDispatcherForRootWindow(
output_configurator());
// We can't do this with a root window listener because XI_HierarchyChanged
// messages don't have a target window.
- base::MessagePumpAuraX11::Current()->AddObserver(output_configurator());
+ base::MessagePumpX11::Current()->AddObserver(output_configurator());
#endif // defined(OS_CHROMEOS)
AddPreTargetHandler(this);
@@ -329,9 +329,9 @@ Shell::~Shell() {
output_configurator_->RemoveObserver(output_configurator_animation_.get());
if (display_error_observer_)
output_configurator_->RemoveObserver(display_error_observer_.get());
- base::MessagePumpAuraX11::Current()->RemoveDispatcherForRootWindow(
+ base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow(
output_configurator());
- base::MessagePumpAuraX11::Current()->RemoveObserver(output_configurator());
+ base::MessagePumpX11::Current()->RemoveObserver(output_configurator());
display_change_observer_.reset();
#endif // defined(OS_CHROMEOS)
« no previous file with comments | « ash/display/mirror_window_controller.cc ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698