Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: sky/engine/web/ChromeClientImpl.h

Issue 713073003: remove updateTouchEventTargetRectsIfNeeded (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void invalidateContentsAndRootView(const IntRect&) override; 79 virtual void invalidateContentsAndRootView(const IntRect&) override;
80 virtual void invalidateContentsForSlowScroll(const IntRect&) override; 80 virtual void invalidateContentsForSlowScroll(const IntRect&) override;
81 virtual void scheduleAnimation() override; 81 virtual void scheduleAnimation() override;
82 virtual IntRect rootViewToScreen(const IntRect&) const override; 82 virtual IntRect rootViewToScreen(const IntRect&) const override;
83 virtual WebScreenInfo screenInfo() const override; 83 virtual WebScreenInfo screenInfo() const override;
84 virtual void layoutUpdated(LocalFrame*) const override; 84 virtual void layoutUpdated(LocalFrame*) const override;
85 virtual void mouseDidMoveOverElement( 85 virtual void mouseDidMoveOverElement(
86 const HitTestResult&, unsigned modifierFlags) override; 86 const HitTestResult&, unsigned modifierFlags) override;
87 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide; 87 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide;
88 virtual void setCursor(const Cursor&) override; 88 virtual void setCursor(const Cursor&) override;
89 virtual void needTouchEvents(bool needTouchEvents) override;
90 virtual void setTouchAction(TouchAction) override; 89 virtual void setTouchAction(TouchAction) override;
91 90
92 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; 91 virtual GraphicsLayerFactory* graphicsLayerFactory() const override;
93 92
94 // Pass 0 as the GraphicsLayer to detatch the root layer. 93 // Pass 0 as the GraphicsLayer to detatch the root layer.
95 virtual void attachRootGraphicsLayer(GraphicsLayer*) override; 94 virtual void attachRootGraphicsLayer(GraphicsLayer*) override;
96 95
97 virtual void clearCompositedSelectionBounds() override; 96 virtual void clearCompositedSelectionBounds() override;
98 97
99 // ChromeClient methods: 98 // ChromeClient methods:
(...skipping 17 matching lines...) Expand all
117 void setCursor(const WebCursorInfo&); 116 void setCursor(const WebCursorInfo&);
118 117
119 WebViewImpl* m_webView; // weak pointer 118 WebViewImpl* m_webView; // weak pointer
120 }; 119 };
121 120
122 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 121 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
123 122
124 } // namespace blink 123 } // namespace blink
125 124
126 #endif 125 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698