| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "public/platform/WebPoint.h" | 57 #include "public/platform/WebPoint.h" |
| 58 #include "public/platform/WebRect.h" | 58 #include "public/platform/WebRect.h" |
| 59 #include "public/platform/WebSize.h" | 59 #include "public/platform/WebSize.h" |
| 60 #include "public/platform/WebString.h" | 60 #include "public/platform/WebString.h" |
| 61 #include "wtf/OwnPtr.h" | 61 #include "wtf/OwnPtr.h" |
| 62 #include "wtf/RefCounted.h" | 62 #include "wtf/RefCounted.h" |
| 63 #include "wtf/Vector.h" | 63 #include "wtf/Vector.h" |
| 64 | 64 |
| 65 namespace WebCore { | 65 namespace WebCore { |
| 66 class DataObject; | 66 class DataObject; |
| 67 class Color; | 67 class Frame; |
| 68 class LocalFrame; | |
| 69 class GraphicsLayerFactory; | 68 class GraphicsLayerFactory; |
| 70 class HistoryItem; | 69 class HistoryItem; |
| 71 class HitTestResult; | 70 class HitTestResult; |
| 72 class KeyboardEvent; | 71 class KeyboardEvent; |
| 73 class Page; | 72 class Page; |
| 74 class PagePopup; | 73 class PagePopup; |
| 75 class PagePopupClient; | 74 class PagePopupClient; |
| 76 class PlatformKeyboardEvent; | 75 class PlatformKeyboardEvent; |
| 77 class PopupMenuClient; | 76 class PopupMenuClient; |
| 78 class RenderLayerCompositor; | 77 class RenderLayerCompositor; |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 | 305 |
| 307 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } | 306 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } |
| 308 | 307 |
| 309 void setOverlayLayer(WebCore::GraphicsLayer*); | 308 void setOverlayLayer(WebCore::GraphicsLayer*); |
| 310 | 309 |
| 311 const WebPoint& lastMouseDownPoint() const | 310 const WebPoint& lastMouseDownPoint() const |
| 312 { | 311 { |
| 313 return m_lastMouseDownPoint; | 312 return m_lastMouseDownPoint; |
| 314 } | 313 } |
| 315 | 314 |
| 316 WebCore::LocalFrame* focusedWebCoreFrame() const; | 315 WebCore::Frame* focusedWebCoreFrame() const; |
| 317 | 316 |
| 318 // Returns the currently focused Element or null if no element has focus. | 317 // Returns the currently focused Element or null if no element has focus. |
| 319 WebCore::Element* focusedElement() const; | 318 WebCore::Element* focusedElement() const; |
| 320 | 319 |
| 321 static WebViewImpl* fromPage(WebCore::Page*); | 320 static WebViewImpl* fromPage(WebCore::Page*); |
| 322 | 321 |
| 323 WebViewClient* client() | 322 WebViewClient* client() |
| 324 { | 323 { |
| 325 return m_client; | 324 return m_client; |
| 326 } | 325 } |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 float m_zoomFactorOverride; | 766 float m_zoomFactorOverride; |
| 768 }; | 767 }; |
| 769 | 768 |
| 770 // We have no ways to check if the specified WebView is an instance of | 769 // We have no ways to check if the specified WebView is an instance of |
| 771 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 770 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 772 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 771 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 773 | 772 |
| 774 } // namespace blink | 773 } // namespace blink |
| 775 | 774 |
| 776 #endif | 775 #endif |
| OLD | NEW |