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

Side by Side Diff: third_party/WebKit/Source/core/editing/FrameCaret.cpp

Issue 1994883002: [Editing][CodeHealth] Extract new FrameCaret class from FrameSelection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 7 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
yosin_UTC9 2016/05/19 08:32:36 Copyright text should be taken from FrameSelection
yoichio 2016/05/20 05:12:12 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "core/editing/FrameCaret.h"
6
7 namespace blink {
8
9 FrameCaret::FrameCaret(LocalFrame* frame)
10 : m_frame(frame)
11 , m_previousCaretVisibility(CaretVisibility::Hidden)
12 , m_caretBlinkTimer(this, &FrameCaret::caretBlinkTimerFired)
13 , m_caretRectDirty(true)
14 , m_shouldPaintCaret(true)
15 , m_isCaretBlinkingSuspended(false)
16 {
17 DCHECK(frame);
18 }
19
20 DEFINE_TRACE(FrameCaret)
21 {
22 visitor->trace(m_frame);
23 visitor->trace(m_previousCaretNode);
24 CaretBase::trace(visitor);
25 }
26
27 } // nemaspace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698