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

Side by Side Diff: chrome/browser/accessibility/browser_accessibility_manager_mac.mm

Issue 6624066: Put file_system messages in their own file and move them to content, in prepa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « no previous file | chrome/common/common_param_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/accessibility/browser_accessibility_manager_mac.h" 5 #include "chrome/browser/accessibility/browser_accessibility_manager_mac.h"
6 6
7 #import "base/logging.h"
7 #import "chrome/browser/accessibility/browser_accessibility_cocoa.h" 8 #import "chrome/browser/accessibility/browser_accessibility_cocoa.h"
8 #include "chrome/common/render_messages_params.h" 9 #include "chrome/common/render_messages_params.h"
9 10
10 // static 11 // static
11 BrowserAccessibilityManager* BrowserAccessibilityManager::Create( 12 BrowserAccessibilityManager* BrowserAccessibilityManager::Create(
12 gfx::NativeView parent_view, 13 gfx::NativeView parent_view,
13 const WebAccessibility& src, 14 const WebAccessibility& src,
14 BrowserAccessibilityDelegate* delegate, 15 BrowserAccessibilityDelegate* delegate,
15 BrowserAccessibilityFactory* factory) { 16 BrowserAccessibilityFactory* factory) {
16 return new BrowserAccessibilityManagerMac( 17 return new BrowserAccessibilityManagerMac(
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 break; 58 break;
58 case ViewHostMsg_AccessibilityNotification_Params:: 59 case ViewHostMsg_AccessibilityNotification_Params::
59 NOTIFICATION_TYPE_SELECTED_TEXT_CHANGED: 60 NOTIFICATION_TYPE_SELECTED_TEXT_CHANGED:
60 event_id = NSAccessibilitySelectedTextChangedNotification; 61 event_id = NSAccessibilitySelectedTextChangedNotification;
61 break; 62 break;
62 } 63 }
63 BrowserAccessibilityCocoa* native_node = node->toBrowserAccessibilityCocoa(); 64 BrowserAccessibilityCocoa* native_node = node->toBrowserAccessibilityCocoa();
64 DCHECK(native_node); 65 DCHECK(native_node);
65 NSAccessibilityPostNotification(native_node, event_id); 66 NSAccessibilityPostNotification(native_node, event_id);
66 } 67 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/common_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698