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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 1301033002: Plumb CompositedDisplayList to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Final checklist: cleanup ordering in WebCompositedDisplayList Created 5 years, 4 months 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 | « Source/core/layout/LayoutView.h ('k') | Source/core/page/Page.h » ('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 14 matching lines...) Expand all
25 #include "core/CoreExport.h" 25 #include "core/CoreExport.h"
26 #include "core/dom/AXObjectCache.h" 26 #include "core/dom/AXObjectCache.h"
27 #include "core/frame/ConsoleTypes.h" 27 #include "core/frame/ConsoleTypes.h"
28 #include "core/inspector/ConsoleAPITypes.h" 28 #include "core/inspector/ConsoleAPITypes.h"
29 #include "core/loader/FrameLoader.h" 29 #include "core/loader/FrameLoader.h"
30 #include "core/loader/NavigationPolicy.h" 30 #include "core/loader/NavigationPolicy.h"
31 #include "core/style/ComputedStyleConstants.h" 31 #include "core/style/ComputedStyleConstants.h"
32 #include "platform/Cursor.h" 32 #include "platform/Cursor.h"
33 #include "platform/HostWindow.h" 33 #include "platform/HostWindow.h"
34 #include "platform/PopupMenu.h" 34 #include "platform/PopupMenu.h"
35 #include "platform/graphics/CompositedDisplayList.h"
35 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
36 #include "platform/scroll/ScrollTypes.h" 37 #include "platform/scroll/ScrollTypes.h"
37 #include "public/platform/WebFocusType.h" 38 #include "public/platform/WebFocusType.h"
38 #include "wtf/Forward.h" 39 #include "wtf/Forward.h"
39 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
40 #include "wtf/Vector.h" 41 #include "wtf/Vector.h"
41 42
42 namespace blink { 43 namespace blink {
43 44
44 class AXObject; 45 class AXObject;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 virtual void enumerateChosenDirectory(FileChooser*) = 0; 177 virtual void enumerateChosenDirectory(FileChooser*) = 0;
177 178
178 // Allows ports to customize the type of graphics layers created by this pag e. 179 // Allows ports to customize the type of graphics layers created by this pag e.
179 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return nullptr; } 180 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return nullptr; }
180 181
181 // Pass 0 as the GraphicsLayer to detach the root layer. 182 // Pass 0 as the GraphicsLayer to detach the root layer.
182 // This sets the graphics layer for the LocalFrame's WebWidget, if it has 183 // This sets the graphics layer for the LocalFrame's WebWidget, if it has
183 // one. Otherwise it sets it for the WebViewImpl. 184 // one. Otherwise it sets it for the WebViewImpl.
184 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0; 185 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0;
185 186
187 virtual void setCompositedDisplayList(PassOwnPtr<CompositedDisplayList>) { }
188 virtual CompositedDisplayList* compositedDisplayListForTesting() { return nu llptr; }
189
186 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 190 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
187 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 191 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
188 192
189 virtual void enterFullScreenForElement(Element*) { } 193 virtual void enterFullScreenForElement(Element*) { }
190 virtual void exitFullScreenForElement(Element*) { } 194 virtual void exitFullScreenForElement(Element*) { }
191 195
192 virtual void clearCompositedSelection() { } 196 virtual void clearCompositedSelection() { }
193 virtual void updateCompositedSelection(const CompositedSelection&) { } 197 virtual void updateCompositedSelection(const CompositedSelection&) { }
194 198
195 virtual void needTouchEvents(bool) = 0; 199 virtual void needTouchEvents(bool) = 0;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 virtual void printDelegate(LocalFrame*) = 0; 263 virtual void printDelegate(LocalFrame*) = 0;
260 264
261 private: 265 private:
262 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); 266 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message);
263 void setToolTip(const HitTestResult&); 267 void setToolTip(const HitTestResult&);
264 }; 268 };
265 269
266 } // namespace blink 270 } // namespace blink
267 271
268 #endif // ChromeClient_h 272 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutView.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698