| 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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 } | 831 } |
| 832 | 832 |
| 833 v8::Handle<v8::Value> WebLocalFrameImpl::callFunctionEvenIfScriptDisabled(v8::Ha
ndle<v8::Function> function, v8::Handle<v8::Value> receiver, int argc, v8::Handl
e<v8::Value> argv[]) | 833 v8::Handle<v8::Value> WebLocalFrameImpl::callFunctionEvenIfScriptDisabled(v8::Ha
ndle<v8::Function> function, v8::Handle<v8::Value> receiver, int argc, v8::Handl
e<v8::Value> argv[]) |
| 834 { | 834 { |
| 835 ASSERT(frame()); | 835 ASSERT(frame()); |
| 836 return frame()->script().callFunction(function, receiver, argc, argv); | 836 return frame()->script().callFunction(function, receiver, argc, argv); |
| 837 } | 837 } |
| 838 | 838 |
| 839 v8::Local<v8::Context> WebLocalFrameImpl::mainWorldScriptContext() const | 839 v8::Local<v8::Context> WebLocalFrameImpl::mainWorldScriptContext() const |
| 840 { | 840 { |
| 841 return toV8Context(V8PerIsolateData::mainThreadIsolate(), frame(), DOMWrappe
rWorld::mainWorld()); | 841 return toV8Context(frame(), DOMWrapperWorld::mainWorld()); |
| 842 } | 842 } |
| 843 | 843 |
| 844 void WebLocalFrameImpl::reload(bool ignoreCache) | 844 void WebLocalFrameImpl::reload(bool ignoreCache) |
| 845 { | 845 { |
| 846 ASSERT(frame()); | 846 ASSERT(frame()); |
| 847 frame()->loader().reload(ignoreCache ? EndToEndReload : NormalReload); | 847 frame()->loader().reload(ignoreCache ? EndToEndReload : NormalReload); |
| 848 } | 848 } |
| 849 | 849 |
| 850 void WebLocalFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl, bool ig
noreCache) | 850 void WebLocalFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl, bool ig
noreCache) |
| 851 { | 851 { |
| (...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1912 | 1912 |
| 1913 void WebLocalFrameImpl::invalidateAll() const | 1913 void WebLocalFrameImpl::invalidateAll() const |
| 1914 { | 1914 { |
| 1915 ASSERT(frame() && frame()->view()); | 1915 ASSERT(frame() && frame()->view()); |
| 1916 FrameView* view = frame()->view(); | 1916 FrameView* view = frame()->view(); |
| 1917 view->invalidateRect(view->frameRect()); | 1917 view->invalidateRect(view->frameRect()); |
| 1918 invalidateScrollbar(); | 1918 invalidateScrollbar(); |
| 1919 } | 1919 } |
| 1920 | 1920 |
| 1921 } // namespace blink | 1921 } // namespace blink |
| OLD | NEW |