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

Unified Diff: ui/views/focus/accelerator_handler.h

Issue 23483041: [Cleanup] Remove mac code from aura/ash/views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/accelerator_handler.h
diff --git a/ui/views/focus/accelerator_handler.h b/ui/views/focus/accelerator_handler.h
index 31ec0b5aff6d02395fd918f3b46df9f559dacf9a..29f353e697cc84899435f626e6c4800000869aa9 100644
--- a/ui/views/focus/accelerator_handler.h
+++ b/ui/views/focus/accelerator_handler.h
@@ -24,21 +24,13 @@ bool VIEWS_EXPORT DispatchXEvent(XEvent* xevent);
// This class delegates the key messages to the associated FocusManager class
// for the window that is receiving these messages for accelerator processing.
-#if defined(OS_MACOSX)
-class VIEWS_EXPORT AcceleratorHandler {
-#else
class VIEWS_EXPORT AcceleratorHandler : public base::MessageLoop::Dispatcher {
-#endif // defined(OS_MACOSX)
public:
AcceleratorHandler();
// Dispatcher method. This returns true if an accelerator was processed by the
// focus manager
-#if defined(OS_WIN) || defined(USE_AURA)
virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
-#elif defined(OS_MACOSX)
- // TODO(dhollowa): Implement on Mac. http://crbug.com/109946
-#endif
private:
#if defined(OS_WIN)
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698