| 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 void suppressInvalidations(bool enable); | 278 void suppressInvalidations(bool enable); |
| 279 void invalidateRect(const IntRect&); | 279 void invalidateRect(const IntRect&); |
| 280 | 280 |
| 281 void setIgnoreInputEvents(bool newValue); | 281 void setIgnoreInputEvents(bool newValue); |
| 282 void setBackgroundColorOverride(WebColor); | 282 void setBackgroundColorOverride(WebColor); |
| 283 void setZoomFactorOverride(float); | 283 void setZoomFactorOverride(float); |
| 284 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get
(); } | 284 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get
(); } |
| 285 | 285 |
| 286 Color baseBackgroundColor() const { return m_baseBackgroundColor; } | 286 Color baseBackgroundColor() const { return m_baseBackgroundColor; } |
| 287 | 287 |
| 288 WebColor backgroundColorOverride() const { return m_backgroundColorOverride;
} |
| 289 |
| 288 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } | 290 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } |
| 289 | 291 |
| 290 void setOverlayLayer(GraphicsLayer*); | 292 void setOverlayLayer(GraphicsLayer*); |
| 291 | 293 |
| 292 const WebPoint& lastMouseDownPoint() const | 294 const WebPoint& lastMouseDownPoint() const |
| 293 { | 295 { |
| 294 return m_lastMouseDownPoint; | 296 return m_lastMouseDownPoint; |
| 295 } | 297 } |
| 296 | 298 |
| 297 Frame* focusedCoreFrame() const; | 299 Frame* focusedCoreFrame() const; |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 }; | 750 }; |
| 749 | 751 |
| 750 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 752 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 751 // We have no ways to check if the specified WebView is an instance of | 753 // We have no ways to check if the specified WebView is an instance of |
| 752 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 754 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 753 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 755 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 754 | 756 |
| 755 } // namespace blink | 757 } // namespace blink |
| 756 | 758 |
| 757 #endif | 759 #endif |
| OLD | NEW |