Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / gtk / bubble / bubble_accelerators_gtk.h
blobecaf54c1abda44b7c67678d30d870154da85b0d9
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_
8 #include <gdk/gdk.h>
10 #include "base/basictypes.h"
12 struct BubbleAcceleratorGtk {
13 guint keyval;
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 {
23 public:
24 typedef const BubbleAcceleratorGtk* const_iterator;
26 static const_iterator begin();
27 static const_iterator end();
29 private:
30 DISALLOW_IMPLICIT_CONSTRUCTORS(BubbleAcceleratorsGtk);
33 #endif // CHROME_BROWSER_UI_GTK_BUBBLE_BUBBLE_ACCELERATORS_GTK_H_