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

Side by Side Diff: Source/core/accessibility/AXObjectCache.cpp

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | « no previous file | Source/core/accessibility/AXScrollbar.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "core/dom/Document.h" 58 #include "core/dom/Document.h"
59 #include "core/frame/Frame.h" 59 #include "core/frame/Frame.h"
60 #include "core/html/HTMLAreaElement.h" 60 #include "core/html/HTMLAreaElement.h"
61 #include "core/html/HTMLImageElement.h" 61 #include "core/html/HTMLImageElement.h"
62 #include "core/html/HTMLInputElement.h" 62 #include "core/html/HTMLInputElement.h"
63 #include "core/html/HTMLLabelElement.h" 63 #include "core/html/HTMLLabelElement.h"
64 #include "core/page/Chrome.h" 64 #include "core/page/Chrome.h"
65 #include "core/page/ChromeClient.h" 65 #include "core/page/ChromeClient.h"
66 #include "core/page/FocusController.h" 66 #include "core/page/FocusController.h"
67 #include "core/page/Page.h" 67 #include "core/page/Page.h"
68 #include "core/platform/ScrollView.h"
69 #include "core/rendering/AbstractInlineTextBox.h" 68 #include "core/rendering/AbstractInlineTextBox.h"
70 #include "core/rendering/RenderListBox.h" 69 #include "core/rendering/RenderListBox.h"
71 #include "core/rendering/RenderMenuList.h" 70 #include "core/rendering/RenderMenuList.h"
72 #include "core/rendering/RenderProgress.h" 71 #include "core/rendering/RenderProgress.h"
73 #include "core/rendering/RenderSlider.h" 72 #include "core/rendering/RenderSlider.h"
74 #include "core/rendering/RenderTable.h" 73 #include "core/rendering/RenderTable.h"
75 #include "core/rendering/RenderTableCell.h" 74 #include "core/rendering/RenderTableCell.h"
76 #include "core/rendering/RenderTableRow.h" 75 #include "core/rendering/RenderTableRow.h"
77 #include "core/rendering/RenderView.h" 76 #include "core/rendering/RenderView.h"
77 #include "platform/scroll/ScrollView.h"
78 #include "wtf/PassRefPtr.h" 78 #include "wtf/PassRefPtr.h"
79 79
80 namespace WebCore { 80 namespace WebCore {
81 81
82 using namespace HTMLNames; 82 using namespace HTMLNames;
83 83
84 AXObjectInclusion AXComputedObjectAttributeCache::getIgnored(AXID id) const 84 AXObjectInclusion AXComputedObjectAttributeCache::getIgnored(AXID id) const
85 { 85 {
86 HashMap<AXID, CachedAXObjectAttributes>::const_iterator it = m_idMapping.fin d(id); 86 HashMap<AXID, CachedAXObjectAttributes>::const_iterator it = m_idMapping.fin d(id);
87 return it != m_idMapping.end() ? it->value.ignored : DefaultBehavior; 87 return it != m_idMapping.end() ? it->value.ignored : DefaultBehavior;
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 } 1019 }
1020 1020
1021 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) 1021 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode)
1022 { 1022 {
1023 // The anchor node may not be accessible. Post the notification for the 1023 // The anchor node may not be accessible. Post the notification for the
1024 // first accessible object. 1024 // first accessible object.
1025 postPlatformNotification(AXObject::firstAccessibleObjectFromNode(anchorNode) , AXScrolledToAnchor); 1025 postPlatformNotification(AXObject::firstAccessibleObjectFromNode(anchorNode) , AXScrolledToAnchor);
1026 } 1026 }
1027 1027
1028 } // namespace WebCore 1028 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698