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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc

Issue 2477463003: Replace ui::AXViewState with AXNodeData and AXActionData (Closed)
Patch Set: Fix test Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index ec72d175a95e5b8c219087407a56c8b97de1765b..dda56b6306c4eae65ebec0825591d52b2fe301f9 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -32,7 +32,7 @@
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/grit/theme_resources.h"
#include "content/public/browser/web_contents.h"
-#include "ui/accessibility/ax_view_state.h"
+#include "ui/accessibility/ax_node_data.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/base/hit_test.h"
@@ -316,8 +316,9 @@ const char* BrowserNonClientFrameViewAsh::GetClassName() const {
return "BrowserNonClientFrameViewAsh";
}
-void BrowserNonClientFrameViewAsh::GetAccessibleState(ui::AXViewState* state) {
- state->role = ui::AX_ROLE_TITLE_BAR;
+void BrowserNonClientFrameViewAsh::GetAccessibleNodeData(
+ ui::AXNodeData* node_data) {
+ node_data->role = ui::AX_ROLE_TITLE_BAR;
}
gfx::Size BrowserNonClientFrameViewAsh::GetMinimumSize() const {

Powered by Google App Engine
This is Rietveld 408576698