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

Side by Side Diff: chrome/browser/ui/gtk/accelerators_gtk.h

Issue 83293002: Add #include <vector> to accelerators_gtk.h (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_
7 7
8 #include <vector>
9
8 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
9 #include "ui/base/accelerators/accelerator.h" 11 #include "ui/base/accelerators/accelerator.h"
10 12
11 template <typename T> struct DefaultSingletonTraits; 13 template <typename T> struct DefaultSingletonTraits;
12 14
13 class AcceleratorsGtk { 15 class AcceleratorsGtk {
14 public: 16 public:
15 typedef std::vector<std::pair<int, ui::Accelerator> > AcceleratorList; 17 typedef std::vector<std::pair<int, ui::Accelerator> > AcceleratorList;
16 typedef AcceleratorList::const_iterator const_iterator; 18 typedef AcceleratorList::const_iterator const_iterator;
17 19
(...skipping 12 matching lines...) Expand all
30 AcceleratorsGtk(); 32 AcceleratorsGtk();
31 ~AcceleratorsGtk(); 33 ~AcceleratorsGtk();
32 34
33 typedef base::hash_map<int, ui::Accelerator> AcceleratorMap; 35 typedef base::hash_map<int, ui::Accelerator> AcceleratorMap;
34 AcceleratorMap primary_accelerators_; 36 AcceleratorMap primary_accelerators_;
35 37
36 AcceleratorList all_accelerators_; 38 AcceleratorList all_accelerators_;
37 }; 39 };
38 40
39 #endif // CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_ 41 #endif // CHROME_BROWSER_UI_GTK_ACCELERATORS_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698