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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 class WebPerformance; | 65 class WebPerformance; |
66 class WebPluginContainerImpl; | 66 class WebPluginContainerImpl; |
67 class WebView; | 67 class WebView; |
68 class WebViewImpl; | 68 class WebViewImpl; |
69 struct WebPrintParams; | 69 struct WebPrintParams; |
70 | 70 |
71 template <typename T> class WebVector; | 71 template <typename T> class WebVector; |
72 | 72 |
73 // Implementation of WebFrame, note that this is a reference counted object. | 73 // Implementation of WebFrame, note that this is a reference counted object. |
74 class WebFrameImpl FINAL | 74 class WebFrameImpl FINAL |
75 : public WebFrame | 75 : public WebLocalFrame |
76 , public RefCounted<WebFrameImpl> { | 76 , public RefCounted<WebFrameImpl> { |
77 public: | 77 public: |
78 // WebFrame methods: | 78 // WebFrame methods: |
| 79 virtual WebLocalFrame* toWebLocalFrame() OVERRIDE { return this; } |
79 virtual void close() OVERRIDE; | 80 virtual void close() OVERRIDE; |
80 virtual WebString uniqueName() const OVERRIDE; | 81 virtual WebString uniqueName() const OVERRIDE; |
81 virtual WebString assignedName() const OVERRIDE; | 82 virtual WebString assignedName() const OVERRIDE; |
82 virtual void setName(const WebString&) OVERRIDE; | 83 virtual void setName(const WebString&) OVERRIDE; |
83 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; | 84 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; |
84 virtual void setIsRemote(bool) OVERRIDE; | 85 virtual void setIsRemote(bool) OVERRIDE; |
85 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; | 86 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; |
86 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; | 87 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; |
87 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; | 88 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; |
88 virtual WebSize scrollOffset() const OVERRIDE; | 89 virtual WebSize scrollOffset() const OVERRIDE; |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 511 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
511 WebCore::IntSize m_inputEventsOffsetForEmulation; | 512 WebCore::IntSize m_inputEventsOffsetForEmulation; |
512 float m_inputEventsScaleFactorForEmulation; | 513 float m_inputEventsScaleFactorForEmulation; |
513 }; | 514 }; |
514 | 515 |
515 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); | 516 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); |
516 | 517 |
517 } // namespace blink | 518 } // namespace blink |
518 | 519 |
519 #endif | 520 #endif |
OLD | NEW |