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

Side by Side Diff: chrome/browser/ui/cocoa/chrome_event_processing_window.mm

Issue 6362007: [Mac] Organize all tab/tab strip files into chrome/browser/ui/cocoa/tabs/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 5 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #import "chrome/browser/renderer_host/render_widget_host_view_mac.h" 8 #import "chrome/browser/renderer_host/render_widget_host_view_mac.h"
9 #import "chrome/browser/ui/cocoa/browser_command_executor.h" 9 #import "chrome/browser/ui/cocoa/browser_command_executor.h"
10 #import "chrome/browser/ui/cocoa/browser_frame_view.h" 10 #import "chrome/browser/ui/cocoa/browser_frame_view.h"
11 #import "chrome/browser/ui/cocoa/tab_strip_controller.h" 11 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
12 #include "chrome/browser/global_keyboard_shortcuts_mac.h" 12 #include "chrome/browser/global_keyboard_shortcuts_mac.h"
13 13
14 typedef int (*KeyToCommandMapper)(bool, bool, bool, bool, int, unichar); 14 typedef int (*KeyToCommandMapper)(bool, bool, bool, bool, int, unichar);
15 15
16 @interface ChromeEventProcessingWindow () 16 @interface ChromeEventProcessingWindow ()
17 // Duplicate the given key event, but changing the associated window. 17 // Duplicate the given key event, but changing the associated window.
18 - (NSEvent*)keyEventForWindow:(NSWindow*)window fromKeyEvent:(NSEvent*)event; 18 - (NSEvent*)keyEventForWindow:(NSWindow*)window fromKeyEvent:(NSEvent*)event;
19 @end 19 @end
20 20
21 @implementation ChromeEventProcessingWindow 21 @implementation ChromeEventProcessingWindow
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 timestamp:[event timestamp] 155 timestamp:[event timestamp]
156 windowNumber:[window windowNumber] 156 windowNumber:[window windowNumber]
157 context:nil 157 context:nil
158 characters:eventCharacters 158 characters:eventCharacters
159 charactersIgnoringModifiers:eventUnmodCharacters 159 charactersIgnoringModifiers:eventUnmodCharacters
160 isARepeat:eventIsARepeat 160 isARepeat:eventIsARepeat
161 keyCode:[event keyCode]]; 161 keyCode:[event keyCode]];
162 } 162 }
163 163
164 @end // ChromeEventProcessingWindow 164 @end // ChromeEventProcessingWindow
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698