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

Side by Side Diff: ui/views/focus/accelerator_handler.h

Issue 6990051: Unix ifdefs patch for ui/ and webkit/ (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: removed some too general ifdefs and ppapi changes Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
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 UI_VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ 5 #ifndef UI_VIEWS_FOCUS_ACCELERATOR_HANDLER_H_
6 #define UI_VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ 6 #define UI_VIEWS_FOCUS_ACCELERATOR_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 #if defined(OS_LINUX) 11 #if defined(TOOLKIT_USES_GTK)
12 #include <gdk/gdk.h> 12 #include <gdk/gdk.h>
13 #endif 13 #endif
14 14
15 #include <set> 15 #include <set>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/message_loop.h" 18 #include "base/message_loop.h"
19 19
20 namespace ui { 20 namespace ui {
21 21
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // The keys currently pressed and consumed by the FocusManager. 62 // The keys currently pressed and consumed by the FocusManager.
63 std::set<WPARAM> pressed_keys_; 63 std::set<WPARAM> pressed_keys_;
64 #endif 64 #endif
65 65
66 DISALLOW_COPY_AND_ASSIGN(AcceleratorHandler); 66 DISALLOW_COPY_AND_ASSIGN(AcceleratorHandler);
67 }; 67 };
68 68
69 } // namespace ui 69 } // namespace ui
70 70
71 #endif // UI_VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ 71 #endif // UI_VIEWS_FOCUS_ACCELERATOR_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698