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

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

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 9 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/web/WebInputEventConversion.cpp ('k') | Source/web/WebLocalFrameImpl.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 * 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // Otherwise creates it and then returns. 311 // Otherwise creates it and then returns.
312 TextFinder& ensureTextFinder(); 312 TextFinder& ensureTextFinder();
313 313
314 // Invalidates vertical scrollbar only. 314 // Invalidates vertical scrollbar only.
315 void invalidateScrollbar() const; 315 void invalidateScrollbar() const;
316 316
317 // Invalidates both content area and the scrollbar. 317 // Invalidates both content area and the scrollbar.
318 void invalidateAll() const; 318 void invalidateAll() const;
319 319
320 // Returns a hit-tested VisiblePosition for the given point 320 // Returns a hit-tested VisiblePosition for the given point
321 VisiblePosition visiblePositionForWindowPoint(const WebPoint&); 321 VisiblePosition visiblePositionForViewportPoint(const WebPoint&);
322 322
323 void setFrameWidget(WebFrameWidgetImpl*); 323 void setFrameWidget(WebFrameWidgetImpl*);
324 WebFrameWidgetImpl* frameWidget() const; 324 WebFrameWidgetImpl* frameWidget() const;
325 325
326 // DevTools front-end bindings. 326 // DevTools front-end bindings.
327 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF rontend = frontend; } 327 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF rontend = frontend; }
328 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend; } 328 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend; }
329 329
330 #if ENABLE(OILPAN) 330 #if ENABLE(OILPAN)
331 DECLARE_TRACE(); 331 DECLARE_TRACE();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 GC_PLUGIN_IGNORE("340522") 385 GC_PLUGIN_IGNORE("340522")
386 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 386 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
387 #endif 387 #endif
388 }; 388 };
389 389
390 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 390 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
391 391
392 } // namespace blink 392 } // namespace blink
393 393
394 #endif 394 #endif
OLDNEW
« no previous file with comments | « Source/web/WebInputEventConversion.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698