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

Side by Side Diff: Source/web/tests/ImeOnFocusTest.cpp

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/tests/FrameTestHelpers.cpp ('k') | Source/web/tests/ListenerLeakTest.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/Element.h" 8 #include "core/dom/Element.h"
9 #include "core/dom/Node.h" 9 #include "core/dom/Node.h"
10 #include "core/html/HTMLElement.h" 10 #include "core/html/HTMLElement.h"
(...skipping 14 matching lines...) Expand all
25 namespace { 25 namespace {
26 26
27 class ImeRequestTrackingWebViewClient : public FrameTestHelpers::TestWebViewClie nt { 27 class ImeRequestTrackingWebViewClient : public FrameTestHelpers::TestWebViewClie nt {
28 public: 28 public:
29 ImeRequestTrackingWebViewClient() : 29 ImeRequestTrackingWebViewClient() :
30 m_imeRequestCount(0) 30 m_imeRequestCount(0)
31 { 31 {
32 } 32 }
33 33
34 // WebWidgetClient methods 34 // WebWidgetClient methods
35 virtual void showImeIfNeeded() OVERRIDE 35 virtual void showImeIfNeeded() override
36 { 36 {
37 ++m_imeRequestCount; 37 ++m_imeRequestCount;
38 } 38 }
39 39
40 // Local methds 40 // Local methds
41 void reset() 41 void reset()
42 { 42 {
43 m_imeRequestCount = 0; 43 m_imeRequestCount = 0;
44 } 44 }
45 45
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 { 149 {
150 runImeOnFocusTest("ime-on-focus-after-navigation-within-page.html", 1, IntPo int(50, 50), "input"); 150 runImeOnFocusTest("ime-on-focus-after-navigation-within-page.html", 1, IntPo int(50, 50), "input");
151 } 151 }
152 152
153 TEST_F(ImeOnFocusTest, AfterFrameLoadOnGesture) 153 TEST_F(ImeOnFocusTest, AfterFrameLoadOnGesture)
154 { 154 {
155 runImeOnFocusTest("ime-on-focus-after-frame-load-on-gesture.html", 1, IntPoi nt(50, 50), "input", "frame.html"); 155 runImeOnFocusTest("ime-on-focus-after-frame-load-on-gesture.html", 1, IntPoi nt(50, 50), "input", "frame.html");
156 } 156 }
157 157
158 } 158 }
OLDNEW
« no previous file with comments | « Source/web/tests/FrameTestHelpers.cpp ('k') | Source/web/tests/ListenerLeakTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698