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

Unified Diff: ui/gfx/gtk_preserve_window.h

Issue 10382051: Add initial GTK web accessibility framework (third attempt). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « content/content_browser.gypi ('k') | ui/gfx/gtk_preserve_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gtk_preserve_window.h
===================================================================
--- ui/gfx/gtk_preserve_window.h (revision 135807)
+++ 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),
+ gpointer userdata);
+
G_END_DECLS
#endif // UI_GFX_GTK_PRESERVE_WINDOW_H_
« no previous file with comments | « content/content_browser.gypi ('k') | ui/gfx/gtk_preserve_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698