OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1440 void FrameSelection::notifyAccessibilityForSelectionChange() | 1440 void FrameSelection::notifyAccessibilityForSelectionChange() |
1441 { | 1441 { |
1442 if (m_selection.start().isNotNull() && m_selection.end().isNotNull()) { | 1442 if (m_selection.start().isNotNull() && m_selection.end().isNotNull()) { |
1443 if (AXObjectCache* cache = m_frame->document()->existingAXObjectCache()) | 1443 if (AXObjectCache* cache = m_frame->document()->existingAXObjectCache()) |
1444 cache->selectionChanged(m_selection.start().containerNode()); | 1444 cache->selectionChanged(m_selection.start().containerNode()); |
1445 } | 1445 } |
1446 } | 1446 } |
1447 | 1447 |
1448 void FrameSelection::notifyCompositorForSelectionChange() | 1448 void FrameSelection::notifyCompositorForSelectionChange() |
1449 { | 1449 { |
1450 if (!RuntimeEnabledFeatures::compositedSelectionUpdatesEnabled()) | 1450 if (!RuntimeEnabledFeatures::compositedSelectionUpdateEnabled()) |
1451 return; | 1451 return; |
1452 | 1452 |
1453 scheduleVisualUpdate(); | 1453 scheduleVisualUpdate(); |
1454 } | 1454 } |
1455 | 1455 |
1456 void FrameSelection::notifyEventHandlerForSelectionChange() | 1456 void FrameSelection::notifyEventHandlerForSelectionChange() |
1457 { | 1457 { |
1458 m_frame->eventHandler().notifySelectionChanged(); | 1458 m_frame->eventHandler().notifySelectionChanged(); |
1459 } | 1459 } |
1460 | 1460 |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1932 sel.showTreeForThis(); | 1932 sel.showTreeForThis(); |
1933 } | 1933 } |
1934 | 1934 |
1935 void showTree(const blink::FrameSelection* sel) | 1935 void showTree(const blink::FrameSelection* sel) |
1936 { | 1936 { |
1937 if (sel) | 1937 if (sel) |
1938 sel->showTreeForThis(); | 1938 sel->showTreeForThis(); |
1939 } | 1939 } |
1940 | 1940 |
1941 #endif | 1941 #endif |
OLD | NEW |