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

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

Issue 2707313002: Gtk: Change NULL to nullptr (Closed)
Patch Set: Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 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 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_LIBGTKUI_GCONF_LISTENER_H_ 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_GCONF_LISTENER_H_
6 #define CHROME_BROWSER_UI_LIBGTKUI_GCONF_LISTENER_H_ 6 #define CHROME_BROWSER_UI_LIBGTKUI_GCONF_LISTENER_H_
7 7
8 #include <gconf/gconf-client.h> 8 #include <gconf/gconf-client.h>
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 28 matching lines...) Expand all
39 // to GConf and reverts to default mode. 39 // to GConf and reverts to default mode.
40 bool HandleGError(GError* error, const char* key); 40 bool HandleGError(GError* error, const char* key);
41 41
42 // Parses the return data structure from GConf, falling back to the default 42 // Parses the return data structure from GConf, falling back to the default
43 // value on any error. 43 // value on any error.
44 void ParseAndStoreButtonValue(GConfValue* gconf_value); 44 void ParseAndStoreButtonValue(GConfValue* gconf_value);
45 void ParseAndStoreMiddleClickValue(GConfValue* gconf_value); 45 void ParseAndStoreMiddleClickValue(GConfValue* gconf_value);
46 46
47 GtkUi* delegate_; 47 GtkUi* delegate_;
48 48
49 // Pointer to our gconf context. NULL if we aren't on a desktop that uses 49 // Pointer to our gconf context. nullptr if we aren't on a desktop that uses
50 // gconf. 50 // gconf.
51 GConfClient* client_; 51 GConfClient* client_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(GConfListener); 53 DISALLOW_COPY_AND_ASSIGN(GConfListener);
54 }; 54 };
55 55
56 } // namespace libgtkui 56 } // namespace libgtkui
57 57
58 #endif // CHROME_BROWSER_UI_LIBGTKUI_GCONF_LISTENER_H_ 58 #endif // CHROME_BROWSER_UI_LIBGTKUI_GCONF_LISTENER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc ('k') | chrome/browser/ui/libgtkui/gconf_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698