Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / gtk / bubble / bubble_accelerators_gtk.h
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.
4
5 #ifndef CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_
7
8 #include <gdk/gdk.h>
9
10 #include "base/basictypes.h"
11
12 struct BubbleAcceleratorGtk {
13   guint keyval;
14   GdkModifierType modifier_type;
15 };
16
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 {
23  public:
24   typedef const BubbleAcceleratorGtk* const_iterator;
25
26   static const_iterator begin();
27   static const_iterator end();
28
29  private:
30   DISALLOW_IMPLICIT_CONSTRUCTORS(BubbleAcceleratorsGtk);
31 };
32
33 #endif  // CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_