OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #import <Carbon/Carbon.h> | 5 #import <Carbon/Carbon.h> |
6 | 6 |
7 #import "content/browser/web_contents/web_contents_view_mac.h" | 7 #import "content/browser/web_contents/web_contents_view_mac.h" |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #import "base/mac/scoped_sending_event.h" | 11 #import "base/mac/scoped_sending_event.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop.h" |
13 #import "base/message_loop/message_pump_mac.h" | 13 #import "base/message_pump_mac.h" |
14 #include "content/browser/renderer_host/popup_menu_helper_mac.h" | 14 #include "content/browser/renderer_host/popup_menu_helper_mac.h" |
15 #include "content/browser/renderer_host/render_view_host_factory.h" | 15 #include "content/browser/renderer_host/render_view_host_factory.h" |
16 #include "content/browser/renderer_host/render_view_host_impl.h" | 16 #include "content/browser/renderer_host/render_view_host_impl.h" |
17 #include "content/browser/renderer_host/render_widget_host_view_mac.h" | 17 #include "content/browser/renderer_host/render_widget_host_view_mac.h" |
18 #include "content/browser/web_contents/web_contents_impl.h" | 18 #include "content/browser/web_contents/web_contents_impl.h" |
19 #import "content/browser/web_contents/web_drag_dest_mac.h" | 19 #import "content/browser/web_contents/web_drag_dest_mac.h" |
20 #import "content/browser/web_contents/web_drag_source_mac.h" | 20 #import "content/browser/web_contents/web_drag_source_mac.h" |
21 #include "content/common/view_messages.h" | 21 #include "content/common/view_messages.h" |
22 #include "content/public/browser/web_contents_delegate.h" | 22 #include "content/public/browser/web_contents_delegate.h" |
23 #include "content/public/browser/web_contents_view_delegate.h" | 23 #include "content/public/browser/web_contents_view_delegate.h" |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 [[[notification userInfo] objectForKey:kSelectionDirection] | 567 [[[notification userInfo] objectForKey:kSelectionDirection] |
568 unsignedIntegerValue]; | 568 unsignedIntegerValue]; |
569 if (direction == NSDirectSelection) | 569 if (direction == NSDirectSelection) |
570 return; | 570 return; |
571 | 571 |
572 [self webContents]-> | 572 [self webContents]-> |
573 FocusThroughTabTraversal(direction == NSSelectingPrevious); | 573 FocusThroughTabTraversal(direction == NSSelectingPrevious); |
574 } | 574 } |
575 | 575 |
576 @end | 576 @end |
OLD | NEW |