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

Side by Side Diff: content/browser/web_contents/web_contents_view_mac.mm

Issue 10024066: TabContents -> WebContentsImpl, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/tab_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 #import "base/message_pump_mac.h" 12 #import "base/message_pump_mac.h"
13 #include "content/browser/renderer_host/render_view_host_factory.h" 13 #include "content/browser/renderer_host/render_view_host_factory.h"
14 #include "content/browser/renderer_host/render_view_host_impl.h" 14 #include "content/browser/renderer_host/render_view_host_impl.h"
15 #include "content/browser/renderer_host/render_widget_host_view_mac.h" 15 #include "content/browser/renderer_host/render_widget_host_view_mac.h"
16 #include "content/browser/tab_contents/popup_menu_helper_mac.h"
17 #include "content/browser/tab_contents/tab_contents.h" 16 #include "content/browser/tab_contents/tab_contents.h"
17 #include "content/browser/web_contents/popup_menu_helper_mac.h"
18 #import "content/browser/web_contents/web_drag_dest_mac.h" 18 #import "content/browser/web_contents/web_drag_dest_mac.h"
19 #import "content/browser/web_contents/web_drag_source_mac.h" 19 #import "content/browser/web_contents/web_drag_source_mac.h"
20 #include "content/common/view_messages.h" 20 #include "content/common/view_messages.h"
21 #include "content/public/browser/web_contents_delegate.h" 21 #include "content/public/browser/web_contents_delegate.h"
22 #include "content/public/browser/web_contents_view_delegate.h" 22 #include "content/public/browser/web_contents_view_delegate.h"
23 #include "skia/ext/skia_utils_mac.h" 23 #include "skia/ext/skia_utils_mac.h"
24 #import "third_party/mozilla/NSPasteboard+Utils.h" 24 #import "third_party/mozilla/NSPasteboard+Utils.h"
25 #import "ui/base/cocoa/focus_tracker.h" 25 #import "ui/base/cocoa/focus_tracker.h"
26 26
27 using WebKit::WebDragOperation; 27 using WebKit::WebDragOperation;
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 [[[notification userInfo] objectForKey:kSelectionDirection] 574 [[[notification userInfo] objectForKey:kSelectionDirection]
575 unsignedIntegerValue]; 575 unsignedIntegerValue];
576 if (direction == NSDirectSelection) 576 if (direction == NSDirectSelection)
577 return; 577 return;
578 578
579 [self webContents]-> 579 [self webContents]->
580 FocusThroughTabTraversal(direction == NSSelectingPrevious); 580 FocusThroughTabTraversal(direction == NSSelectingPrevious);
581 } 581 }
582 582
583 @end 583 @end
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.h ('k') | content/browser/web_contents/web_contents_view_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698