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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_
10 #include "base/basictypes.h"
12 struct BubbleAcceleratorGtk
{
14 GdkModifierType modifier_type
;
17 // This class contains a list of accelerators that a BubbleGtk is expected to
18 // either catch and respond to or catch and forward to the root browser window.
19 // This list is expected to be a subset of the accelerators that are handled by
20 // the root browser window, but the specific accelerators to be handled has not
21 // yet been fully specified.
22 class BubbleAcceleratorsGtk
{
24 typedef const BubbleAcceleratorGtk
* const_iterator
;
26 static const_iterator
begin();
27 static const_iterator
end();
30 DISALLOW_IMPLICIT_CONSTRUCTORS(BubbleAcceleratorsGtk
);
33 #endif // CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_