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

Side by Side Diff: views/view.h

Issue 3046031: Revert 54074 - Add initial tests for keyboard access (tabbing in some dialogs... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « views/controls/native_control.cc ('k') | views/view_gtk.cc » ('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 #ifndef VIEWS_VIEW_H_ 5 #ifndef VIEWS_VIEW_H_
6 #define VIEWS_VIEW_H_ 6 #define VIEWS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 return false; 551 return false;
552 } 552 }
553 553
554 // Returns whether this view currently has the focus. 554 // Returns whether this view currently has the focus.
555 virtual bool HasFocus(); 555 virtual bool HasFocus();
556 556
557 // Accessibility support 557 // Accessibility support
558 // TODO(klink): Move all this out to a AccessibleInfo wrapper class. 558 // TODO(klink): Move all this out to a AccessibleInfo wrapper class.
559 559
560 // Notify the platform specific accessibility client of changes in the user 560 // Notify the platform specific accessibility client of changes in the user
561 // interface. This will always raise native notifications. 561 // interface.
562 virtual void NotifyAccessibilityEvent(AccessibilityTypes::Event event_type); 562 virtual void NotifyAccessibilityEvent(AccessibilityTypes::Event event_type);
563 563
564 // Raise an accessibility notification with an option to also raise a native
565 // notification.
566 virtual void NotifyAccessibilityEvent(AccessibilityTypes::Event event_type,
567 bool send_native_event);
568
569 // Returns the MSAA default action of the current view. The string returned 564 // Returns the MSAA default action of the current view. The string returned
570 // describes the default action that will occur when executing 565 // describes the default action that will occur when executing
571 // IAccessible::DoDefaultAction. For instance, default action of a button is 566 // IAccessible::DoDefaultAction. For instance, default action of a button is
572 // 'Press'. Sets the input string appropriately, and returns true if 567 // 'Press'. Sets the input string appropriately, and returns true if
573 // successful. 568 // successful.
574 virtual bool GetAccessibleDefaultAction(std::wstring* action) { 569 virtual bool GetAccessibleDefaultAction(std::wstring* action) {
575 return false; 570 return false;
576 } 571 }
577 572
578 // Returns a string containing the mnemonic, or the keyboard shortcut, for a 573 // Returns a string containing the mnemonic, or the keyboard shortcut, for a
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 // The default value for how long to wait (in ms) before showing a menu 1320 // The default value for how long to wait (in ms) before showing a menu
1326 // button on hover. This value is used if the OS doesn't supply one. 1321 // button on hover. This value is used if the OS doesn't supply one.
1327 static const int kShowFolderDropMenuDelay; 1322 static const int kShowFolderDropMenuDelay;
1328 1323
1329 DISALLOW_COPY_AND_ASSIGN(View); 1324 DISALLOW_COPY_AND_ASSIGN(View);
1330 }; 1325 };
1331 1326
1332 } // namespace views 1327 } // namespace views
1333 1328
1334 #endif // VIEWS_VIEW_H_ 1329 #endif // VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « views/controls/native_control.cc ('k') | views/view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698