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

Side by Side Diff: sky/engine/core/page/ChromeClient.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/core/loader/EmptyClients.h ('k') | sky/engine/core/rendering/RenderBox.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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void setCursor(const Cursor&) = 0; 92 virtual void setCursor(const Cursor&) = 0;
93 virtual void scheduleAnimation() = 0; 93 virtual void scheduleAnimation() = 0;
94 // End methods used by HostWindow. 94 // End methods used by HostWindow.
95 95
96 virtual void layoutUpdated(LocalFrame*) const { } 96 virtual void layoutUpdated(LocalFrame*) const { }
97 97
98 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0; 98 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0;
99 99
100 virtual void setToolTip(const String&, TextDirection) = 0; 100 virtual void setToolTip(const String&, TextDirection) = 0;
101 101
102 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) = 0;
103
104 // Allows ports to customize the type of graphics layers created by this pag e. 102 // Allows ports to customize the type of graphics layers created by this pag e.
105 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } 103 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; }
106 104
107 // Pass 0 as the GraphicsLayer to detatch the root layer. 105 // Pass 0 as the GraphicsLayer to detatch the root layer.
108 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; 106 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0;
109 107
110 virtual void clearCompositedSelectionBounds() { } 108 virtual void clearCompositedSelectionBounds() { }
111 109
112 virtual void needTouchEvents(bool) = 0; 110 virtual void needTouchEvents(bool) = 0;
113 111
(...skipping 20 matching lines...) Expand all
134 virtual void willSetInputMethodState() { } 132 virtual void willSetInputMethodState() { }
135 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 133 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
136 virtual void showImeIfNeeded() { } 134 virtual void showImeIfNeeded() { }
137 135
138 protected: 136 protected:
139 virtual ~ChromeClient() { } 137 virtual ~ChromeClient() { }
140 }; 138 };
141 139
142 } 140 }
143 #endif // ChromeClient_h 141 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « sky/engine/core/loader/EmptyClients.h ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698