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

Side by Side Diff: chrome/browser/ui/libgtkui/gtk2_event_loop.h

Issue 2453243002: Gtk3 UI: Rename files in libgtkui containing gtk2 in their name (Closed)
Patch Set: Fix git cl format mistake Created 4 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_GTK2_EVENT_LOOP_H_
6 #define CHROME_BROWSER_UI_LIBGTKUI_GTK2_EVENT_LOOP_H_
7
8 #include "base/macros.h"
9 #include "ui/base/glib/glib_integers.h"
10
11 typedef union _GdkEvent GdkEvent;
12 typedef struct _GdkEventKey GdkEventKey;
13
14 namespace base {
15 template<typename Type> struct DefaultSingletonTraits;
16 }
17
18 namespace libgtkui {
19
20 class Gtk2EventLoop {
21 public:
22 static Gtk2EventLoop* GetInstance();
23
24 private:
25 friend struct base::DefaultSingletonTraits<Gtk2EventLoop>;
26
27 Gtk2EventLoop();
28 ~Gtk2EventLoop();
29
30 static void DispatchGdkEvent(GdkEvent* gdk_event, gpointer);
31 static void ProcessGdkEventKey(const GdkEventKey& gdk_event_key);
32
33 DISALLOW_COPY_AND_ASSIGN(Gtk2EventLoop);
34 };
35
36 } // namespace libgtkui
37
38 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK2_EVENT_LOOP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/gconf_listener.cc ('k') | chrome/browser/ui/libgtkui/gtk2_event_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698