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