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

Side by Side Diff: Source/web/InspectorOverlayImpl.cpp

Issue 1310533007: Devtools[LayoutEditor]: show resizer cursor over anchors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 DEFINE_INLINE_VIRTUAL_TRACE() 126 DEFINE_INLINE_VIRTUAL_TRACE()
127 { 127 {
128 visitor->trace(m_client); 128 visitor->trace(m_client);
129 visitor->trace(m_overlay); 129 visitor->trace(m_overlay);
130 EmptyChromeClient::trace(visitor); 130 EmptyChromeClient::trace(visitor);
131 } 131 }
132 132
133 void setCursor(const Cursor& cursor) override 133 void setCursor(const Cursor& cursor) override
134 { 134 {
135 m_client->setCursor(cursor); 135 toChromeClientImpl(m_client)->setCursorOverride(cursor);
136 } 136 }
137 137
138 void setToolTip(const String& tooltip, TextDirection direction) override 138 void setToolTip(const String& tooltip, TextDirection direction) override
139 { 139 {
140 m_client->setToolTip(tooltip, direction); 140 m_client->setToolTip(tooltip, direction);
141 } 141 }
142 142
143 void invalidateRect(const IntRect&) override 143 void invalidateRect(const IntRect&) override
144 { 144 {
145 m_overlay->invalidate(); 145 m_overlay->invalidate();
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 --m_suspendCount; 533 --m_suspendCount;
534 } 534 }
535 535
536 void InspectorOverlayImpl::setLayoutEditor(PassOwnPtrWillBeRawPtr<LayoutEditor> layoutEditor) 536 void InspectorOverlayImpl::setLayoutEditor(PassOwnPtrWillBeRawPtr<LayoutEditor> layoutEditor)
537 { 537 {
538 m_layoutEditor = layoutEditor; 538 m_layoutEditor = layoutEditor;
539 m_overlayHost->setLayoutEditorListener(m_layoutEditor.get()); 539 m_overlayHost->setLayoutEditorListener(m_layoutEditor.get());
540 } 540 }
541 541
542 } // namespace blink 542 } // namespace blink
OLDNEW
« Source/web/ChromeClientImpl.cpp ('K') | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698