OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 virtual void setPinchViewportOffset(const WebFloatPoint&) OVERRIDE; | 184 virtual void setPinchViewportOffset(const WebFloatPoint&) OVERRIDE; |
185 virtual WebFloatPoint pinchViewportOffset() const OVERRIDE; | 185 virtual WebFloatPoint pinchViewportOffset() const OVERRIDE; |
186 virtual float minimumPageScaleFactor() const OVERRIDE; | 186 virtual float minimumPageScaleFactor() const OVERRIDE; |
187 virtual float maximumPageScaleFactor() const OVERRIDE; | 187 virtual float maximumPageScaleFactor() const OVERRIDE; |
188 virtual void resetScrollAndScaleState() OVERRIDE; | 188 virtual void resetScrollAndScaleState() OVERRIDE; |
189 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE; | 189 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE; |
190 virtual WebSize contentsPreferredMinimumSize() OVERRIDE; | 190 virtual WebSize contentsPreferredMinimumSize() OVERRIDE; |
191 | 191 |
192 virtual float deviceScaleFactor() const OVERRIDE; | 192 virtual float deviceScaleFactor() const OVERRIDE; |
193 virtual void setDeviceScaleFactor(float) OVERRIDE; | 193 virtual void setDeviceScaleFactor(float) OVERRIDE; |
| 194 void deviceColorProfileChanged(const char* profile, size_t) OVERRIDE; |
194 | 195 |
195 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE; | 196 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE; |
196 | 197 |
197 virtual void enableAutoResizeMode( | 198 virtual void enableAutoResizeMode( |
198 const WebSize& minSize, | 199 const WebSize& minSize, |
199 const WebSize& maxSize) OVERRIDE; | 200 const WebSize& maxSize) OVERRIDE; |
200 virtual void disableAutoResizeMode() OVERRIDE; | 201 virtual void disableAutoResizeMode() OVERRIDE; |
201 virtual void performMediaPlayerAction( | 202 virtual void performMediaPlayerAction( |
202 const WebMediaPlayerAction& action, | 203 const WebMediaPlayerAction& action, |
203 const WebPoint& location) OVERRIDE; | 204 const WebPoint& location) OVERRIDE; |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 bool m_userGestureObserved; | 713 bool m_userGestureObserved; |
713 }; | 714 }; |
714 | 715 |
715 // We have no ways to check if the specified WebView is an instance of | 716 // We have no ways to check if the specified WebView is an instance of |
716 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 717 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
717 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 718 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
718 | 719 |
719 } // namespace blink | 720 } // namespace blink |
720 | 721 |
721 #endif | 722 #endif |
OLD | NEW |