| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 296 |
| 297 void setIgnoreInputEvents(bool newValue); | 297 void setIgnoreInputEvents(bool newValue); |
| 298 void setBackgroundColorOverride(WebColor); | 298 void setBackgroundColorOverride(WebColor); |
| 299 void setZoomFactorOverride(float); | 299 void setZoomFactorOverride(float); |
| 300 | 300 |
| 301 Color baseBackgroundColor() const { return m_baseBackgroundColor; } | 301 Color baseBackgroundColor() const { return m_baseBackgroundColor; } |
| 302 | 302 |
| 303 WebColor backgroundColorOverride() const { return m_backgroundColorOverride;
} | 303 WebColor backgroundColorOverride() const { return m_backgroundColorOverride;
} |
| 304 | 304 |
| 305 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } | 305 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } |
| 306 void addPageOverlay(PageOverlay::Painter*, int zOrder); |
| 307 void removePageOverlay(PageOverlay::Painter*); |
| 306 | 308 |
| 307 void setOverlayLayer(GraphicsLayer*); | 309 void setOverlayLayer(GraphicsLayer*); |
| 308 | 310 |
| 309 const WebPoint& lastMouseDownPoint() const | 311 const WebPoint& lastMouseDownPoint() const |
| 310 { | 312 { |
| 311 return m_lastMouseDownPoint; | 313 return m_lastMouseDownPoint; |
| 312 } | 314 } |
| 313 | 315 |
| 314 Frame* focusedCoreFrame() const; | 316 Frame* focusedCoreFrame() const; |
| 315 | 317 |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 }; | 776 }; |
| 775 | 777 |
| 776 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 778 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 777 // We have no ways to check if the specified WebView is an instance of | 779 // We have no ways to check if the specified WebView is an instance of |
| 778 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 780 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 779 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 780 | 782 |
| 781 } // namespace blink | 783 } // namespace blink |
| 782 | 784 |
| 783 #endif | 785 #endif |
| OLD | NEW |