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

Side by Side Diff: chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.h

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
7 7
8 #include <gio/gio.h> 8 #include <gio/gio.h>
9 9
10 #include <set> 10 #include <set>
11 11
12 #include "base/basictypes.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "ui/base/glib/glib_signal.h" 15 #include "ui/base/glib/glib_signal.h"
16 16
17 // Advertises our menu bars to Unity. 17 // Advertises our menu bars to Unity.
18 // 18 //
19 // GlobalMenuBarX11 is responsible for managing the DbusmenuServer for each 19 // GlobalMenuBarX11 is responsible for managing the DbusmenuServer for each
20 // XID. We need a separate object to own the dbus channel to 20 // XID. We need a separate object to own the dbus channel to
21 // com.canonical.AppMenu.Registrar and to register/unregister the mapping 21 // com.canonical.AppMenu.Registrar and to register/unregister the mapping
22 // between a XID and the DbusmenuServer instance we are offering. 22 // between a XID and the DbusmenuServer instance we are offering.
(...skipping 22 matching lines...) Expand all
45 GDBusProxy* registrar_proxy_; 45 GDBusProxy* registrar_proxy_;
46 46
47 // Window XIDs which want to be registered, but haven't yet been because 47 // Window XIDs which want to be registered, but haven't yet been because
48 // we're waiting for the proxy to become available. 48 // we're waiting for the proxy to become available.
49 std::set<unsigned long> live_xids_; 49 std::set<unsigned long> live_xids_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(GlobalMenuBarRegistrarX11); 51 DISALLOW_COPY_AND_ASSIGN(GlobalMenuBarRegistrarX11);
52 }; 52 };
53 53
54 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ 54 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/glass_browser_frame_view.h ('k') | chrome/browser/ui/views/frame/global_menu_bar_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698