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

Side by Side Diff: content/renderer/accessibility/renderer_accessibility_focus_only.h

Issue 12226061: Move renderer accessibility to subdir and add OWNERS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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 #ifndef CONTENT_RENDERER_RENDERER_ACCESSIBILITY_FOCUS_ONLY_H_ 5 #ifndef CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_FOCUS_ONLY_H_
6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_FOCUS_ONLY_H_ 6 #define CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_FOCUS_ONLY_H_
7 7
8 #include "content/renderer/renderer_accessibility.h" 8 #include "content/renderer/accessibility/renderer_accessibility.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 // This is an accsessibility implementation that only handles whatever 12 // This is an accsessibility implementation that only handles whatever
13 // node has focus, ignoring everything else. It's here because on Windows 8, 13 // node has focus, ignoring everything else. It's here because on Windows 8,
14 // we need to use accessibility APIs to tell the operating system when a 14 // we need to use accessibility APIs to tell the operating system when a
15 // touch should pop up the on-screen keyboard, but it's not worth the 15 // touch should pop up the on-screen keyboard, but it's not worth the
16 // performance overhead to enable full accessibility support. 16 // performance overhead to enable full accessibility support.
17 // 17 //
18 // Here's how the on-screen keyboard works in Windows 8 "Metro-style" apps: 18 // Here's how the on-screen keyboard works in Windows 8 "Metro-style" apps:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void HandleFocusedNodeChanged(const WebKit::WebNode& node, 65 void HandleFocusedNodeChanged(const WebKit::WebNode& node,
66 bool send_focus_event); 66 bool send_focus_event);
67 67
68 int next_id_; 68 int next_id_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(RendererAccessibilityFocusOnly); 70 DISALLOW_COPY_AND_ASSIGN(RendererAccessibilityFocusOnly);
71 }; 71 };
72 72
73 } // namespace content 73 } // namespace content
74 74
75 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_FOCUS_ONLY_H_ 75 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_FOCUS_ONLY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698