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

Side by Side Diff: Source/WebKit/chromium/src/PinchViewports.h

Issue 18473002: Add an API to report debugName in GraphicsLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clear setName Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 void setViewportSize(const WebCore::IntSize&); 64 void setViewportSize(const WebCore::IntSize&);
65 65
66 void registerViewportLayersWithTreeView(WebLayerTreeView*) const; 66 void registerViewportLayersWithTreeView(WebLayerTreeView*) const;
67 void clearViewportLayersForTreeView(WebLayerTreeView*) const; 67 void clearViewportLayersForTreeView(WebLayerTreeView*) const;
68 68
69 // GraphicsLayerClient implementation. 69 // GraphicsLayerClient implementation.
70 virtual void notifyAnimationStarted(const WebCore::GraphicsLayer*, double ti me) OVERRIDE; 70 virtual void notifyAnimationStarted(const WebCore::GraphicsLayer*, double ti me) OVERRIDE;
71 virtual void paintContents(const WebCore::GraphicsLayer*, WebCore::GraphicsC ontext&, WebCore::GraphicsLayerPaintingPhase, const WebCore::IntRect& inClip) OV ERRIDE; 71 virtual void paintContents(const WebCore::GraphicsLayer*, WebCore::GraphicsC ontext&, WebCore::GraphicsLayerPaintingPhase, const WebCore::IntRect& inClip) OV ERRIDE;
72 72
73 virtual String debugName(const WebCore::GraphicsLayer*) OVERRIDE;
74
73 private: 75 private:
74 explicit PinchViewports(WebViewImpl* owner); 76 explicit PinchViewports(WebViewImpl* owner);
75 77
76 void setupScrollbar(WebKit::WebScrollbar::Orientation); 78 void setupScrollbar(WebKit::WebScrollbar::Orientation);
77 79
78 WebViewImpl* m_owner; 80 WebViewImpl* m_owner;
79 OwnPtr<WebCore::GraphicsLayer> m_innerViewportClipLayer; 81 OwnPtr<WebCore::GraphicsLayer> m_innerViewportClipLayer;
80 OwnPtr<WebCore::GraphicsLayer> m_pageScaleLayer; 82 OwnPtr<WebCore::GraphicsLayer> m_pageScaleLayer;
81 OwnPtr<WebCore::GraphicsLayer> m_innerViewportScrollLayer; 83 OwnPtr<WebCore::GraphicsLayer> m_innerViewportScrollLayer;
82 OwnPtr<WebCore::GraphicsLayer> m_overlayScrollbarHorizontal; 84 OwnPtr<WebCore::GraphicsLayer> m_overlayScrollbarHorizontal;
83 OwnPtr<WebCore::GraphicsLayer> m_overlayScrollbarVertical; 85 OwnPtr<WebCore::GraphicsLayer> m_overlayScrollbarVertical;
84 }; 86 };
85 87
86 } // namespace WebKit 88 } // namespace WebKit
87 89
88 #endif // PinchViewports_h 90 #endif // PinchViewports_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698