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

Side by Side Diff: ui/gfx/gtk_preserve_window.h

Issue 10316010: Revert 135020 - Add initial GTK web accessibility framework. (Closed) Base URL: svn://svn.chromium.org/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_browser.gypi ('k') | ui/gfx/gtk_preserve_window.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) 2012 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 UI_GFX_GTK_PRESERVE_WINDOW_H_ 5 #ifndef UI_GFX_GTK_PRESERVE_WINDOW_H_
6 #define UI_GFX_GTK_PRESERVE_WINDOW_H_ 6 #define UI_GFX_GTK_PRESERVE_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atk/atk.h>
10 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
11 #include <gtk/gtk.h> 10 #include <gtk/gtk.h>
12 11
13 #include "ui/base/ui_export.h" 12 #include "ui/base/ui_export.h"
14 13
15 // GtkFixed creates an X window when realized and destroys an X window 14 // GtkFixed creates an X window when realized and destroys an X window
16 // when unrealized. GtkPreserveWindow allows overrides this 15 // when unrealized. GtkPreserveWindow allows overrides this
17 // behaviour. When preserve is set (via gtk_preserve_window_set_preserve), 16 // behaviour. When preserve is set (via gtk_preserve_window_set_preserve),
18 // the X window is only destroyed when the widget is destroyed. 17 // the X window is only destroyed when the widget is destroyed.
19 18
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 gboolean gtk_preserve_window_get_preserve(GtkPreserveWindow* widget); 54 gboolean gtk_preserve_window_get_preserve(GtkPreserveWindow* widget);
56 void gtk_preserve_window_set_preserve(GtkPreserveWindow* widget, 55 void gtk_preserve_window_set_preserve(GtkPreserveWindow* widget,
57 gboolean value); 56 gboolean value);
58 57
59 // Whether or not someone else will gdk_window_resize the GdkWindow associated 58 // Whether or not someone else will gdk_window_resize the GdkWindow associated
60 // with this widget (needed by the GPU process to synchronize resizing 59 // with this widget (needed by the GPU process to synchronize resizing
61 // with swapped between front and back buffer). 60 // with swapped between front and back buffer).
62 UI_EXPORT void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget, 61 UI_EXPORT void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget,
63 gboolean delegate); 62 gboolean delegate);
64 63
65 // Provide a function to return an AtkObject* when calls to get_accessible
66 // are made on this widget. The parameter |userdata| will be passed to the
67 // factory function.
68 void gtk_preserve_window_set_accessible_factory(
69 GtkPreserveWindow* widget,
70 AtkObject* (*factory)(void* userdata),
71 gpointer userdata);
72
73 G_END_DECLS 64 G_END_DECLS
74 65
75 #endif // UI_GFX_GTK_PRESERVE_WINDOW_H_ 66 #endif // UI_GFX_GTK_PRESERVE_WINDOW_H_
OLDNEW
« 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