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

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

Issue 462353003: Cleanup namespace usage in Source/web[A-V]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor updates Created 6 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
« no previous file with comments | « Source/web/UserMediaClientImpl.cpp ('k') | Source/web/ViewportAnchor.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) 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 19 matching lines...) Expand all
30 #include "core/frame/FrameView.h" 30 #include "core/frame/FrameView.h"
31 #include "core/rendering/RenderObject.h" 31 #include "core/rendering/RenderObject.h"
32 #include "platform/HostWindow.h" 32 #include "platform/HostWindow.h"
33 #include "public/platform/WebRect.h" 33 #include "public/platform/WebRect.h"
34 #include "public/platform/WebString.h" 34 #include "public/platform/WebString.h"
35 #include "public/web/WebTextDirection.h" 35 #include "public/web/WebTextDirection.h"
36 #include "public/web/WebViewClient.h" 36 #include "public/web/WebViewClient.h"
37 #include "web/WebViewImpl.h" 37 #include "web/WebViewImpl.h"
38 #include "wtf/CurrentTime.h" 38 #include "wtf/CurrentTime.h"
39 39
40 using namespace blink;
41
42 namespace blink { 40 namespace blink {
43 41
44 ValidationMessageClientImpl::ValidationMessageClientImpl(WebViewImpl& webView) 42 ValidationMessageClientImpl::ValidationMessageClientImpl(WebViewImpl& webView)
45 : m_webView(webView) 43 : m_webView(webView)
46 , m_currentAnchor(nullptr) 44 , m_currentAnchor(nullptr)
47 , m_lastPageScaleFactor(1) 45 , m_lastPageScaleFactor(1)
48 , m_finishTime(0) 46 , m_finishTime(0)
49 , m_timer(this, &ValidationMessageClientImpl::checkAnchorStatus) 47 , m_timer(this, &ValidationMessageClientImpl::checkAnchorStatus)
50 { 48 {
51 } 49 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 if (m_currentAnchor) 143 if (m_currentAnchor)
146 hideValidationMessage(*m_currentAnchor); 144 hideValidationMessage(*m_currentAnchor);
147 } 145 }
148 146
149 void ValidationMessageClientImpl::trace(Visitor* visitor) 147 void ValidationMessageClientImpl::trace(Visitor* visitor)
150 { 148 {
151 visitor->trace(m_currentAnchor); 149 visitor->trace(m_currentAnchor);
152 ValidationMessageClient::trace(visitor); 150 ValidationMessageClient::trace(visitor);
153 } 151 }
154 152
155 } 153 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/UserMediaClientImpl.cpp ('k') | Source/web/ViewportAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698