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

Side by Side Diff: third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 29 matching lines...) Expand all
40 40
41 ValidationMessageClientImpl::ValidationMessageClientImpl(WebViewImpl& webView) 41 ValidationMessageClientImpl::ValidationMessageClientImpl(WebViewImpl& webView)
42 : m_webView(webView) 42 : m_webView(webView)
43 , m_currentAnchor(nullptr) 43 , m_currentAnchor(nullptr)
44 , m_lastPageScaleFactor(1) 44 , m_lastPageScaleFactor(1)
45 , m_finishTime(0) 45 , m_finishTime(0)
46 , m_timer(this, &ValidationMessageClientImpl::checkAnchorStatus) 46 , m_timer(this, &ValidationMessageClientImpl::checkAnchorStatus)
47 { 47 {
48 } 48 }
49 49
50 RawPtr<ValidationMessageClientImpl> ValidationMessageClientImpl::create(WebViewI mpl& webView) 50 ValidationMessageClientImpl* ValidationMessageClientImpl::create(WebViewImpl& we bView)
51 { 51 {
52 return new ValidationMessageClientImpl(webView); 52 return new ValidationMessageClientImpl(webView);
53 } 53 }
54 54
55 ValidationMessageClientImpl::~ValidationMessageClientImpl() 55 ValidationMessageClientImpl::~ValidationMessageClientImpl()
56 { 56 {
57 } 57 }
58 58
59 FrameView* ValidationMessageClientImpl::currentView() 59 FrameView* ValidationMessageClientImpl::currentView()
60 { 60 {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 hideValidationMessage(*m_currentAnchor); 146 hideValidationMessage(*m_currentAnchor);
147 } 147 }
148 148
149 DEFINE_TRACE(ValidationMessageClientImpl) 149 DEFINE_TRACE(ValidationMessageClientImpl)
150 { 150 {
151 visitor->trace(m_currentAnchor); 151 visitor->trace(m_currentAnchor);
152 ValidationMessageClient::trace(visitor); 152 ValidationMessageClient::trace(visitor);
153 } 153 }
154 154
155 } // namespace blink 155 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ValidationMessageClientImpl.h ('k') | third_party/WebKit/Source/web/WebDOMEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698