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

Side by Side Diff: base/message_loop/message_pump_gtk.cc

Issue 226413006: GTK: Adds #error statements to GTK code to root out unknown bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/message_loop/message_pump_gtk.h" 5 #include "base/message_loop/message_pump_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gdk/gdkx.h> 8 #include <gdk/gdkx.h>
9 9
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
11 #include "base/profiler/scoped_profile.h" 11 #include "base/profiler/scoped_profile.h"
12 12
13 #error "The GTK+ port will be deleted later this week. If you are seeing this, y ou are trying to compile it. Please check your gyp flags for 'use_aura=0' and re move them."
14
13 namespace base { 15 namespace base {
14 16
15 namespace { 17 namespace {
16 18
17 ALLOW_UNUSED const char* EventToTypeString(const GdkEvent* event) { 19 ALLOW_UNUSED const char* EventToTypeString(const GdkEvent* event) {
18 switch (event->type) { 20 switch (event->type) {
19 case GDK_NOTHING: return "GDK_NOTHING"; 21 case GDK_NOTHING: return "GDK_NOTHING";
20 case GDK_DELETE: return "GDK_DELETE"; 22 case GDK_DELETE: return "GDK_DELETE";
21 case GDK_DESTROY: return "GDK_DESTROY"; 23 case GDK_DESTROY: return "GDK_DESTROY";
22 case GDK_EXPOSE: return "GDK_EXPOSE"; 24 case GDK_EXPOSE: return "GDK_EXPOSE";
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 DidProcessEvent(event)); 113 DidProcessEvent(event));
112 } 114 }
113 115
114 // static 116 // static
115 void MessagePumpGtk::EventDispatcher(GdkEvent* event, gpointer data) { 117 void MessagePumpGtk::EventDispatcher(GdkEvent* event, gpointer data) {
116 MessagePumpGtk* message_pump = reinterpret_cast<MessagePumpGtk*>(data); 118 MessagePumpGtk* message_pump = reinterpret_cast<MessagePumpGtk*>(data);
117 message_pump->DispatchEvents(event); 119 message_pump->DispatchEvents(event);
118 } 120 }
119 121
120 } // namespace base 122 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698