Chromium Code Reviews

Unified Diff: chrome/browser/gtk/info_bubble_accelerators_gtk.cc

Issue 6251001: Move chrome/browser/gtk/ to chrome/browser/ui/gtk/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/gtk/info_bubble_accelerators_gtk.h ('k') | chrome/browser/gtk/info_bubble_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/info_bubble_accelerators_gtk.cc
===================================================================
--- chrome/browser/gtk/info_bubble_accelerators_gtk.cc (revision 71352)
+++ chrome/browser/gtk/info_bubble_accelerators_gtk.cc (working copy)
@@ -1,34 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/gtk/info_bubble_accelerators_gtk.h"
-
-#include <gdk/gdkkeysyms.h>
-#include <glib.h>
-
-namespace {
-// Listing of the accelerators that are either handled or forwarded by
-// info bubbles. Any accelerators that are not explicitly listed here
-// are ignored and silently dropped. This table is expected to change
-// after discussion over which accelerators should be addressed in
-// info bubbles. For a complete listing of accelerators that are used
-// in chrome consult accelerators_gtk.cc
-struct InfoBubbleAcceleratorGtk InfoBubbleAcceleratorGtkTable[] = {
- // Tab/window controls.
- { GDK_w, GDK_CONTROL_MASK},
-
- // Navigation / toolbar buttons.
- { GDK_Escape, GdkModifierType(0)}
-};
-
-} // namespace
-
-InfoBubbleAcceleratorGtkList InfoBubbleAcceleratorsGtk::GetList() {
- InfoBubbleAcceleratorGtkList accelerators;
- for (size_t i = 0; i < arraysize(InfoBubbleAcceleratorGtkTable); ++i) {
- accelerators.push_back(InfoBubbleAcceleratorGtkTable[i]);
- }
-
- return accelerators;
-}
« no previous file with comments | « chrome/browser/gtk/info_bubble_accelerators_gtk.h ('k') | chrome/browser/gtk/info_bubble_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine