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

Side by Side Diff: chrome/browser/ui/gtk/bubble/bubble_accelerators_gtk.h

Issue 8586044: GTK: Make the gtk port compile with GTK_DISABLE_SINGLE_INCLUDES. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove views/. Not our problem for gtk3 porting. Created 9 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gdk/gdktypes.h> 9 #include <gdk/gdk.h>
10 #include <glib.h>
11 10
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 12
14 struct BubbleAcceleratorGtk { 13 struct BubbleAcceleratorGtk {
15 guint keyval; 14 guint keyval;
16 GdkModifierType modifier_type; 15 GdkModifierType modifier_type;
17 }; 16 };
18 17
19 // This class contains a list of accelerators that a BubbleGtk is expected to 18 // This class contains a list of accelerators that a BubbleGtk is expected to
20 // either catch and respond to or catch and forward to the root browser window. 19 // either catch and respond to or catch and forward to the root browser window.
21 // This list is expected to be a subset of the accelerators that are handled by 20 // This list is expected to be a subset of the accelerators that are handled by
22 // the root browser window, but the specific accelerators to be handled has not 21 // the root browser window, but the specific accelerators to be handled has not
23 // yet been fully specified. 22 // yet been fully specified.
24 class BubbleAcceleratorsGtk { 23 class BubbleAcceleratorsGtk {
25 public: 24 public:
26 typedef const BubbleAcceleratorGtk* const_iterator; 25 typedef const BubbleAcceleratorGtk* const_iterator;
27 26
28 static const_iterator begin(); 27 static const_iterator begin();
29 static const_iterator end(); 28 static const_iterator end();
30 29
31 private: 30 private:
32 DISALLOW_IMPLICIT_CONSTRUCTORS(BubbleAcceleratorsGtk); 31 DISALLOW_IMPLICIT_CONSTRUCTORS(BubbleAcceleratorsGtk);
33 }; 32 };
34 33
35 #endif // CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_ 34 #endif // CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_gtk.cc ('k') | chrome/browser/ui/gtk/bubble/bubble_accelerators_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698