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

Side by Side Diff: Source/web/WebAccessibilityObject.cpp

Issue 18563008: Web MIDI: add assign() and equals() to WebMIDIPermissionRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: for CQ Created 7 years, 5 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
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 m_private.reset(); 62 m_private.reset();
63 } 63 }
64 64
65 void WebAccessibilityObject::assign(const WebKit::WebAccessibilityObject& other) 65 void WebAccessibilityObject::assign(const WebKit::WebAccessibilityObject& other)
66 { 66 {
67 m_private = other.m_private; 67 m_private = other.m_private;
68 } 68 }
69 69
70 bool WebAccessibilityObject::equals(const WebAccessibilityObject& n) const 70 bool WebAccessibilityObject::equals(const WebAccessibilityObject& n) const
71 { 71 {
72 return (m_private.get() == n.m_private.get()); 72 return m_private.get() == n.m_private.get();
73 } 73 }
74 74
75 // static 75 // static
76 void WebAccessibilityObject::enableAccessibility() 76 void WebAccessibilityObject::enableAccessibility()
77 { 77 {
78 AXObjectCache::enableAccessibility(); 78 AXObjectCache::enableAccessibility();
79 } 79 }
80 80
81 // static 81 // static
82 bool WebAccessibilityObject::accessibilityEnabled() 82 bool WebAccessibilityObject::accessibilityEnabled()
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 m_private = object; 1012 m_private = object;
1013 return *this; 1013 return *this;
1014 } 1014 }
1015 1015
1016 WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>() const 1016 WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>() const
1017 { 1017 {
1018 return m_private.get(); 1018 return m_private.get();
1019 } 1019 }
1020 1020
1021 } // namespace WebKit 1021 } // namespace WebKit
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698