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

Side by Side Diff: views/view.h

Issue 2823009: Keep a map of all views that have sent notifications. This ensures that Acce... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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/focus/focus_manager_win.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 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 // handled the accelerator. 547 // handled the accelerator.
548 virtual bool AcceleratorPressed(const Accelerator& accelerator) { 548 virtual bool AcceleratorPressed(const Accelerator& accelerator) {
549 return false; 549 return false;
550 } 550 }
551 551
552 // Returns whether this view currently has the focus. 552 // Returns whether this view currently has the focus.
553 virtual bool HasFocus(); 553 virtual bool HasFocus();
554 554
555 // Accessibility support 555 // Accessibility support
556 // TODO(klink): Move all this out to a AccessibleInfo wrapper class. 556 // TODO(klink): Move all this out to a AccessibleInfo wrapper class.
557 // 557
558 // Notify the platform specific accessibility client of changes in the user
559 // interface.
560 virtual void NotifyAccessibilityEvent(AccessibilityTypes::Event event_type);
561
558 // Returns the MSAA default action of the current view. The string returned 562 // Returns the MSAA default action of the current view. The string returned
559 // describes the default action that will occur when executing 563 // describes the default action that will occur when executing
560 // IAccessible::DoDefaultAction. For instance, default action of a button is 564 // IAccessible::DoDefaultAction. For instance, default action of a button is
561 // 'Press'. Sets the input string appropriately, and returns true if 565 // 'Press'. Sets the input string appropriately, and returns true if
562 // successful. 566 // successful.
563 virtual bool GetAccessibleDefaultAction(std::wstring* action) { 567 virtual bool GetAccessibleDefaultAction(std::wstring* action) {
564 return false; 568 return false;
565 } 569 }
566 570
567 // Returns a string containing the mnemonic, or the keyboard shortcut, for a 571 // Returns a string containing the mnemonic, or the keyboard shortcut, for a
(...skipping 757 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 1329 // 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. 1330 // button on hover. This value is used if the OS doesn't supply one.
1327 static const int kShowFolderDropMenuDelay; 1331 static const int kShowFolderDropMenuDelay;
1328 1332
1329 DISALLOW_COPY_AND_ASSIGN(View); 1333 DISALLOW_COPY_AND_ASSIGN(View);
1330 }; 1334 };
1331 1335
1332 } // namespace views 1336 } // namespace views
1333 1337
1334 #endif // VIEWS_VIEW_H_ 1338 #endif // VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « views/focus/focus_manager_win.cc ('k') | views/view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698