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 23 matching lines...) Expand all Loading... |
34 #include "core/page/PagePopupDriver.h" | 34 #include "core/page/PagePopupDriver.h" |
35 #include "platform/geometry/IntPoint.h" | 35 #include "platform/geometry/IntPoint.h" |
36 #include "platform/geometry/IntRect.h" | 36 #include "platform/geometry/IntRect.h" |
37 #include "platform/graphics/GraphicsLayer.h" | 37 #include "platform/graphics/GraphicsLayer.h" |
38 #include "public/platform/WebGestureCurveTarget.h" | 38 #include "public/platform/WebGestureCurveTarget.h" |
39 #include "public/platform/WebLayer.h" | 39 #include "public/platform/WebLayer.h" |
40 #include "public/platform/WebPoint.h" | 40 #include "public/platform/WebPoint.h" |
41 #include "public/platform/WebRect.h" | 41 #include "public/platform/WebRect.h" |
42 #include "public/platform/WebSize.h" | 42 #include "public/platform/WebSize.h" |
43 #include "public/platform/WebString.h" | 43 #include "public/platform/WebString.h" |
| 44 #include "public/platform/WebVector.h" |
44 #include "public/web/WebInputEvent.h" | 45 #include "public/web/WebInputEvent.h" |
45 #include "public/web/WebNavigationPolicy.h" | 46 #include "public/web/WebNavigationPolicy.h" |
46 #include "public/web/WebView.h" | 47 #include "public/web/WebView.h" |
47 #include "web/BackForwardClientImpl.h" | 48 #include "web/BackForwardClientImpl.h" |
48 #include "web/ChromeClientImpl.h" | 49 #include "web/ChromeClientImpl.h" |
49 #include "web/ContextMenuClientImpl.h" | 50 #include "web/ContextMenuClientImpl.h" |
50 #include "web/DragClientImpl.h" | 51 #include "web/DragClientImpl.h" |
51 #include "web/EditorClientImpl.h" | 52 #include "web/EditorClientImpl.h" |
52 #include "web/InspectorClientImpl.h" | 53 #include "web/InspectorClientImpl.h" |
53 #include "web/MediaKeysClientImpl.h" | 54 #include "web/MediaKeysClientImpl.h" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 virtual void setPinchViewportOffset(const WebFloatPoint&) OVERRIDE; | 185 virtual void setPinchViewportOffset(const WebFloatPoint&) OVERRIDE; |
185 virtual WebFloatPoint pinchViewportOffset() const OVERRIDE; | 186 virtual WebFloatPoint pinchViewportOffset() const OVERRIDE; |
186 virtual float minimumPageScaleFactor() const OVERRIDE; | 187 virtual float minimumPageScaleFactor() const OVERRIDE; |
187 virtual float maximumPageScaleFactor() const OVERRIDE; | 188 virtual float maximumPageScaleFactor() const OVERRIDE; |
188 virtual void resetScrollAndScaleState() OVERRIDE; | 189 virtual void resetScrollAndScaleState() OVERRIDE; |
189 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE; | 190 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE; |
190 virtual WebSize contentsPreferredMinimumSize() OVERRIDE; | 191 virtual WebSize contentsPreferredMinimumSize() OVERRIDE; |
191 | 192 |
192 virtual float deviceScaleFactor() const OVERRIDE; | 193 virtual float deviceScaleFactor() const OVERRIDE; |
193 virtual void setDeviceScaleFactor(float) OVERRIDE; | 194 virtual void setDeviceScaleFactor(float) OVERRIDE; |
| 195 virtual void setDeviceColorProfile(const WebVector<char>&) OVERRIDE; |
| 196 virtual void resetDeviceColorProfile() OVERRIDE; |
194 | 197 |
195 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE; | 198 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE; |
196 | 199 |
197 virtual void enableAutoResizeMode( | 200 virtual void enableAutoResizeMode( |
198 const WebSize& minSize, | 201 const WebSize& minSize, |
199 const WebSize& maxSize) OVERRIDE; | 202 const WebSize& maxSize) OVERRIDE; |
200 virtual void disableAutoResizeMode() OVERRIDE; | 203 virtual void disableAutoResizeMode() OVERRIDE; |
201 virtual void performMediaPlayerAction( | 204 virtual void performMediaPlayerAction( |
202 const WebMediaPlayerAction& action, | 205 const WebMediaPlayerAction& action, |
203 const WebPoint& location) OVERRIDE; | 206 const WebPoint& location) OVERRIDE; |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 bool m_userGestureObserved; | 720 bool m_userGestureObserved; |
718 }; | 721 }; |
719 | 722 |
720 // We have no ways to check if the specified WebView is an instance of | 723 // We have no ways to check if the specified WebView is an instance of |
721 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 724 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
722 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 725 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
723 | 726 |
724 } // namespace blink | 727 } // namespace blink |
725 | 728 |
726 #endif | 729 #endif |
OLD | NEW |