| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 virtual bool runJavaScriptConfirm(LocalFrame*, const WTF::String&) override; | 105 virtual bool runJavaScriptConfirm(LocalFrame*, const WTF::String&) override; |
| 106 virtual bool runJavaScriptPrompt( | 106 virtual bool runJavaScriptPrompt( |
| 107 LocalFrame*, const WTF::String& message, | 107 LocalFrame*, const WTF::String& message, |
| 108 const WTF::String& defaultValue, WTF::String& result) override; | 108 const WTF::String& defaultValue, WTF::String& result) override; |
| 109 virtual void setStatusbarText(const WTF::String& message) override; | 109 virtual void setStatusbarText(const WTF::String& message) override; |
| 110 virtual bool tabsToLinks() override; | 110 virtual bool tabsToLinks() override; |
| 111 virtual IntRect windowResizerRect() const override; | 111 virtual IntRect windowResizerRect() const override; |
| 112 virtual void invalidateContentsAndRootView(const IntRect&) override; | 112 virtual void invalidateContentsAndRootView(const IntRect&) override; |
| 113 virtual void invalidateContentsForSlowScroll(const IntRect&) override; | 113 virtual void invalidateContentsForSlowScroll(const IntRect&) override; |
| 114 virtual void scheduleAnimation() override; | 114 virtual void scheduleAnimation() override; |
| 115 virtual void scheduleAnimationForFrame(LocalFrame* localRoot) override; |
| 115 virtual IntRect rootViewToScreen(const IntRect&) const override; | 116 virtual IntRect rootViewToScreen(const IntRect&) const override; |
| 116 virtual WebScreenInfo screenInfo() const override; | 117 virtual WebScreenInfo screenInfo() const override; |
| 117 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override
; | 118 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override
; |
| 118 virtual void deviceOrPageScaleFactorChanged() const override; | 119 virtual void deviceOrPageScaleFactorChanged() const override; |
| 119 virtual void layoutUpdated(LocalFrame*) const override; | 120 virtual void layoutUpdated(LocalFrame*) const override; |
| 120 virtual void mouseDidMoveOverElement(const HitTestResult&) override; | 121 virtual void mouseDidMoveOverElement(const HitTestResult&) override; |
| 121 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr
ide; | 122 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr
ide; |
| 122 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const override; | 123 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const override; |
| 123 virtual void print(LocalFrame*) override; | 124 virtual void print(LocalFrame*) override; |
| 124 virtual void annotatedRegionsChanged() override; | 125 virtual void annotatedRegionsChanged() override; |
| 125 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) override; | 126 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) override; |
| 126 virtual PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*,
ColorChooserClient*, const Color&) override; | 127 virtual PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*,
ColorChooserClient*, const Color&) override; |
| 127 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien
t*, const DateTimeChooserParameters&) override; | 128 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien
t*, const DateTimeChooserParameters&) override; |
| 128 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) override; | 129 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) override; |
| 129 virtual void enumerateChosenDirectory(FileChooser*) override; | 130 virtual void enumerateChosenDirectory(FileChooser*) override; |
| 130 virtual void setCursor(const Cursor&) override; | 131 virtual void setCursor(const Cursor&) override; |
| 131 virtual void needTouchEvents(bool needTouchEvents) override; | 132 virtual void needTouchEvents(bool needTouchEvents) override; |
| 132 virtual void setTouchAction(TouchAction) override; | 133 virtual void setTouchAction(TouchAction) override; |
| 133 | 134 |
| 134 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; | 135 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; |
| 135 | 136 |
| 136 // Pass 0 as the GraphicsLayer to detatch the root layer. | 137 // Pass 0 as the GraphicsLayer to detatch the root layer. |
| 137 virtual void attachRootGraphicsLayer(GraphicsLayer*) override; | 138 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot)
override; |
| 138 | 139 |
| 139 virtual void enterFullScreenForElement(Element*) override; | 140 virtual void enterFullScreenForElement(Element*) override; |
| 140 virtual void exitFullScreenForElement(Element*) override; | 141 virtual void exitFullScreenForElement(Element*) override; |
| 141 | 142 |
| 142 virtual void clearCompositedSelectionBounds() override; | 143 virtual void clearCompositedSelectionBounds() override; |
| 143 virtual void updateCompositedSelectionBounds(const blink::CompositedSelectio
nBound& anchor, const blink::CompositedSelectionBound& focus) override; | 144 virtual void updateCompositedSelectionBounds(const blink::CompositedSelectio
nBound& anchor, const blink::CompositedSelectionBound& focus) override; |
| 144 | 145 |
| 145 // ChromeClient methods: | 146 // ChromeClient methods: |
| 146 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) override; | 147 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) override; |
| 147 virtual String acceptLanguages() override; | 148 virtual String acceptLanguages() override; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 WindowFeatures m_windowFeatures; | 184 WindowFeatures m_windowFeatures; |
| 184 | 185 |
| 185 PagePopupDriver* m_pagePopupDriver; | 186 PagePopupDriver* m_pagePopupDriver; |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 189 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 189 | 190 |
| 190 } // namespace blink | 191 } // namespace blink |
| 191 | 192 |
| 192 #endif | 193 #endif |
| OLD | NEW |