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

Side by Side Diff: views/controls/menu/menu_scroll_view_container.h

Issue 3015055: Enable better NVDA support for custom menus.... (Closed) Base URL: svn://chrome-svn/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
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_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_ 5 #ifndef VIEWS_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_
6 #define VIEWS_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_ 6 #define VIEWS_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/view.h" 9 #include "views/view.h"
10 10
(...skipping 12 matching lines...) Expand all
23 View* scroll_down_button() const { return scroll_down_button_; } 23 View* scroll_down_button() const { return scroll_down_button_; }
24 View* scroll_up_button() const { return scroll_up_button_; } 24 View* scroll_up_button() const { return scroll_up_button_; }
25 25
26 // View overrides. 26 // View overrides.
27 virtual void PaintBackground(gfx::Canvas* canvas); 27 virtual void PaintBackground(gfx::Canvas* canvas);
28 virtual void Layout(); 28 virtual void Layout();
29 virtual void DidChangeBounds(const gfx::Rect& previous, 29 virtual void DidChangeBounds(const gfx::Rect& previous,
30 const gfx::Rect& current); 30 const gfx::Rect& current);
31 virtual gfx::Size GetPreferredSize(); 31 virtual gfx::Size GetPreferredSize();
32 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); 32 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
33 virtual bool GetAccessibleState(AccessibilityTypes::State* state);
33 34
34 private: 35 private:
35 class MenuScrollView; 36 class MenuScrollView;
36 37
37 // The scroll buttons. 38 // The scroll buttons.
38 View* scroll_up_button_; 39 View* scroll_up_button_;
39 View* scroll_down_button_; 40 View* scroll_down_button_;
40 41
41 // The scroll view. 42 // The scroll view.
42 MenuScrollView* scroll_view_; 43 MenuScrollView* scroll_view_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(MenuScrollViewContainer); 45 DISALLOW_COPY_AND_ASSIGN(MenuScrollViewContainer);
45 }; 46 };
46 47
47 } // namespace views 48 } // namespace views
48 49
49 #endif // VIEWS_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_ 50 #endif // VIEWS_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/controls/menu/menu_scroll_view_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698