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 WebLocalFrame | 75 : public WebFrame |
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; } | |
80 virtual void close() OVERRIDE; | 79 virtual void close() OVERRIDE; |
81 virtual WebString uniqueName() const OVERRIDE; | 80 virtual WebString uniqueName() const OVERRIDE; |
82 virtual WebString assignedName() const OVERRIDE; | 81 virtual WebString assignedName() const OVERRIDE; |
83 virtual void setName(const WebString&) OVERRIDE; | 82 virtual void setName(const WebString&) OVERRIDE; |
84 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; | 83 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; |
85 virtual void setIsRemote(bool) OVERRIDE; | 84 virtual void setIsRemote(bool) OVERRIDE; |
86 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; | 85 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; |
87 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; | 86 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; |
88 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; | 87 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; |
89 virtual WebSize scrollOffset() const OVERRIDE; | 88 virtual WebSize scrollOffset() const OVERRIDE; |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 510 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
512 WebCore::IntSize m_inputEventsOffsetForEmulation; | 511 WebCore::IntSize m_inputEventsOffsetForEmulation; |
513 float m_inputEventsScaleFactorForEmulation; | 512 float m_inputEventsScaleFactorForEmulation; |
514 }; | 513 }; |
515 | 514 |
516 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); | 515 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); |
517 | 516 |
518 } // namespace blink | 517 } // namespace blink |
519 | 518 |
520 #endif | 519 #endif |
OLD | NEW |