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

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

Issue 681023002: Remove a bunch of frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.cpp ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual bool tabsToLinks() override; 78 virtual bool tabsToLinks() override;
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 bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) override;
89 virtual void setCursor(const Cursor&) override; 88 virtual void setCursor(const Cursor&) override;
90 virtual void needTouchEvents(bool needTouchEvents) override; 89 virtual void needTouchEvents(bool needTouchEvents) override;
91 virtual void setTouchAction(TouchAction) override; 90 virtual void setTouchAction(TouchAction) override;
92 91
93 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; 92 virtual GraphicsLayerFactory* graphicsLayerFactory() const override;
94 93
95 // Pass 0 as the GraphicsLayer to detatch the root layer. 94 // Pass 0 as the GraphicsLayer to detatch the root layer.
96 virtual void attachRootGraphicsLayer(GraphicsLayer*) override; 95 virtual void attachRootGraphicsLayer(GraphicsLayer*) override;
97 96
98 virtual void clearCompositedSelectionBounds() override; 97 virtual void clearCompositedSelectionBounds() override;
(...skipping 19 matching lines...) Expand all
118 void setCursor(const WebCursorInfo&); 117 void setCursor(const WebCursorInfo&);
119 118
120 WebViewImpl* m_webView; // weak pointer 119 WebViewImpl* m_webView; // weak pointer
121 }; 120 };
122 121
123 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 122 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
124 123
125 } // namespace blink 124 } // namespace blink
126 125
127 #endif 126 #endif
OLDNEW
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.cpp ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698