| OLD | NEW |
| 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 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2036 void WebLocalFrameImpl::didCallAddSearchProvider() | 2036 void WebLocalFrameImpl::didCallAddSearchProvider() |
| 2037 { | 2037 { |
| 2038 UseCounter::count(frame(), UseCounter::ExternalAddSearchProvider); | 2038 UseCounter::count(frame(), UseCounter::ExternalAddSearchProvider); |
| 2039 } | 2039 } |
| 2040 | 2040 |
| 2041 void WebLocalFrameImpl::didCallIsSearchProviderInstalled() | 2041 void WebLocalFrameImpl::didCallIsSearchProviderInstalled() |
| 2042 { | 2042 { |
| 2043 UseCounter::count(frame(), UseCounter::ExternalIsSearchProviderInstalled); | 2043 UseCounter::count(frame(), UseCounter::ExternalIsSearchProviderInstalled); |
| 2044 } | 2044 } |
| 2045 | 2045 |
| 2046 bool WebLocalFrameImpl::find(int identifier, const WebString& searchText, const
WebFindOptions& options, bool wrapWithinFrame, WebRect* selectionRect) | 2046 bool WebLocalFrameImpl::find(int identifier, const WebString& searchText, const
WebFindOptions& options, bool wrapWithinFrame, WebRect* selectionRect, bool* act
iveNow) |
| 2047 { | 2047 { |
| 2048 return ensureTextFinder().find(identifier, searchText, options, wrapWithinFr
ame, selectionRect); | 2048 return ensureTextFinder().find(identifier, searchText, options, wrapWithinFr
ame, selectionRect, activeNow); |
| 2049 } | 2049 } |
| 2050 | 2050 |
| 2051 void WebLocalFrameImpl::stopFinding(bool clearSelection) | 2051 void WebLocalFrameImpl::stopFinding(bool clearSelection) |
| 2052 { | 2052 { |
| 2053 if (m_textFinder) { | 2053 if (m_textFinder) { |
| 2054 if (!clearSelection) | 2054 if (!clearSelection) |
| 2055 setFindEndstateFocusAndSelection(); | 2055 setFindEndstateFocusAndSelection(); |
| 2056 m_textFinder->stopFindingAndClearSelection(); | 2056 m_textFinder->stopFindingAndClearSelection(); |
| 2057 } | 2057 } |
| 2058 } | 2058 } |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2186 return WebSandboxFlags::None; | 2186 return WebSandboxFlags::None; |
| 2187 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); | 2187 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); |
| 2188 } | 2188 } |
| 2189 | 2189 |
| 2190 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) | 2190 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) |
| 2191 { | 2191 { |
| 2192 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2192 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
| 2193 } | 2193 } |
| 2194 | 2194 |
| 2195 } // namespace blink | 2195 } // namespace blink |
| OLD | NEW |