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

Side by Side Diff: chrome/browser/ui/views/accessibility_event_router_views.h

Issue 8301022: ui/views: Migrate usages of ScopedRunnableMethodFactory to base::WeakPtrFactory/base::Bind pair. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/browser/ui/views/accessibility_event_router_views.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 views::View* menu, views::View* item, int* index, int* count); 113 views::View* menu, views::View* item, int* index, int* count);
114 114
115 // Recursively explore the subviews and return the text from the first 115 // Recursively explore the subviews and return the text from the first
116 // subview with a role of STATIC_TEXT. 116 // subview with a role of STATIC_TEXT.
117 std::string RecursiveGetStaticText(views::View* view); 117 std::string RecursiveGetStaticText(views::View* view);
118 118
119 // The profile associated with the most recent window event - used to 119 // The profile associated with the most recent window event - used to
120 // figure out where to route a few events that can't be directly traced 120 // figure out where to route a few events that can't be directly traced
121 // to a window with a profile (like menu events). 121 // to a window with a profile (like menu events).
122 Profile* most_recent_profile_; 122 Profile* most_recent_profile_;
123
124 // Used to defer handling of some events until the next time
125 // through the event loop.
126 ScopedRunnableMethodFactory<AccessibilityEventRouterViews> method_factory_;
127 }; 123 };
128 124
129 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ 125 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility_event_router_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698