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

Unified Diff: chrome/browser/ui/gtk/bubble/bubble_accelerators_gtk.cc

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/bubble/bubble_accelerators_gtk.cc
diff --git a/chrome/browser/ui/gtk/bubble/bubble_accelerators_gtk.cc b/chrome/browser/ui/gtk/bubble/bubble_accelerators_gtk.cc
deleted file mode 100644
index 3e1e566d913256186f74808b3c7455595b1cf541..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/bubble/bubble_accelerators_gtk.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2011 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/ui/gtk/bubble/bubble_accelerators_gtk.h"
-
-#include <gdk/gdkkeysyms.h>
-
-namespace {
-
-// Listing of the accelerators that are either handled or forwarded by
-// 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
-// bubbles. For a complete listing of accelerators that are used
-// in chrome consult accelerators_gtk.cc
-const BubbleAcceleratorGtk kAcceleratorMap[] = {
- // Tab/window controls.
- { GDK_w, GDK_CONTROL_MASK },
-
- // Navigation / toolbar buttons.
- { GDK_Escape, GdkModifierType(0) }
-};
-
-} // namespace
-
-// static
-BubbleAcceleratorsGtk::const_iterator BubbleAcceleratorsGtk::begin() {
- return &kAcceleratorMap[0];
-}
-
-// static
-BubbleAcceleratorsGtk::const_iterator BubbleAcceleratorsGtk::end() {
- return &kAcceleratorMap[arraysize(kAcceleratorMap)];
-}

Powered by Google App Engine
This is Rietveld 408576698