| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void collectGarbage() override; | 72 virtual void collectGarbage() override; |
| 73 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( | 73 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( |
| 74 const WebScriptSource&) override; | 74 const WebScriptSource&) override; |
| 75 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( | 75 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( |
| 76 v8::Handle<v8::Function>, | 76 v8::Handle<v8::Function>, |
| 77 v8::Handle<v8::Value>, | 77 v8::Handle<v8::Value>, |
| 78 int argc, | 78 int argc, |
| 79 v8::Handle<v8::Value> argv[]) override; | 79 v8::Handle<v8::Value> argv[]) override; |
| 80 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; | 80 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; |
| 81 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle); | 81 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle); |
| 82 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) o
verride; | |
| 83 virtual unsigned unloadListenerCount() const override; | |
| 84 virtual void replaceSelection(const WebString&) override; | 82 virtual void replaceSelection(const WebString&) override; |
| 85 virtual void insertText(const WebString&) override; | 83 virtual void insertText(const WebString&) override; |
| 86 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) override; | 84 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) override; |
| 87 virtual void unmarkText() override; | 85 virtual void unmarkText() override; |
| 88 virtual bool hasMarkedText() const override; | 86 virtual bool hasMarkedText() const override; |
| 89 virtual WebRange markedRange() const override; | 87 virtual WebRange markedRange() const override; |
| 90 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const override; | 88 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const override; |
| 91 virtual size_t characterIndexForPoint(const WebPoint&) const override; | 89 virtual size_t characterIndexForPoint(const WebPoint&) const override; |
| 92 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) ov
erride; | 90 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) ov
erride; |
| 93 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) override; | 91 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) override; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 160 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 163 IntSize m_inputEventsOffsetForEmulation; | 161 IntSize m_inputEventsOffsetForEmulation; |
| 164 float m_inputEventsScaleFactorForEmulation; | 162 float m_inputEventsScaleFactorForEmulation; |
| 165 }; | 163 }; |
| 166 | 164 |
| 167 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 165 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 168 | 166 |
| 169 } // namespace blink | 167 } // namespace blink |
| 170 | 168 |
| 171 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ | 169 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ |
| OLD | NEW |