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

Unified Diff: chrome/browser/ui/gtk/accelerators_gtk.h

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/accelerators_gtk.h
diff --git a/chrome/browser/ui/gtk/accelerators_gtk.h b/chrome/browser/ui/gtk/accelerators_gtk.h
deleted file mode 100644
index bf8aed2c9f5dd2dd254c6104dab5dbdeb048825a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/accelerators_gtk.h
+++ /dev/null
@@ -1,41 +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.
-
-#ifndef CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_
-#define CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_
-
-#include <vector>
-
-#include "base/containers/hash_tables.h"
-#include "ui/base/accelerators/accelerator.h"
-
-template <typename T> struct DefaultSingletonTraits;
-
-class AcceleratorsGtk {
- public:
- typedef std::vector<std::pair<int, ui::Accelerator> > AcceleratorList;
- typedef AcceleratorList::const_iterator const_iterator;
-
- // Returns the singleton instance.
- static AcceleratorsGtk* GetInstance();
-
- const_iterator const begin() { return all_accelerators_.begin(); }
- const_iterator const end() { return all_accelerators_.end(); }
-
- // Returns NULL if there is no accelerator for the command.
- const ui::Accelerator* GetPrimaryAcceleratorForCommand(int command_id);
-
- private:
- friend struct DefaultSingletonTraits<AcceleratorsGtk>;
-
- AcceleratorsGtk();
- ~AcceleratorsGtk();
-
- typedef base::hash_map<int, ui::Accelerator> AcceleratorMap;
- AcceleratorMap primary_accelerators_;
-
- AcceleratorList all_accelerators_;
-};
-
-#endif // CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_

Powered by Google App Engine
This is Rietveld 408576698