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

Unified Diff: ui/gfx/gtk_preserve_window.h

Issue 9839069: Add initial GTK web accessibility framework. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/gtk_preserve_window.h
===================================================================
--- ui/gfx/gtk_preserve_window.h (revision 134706)
+++ ui/gfx/gtk_preserve_window.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,6 +6,7 @@
#define UI_GFX_GTK_PRESERVE_WINDOW_H_
#pragma once
+#include <atk/atk.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
@@ -61,6 +62,14 @@
UI_EXPORT void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget,
gboolean delegate);
+// Provide a function to return an AtkObject* when calls to get_accessible
+// are made on this widget. The parameter |userdata| will be passed to the
+// factory function.
+void gtk_preserve_window_set_accessible_factory(
+ GtkPreserveWindow* widget,
+ AtkObject* (*factory)(void* userdata),
+ void* userdata);
Evan Stade 2012/05/02 00:03:30 gpointer
+
G_END_DECLS
#endif // UI_GFX_GTK_PRESERVE_WINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698