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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2043903002: Move didChangeCursor calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed todo Created 4 years, 5 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 | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/web/ChromeClientImpl.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) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 3131 matching lines...) Expand 10 before | Expand all | Expand 10 after
3142 if (frame().document()) 3142 if (frame().document())
3143 return frame().document()->existingAXObjectCache(); 3143 return frame().document()->existingAXObjectCache();
3144 return nullptr; 3144 return nullptr;
3145 } 3145 }
3146 3146
3147 void FrameView::setCursor(const Cursor& cursor) 3147 void FrameView::setCursor(const Cursor& cursor)
3148 { 3148 {
3149 Page* page = frame().page(); 3149 Page* page = frame().page();
3150 if (!page || !page->settings().deviceSupportsMouse()) 3150 if (!page || !page->settings().deviceSupportsMouse())
3151 return; 3151 return;
3152 page->chromeClient().setCursor(cursor, m_frame->localFrameRoot()); 3152 page->chromeClient().setCursor(cursor, m_frame);
3153 } 3153 }
3154 3154
3155 void FrameView::frameRectsChanged() 3155 void FrameView::frameRectsChanged()
3156 { 3156 {
3157 TRACE_EVENT0("blink", "FrameView::frameRectsChanged"); 3157 TRACE_EVENT0("blink", "FrameView::frameRectsChanged");
3158 if (layoutSizeFixedToFrameSize()) 3158 if (layoutSizeFixedToFrameSize())
3159 setLayoutSizeInternal(frameRect().size()); 3159 setLayoutSizeInternal(frameRect().size());
3160 3160
3161 setNeedsUpdateViewportIntersection(); 3161 setNeedsUpdateViewportIntersection();
3162 for (const auto& child : m_children) 3162 for (const auto& child : m_children)
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
4258 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4258 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4259 } 4259 }
4260 4260
4261 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const 4261 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const
4262 { 4262 {
4263 ASSERT(!layoutViewItem().isNull()); 4263 ASSERT(!layoutViewItem().isNull());
4264 return *layoutView(); 4264 return *layoutView();
4265 } 4265 }
4266 4266
4267 } // namespace blink 4267 } // namespace blink
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698