summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webaccessibility.h
diff options
context:
space:
mode:
authorctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-05 01:59:37 +0000
committerctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-05 01:59:37 +0000
commit70eee34d2d158dc51086b9571e62a61ace16727b (patch)
treeb6532b9fe9fb38f8fcb6cbe89a9fb36b1c2d964b /webkit/glue/webaccessibility.h
parenta9a430111290193028dc2b39be75c176d49d7bd3 (diff)
downloadchromium_src-70eee34d2d158dc51086b9571e62a61ace16727b.zip
chromium_src-70eee34d2d158dc51086b9571e62a61ace16727b.tar.gz
chromium_src-70eee34d2d158dc51086b9571e62a61ace16727b.tar.bz2
Only send child node updates on load and children changed notifications.
BUG=none TEST=interactive_ui_tests:AccessibilityWinBrowserTest.* Review URL: http://codereview.chromium.org/4272002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webaccessibility.h')
-rw-r--r--webkit/glue/webaccessibility.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/webkit/glue/webaccessibility.h b/webkit/glue/webaccessibility.h
index 9d661eb..a8e4b11 100644
--- a/webkit/glue/webaccessibility.h
+++ b/webkit/glue/webaccessibility.h
@@ -187,14 +187,18 @@ struct WebAccessibility {
// nodes as needed to complete the tree. Adds |src| to |cache| and
// stores its cache ID.
WebAccessibility(const WebKit::WebAccessibilityObject& src,
- WebKit::WebAccessibilityCache* cache);
+ WebKit::WebAccessibilityCache* cache,
+ bool include_children);
~WebAccessibility();
+ private:
// Initialize an already-created struct, same as the constructor a
void Init(const WebKit::WebAccessibilityObject& src,
- WebKit::WebAccessibilityCache* cache);
+ WebKit::WebAccessibilityCache* cache,
+ bool include_children);
+ public:
// This is a simple serializable struct. All member variables should be
// copyable.
int32 id;