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

Side by Side Diff: Source/web/WebFrameWidgetImpl.h

Issue 1102933002: [DevTools] Use WebLayerTreeView::layerTreeId() for instrumentation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.cpp ('k') | Source/web/WebFrameWidgetImpl.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void sendResizeEventAndRepaint(); 133 void sendResizeEventAndRepaint();
134 134
135 void updateMainFrameLayoutSize(); 135 void updateMainFrameLayoutSize();
136 136
137 void setIgnoreInputEvents(bool newValue); 137 void setIgnoreInputEvents(bool newValue);
138 138
139 // Returns the page object associated with this widget. This may be null whe n 139 // Returns the page object associated with this widget. This may be null whe n
140 // the page is shutting down, but will be valid at all other times. 140 // the page is shutting down, but will be valid at all other times.
141 Page* page() const { return m_page; } 141 Page* page() const { return m_page; }
142 142
143 WebLayerTreeView* layerTreeView() const { return m_layerTreeView; }
144
143 // Returns true if the event leads to scrolling. 145 // Returns true if the event leads to scrolling.
144 static bool mapKeyCodeForScroll( 146 static bool mapKeyCodeForScroll(
145 int keyCode, 147 int keyCode,
146 ScrollDirection*, 148 ScrollDirection*,
147 ScrollGranularity*); 149 ScrollGranularity*);
148 150
149 private: 151 private:
150 friend class WebFrameWidget; // For WebFrameWidget::create. 152 friend class WebFrameWidget; // For WebFrameWidget::create.
151 friend class WTF::RefCounted<WebFrameWidgetImpl>; 153 friend class WTF::RefCounted<WebFrameWidgetImpl>;
152 154
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 bool m_suppressNextKeypressEvent; 205 bool m_suppressNextKeypressEvent;
204 206
205 bool m_ignoreInputEvents; 207 bool m_ignoreInputEvents;
206 208
207 static const WebInputEvent* m_currentInputEvent; 209 static const WebInputEvent* m_currentInputEvent;
208 }; 210 };
209 211
210 } // namespace blink 212 } // namespace blink
211 213
212 #endif 214 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.cpp ('k') | Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698