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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class KURL; | 47 class KURL; |
48 class Node; | 48 class Node; |
49 class Range; | 49 class Range; |
50 class WebFrameClient; | 50 class WebFrameClient; |
51 class WebView; | 51 class WebView; |
52 class WebViewImpl; | 52 class WebViewImpl; |
53 | 53 |
54 template <typename T> class WebVector; | 54 template <typename T> class WebVector; |
55 | 55 |
56 // Implementation of WebFrame, note that this is a reference counted object. | 56 // Implementation of WebFrame, note that this is a reference counted object. |
57 class WebLocalFrameImpl FINAL | 57 class WebLocalFrameImpl final |
58 : public WebLocalFrame | 58 : public WebLocalFrame |
59 , public RefCounted<WebLocalFrameImpl> { | 59 , public RefCounted<WebLocalFrameImpl> { |
60 public: | 60 public: |
61 // WebFrame methods: | 61 // WebFrame methods: |
62 virtual bool isWebLocalFrame() const override; | 62 virtual bool isWebLocalFrame() const override; |
63 virtual WebLocalFrame* toWebLocalFrame() override; | 63 virtual WebLocalFrame* toWebLocalFrame() override; |
64 virtual void close() override; | 64 virtual void close() override; |
65 virtual WebSize contentsSize() const override; | 65 virtual WebSize contentsSize() const override; |
66 virtual bool hasVisibleContent() const override; | 66 virtual bool hasVisibleContent() const override; |
67 virtual WebRect visibleContentRect() const override; | 67 virtual WebRect visibleContentRect() const override; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 179 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
180 IntSize m_inputEventsOffsetForEmulation; | 180 IntSize m_inputEventsOffsetForEmulation; |
181 float m_inputEventsScaleFactorForEmulation; | 181 float m_inputEventsScaleFactorForEmulation; |
182 }; | 182 }; |
183 | 183 |
184 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 184 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
185 | 185 |
186 } // namespace blink | 186 } // namespace blink |
187 | 187 |
188 #endif | 188 #endif |
OLD | NEW |