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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.h

Issue 2603063002: Only clear tooltip message on a user scroll or compositor scroll. (Closed)
Patch Set: Fix PLSA logic to include frame scrolls Created 3 years, 11 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 // 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 #ifndef LayoutTestHelper_h 5 #ifndef LayoutTestHelper_h
6 #define LayoutTestHelper_h 6 #define LayoutTestHelper_h
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/frame/FrameHost.h" 9 #include "core/frame/FrameHost.h"
10 #include "core/frame/FrameView.h" 10 #include "core/frame/FrameView.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 Member<LocalFrame> m_parent; 66 Member<LocalFrame> m_parent;
67 }; 67 };
68 68
69 class RenderingTest : public testing::Test { 69 class RenderingTest : public testing::Test {
70 USING_FAST_MALLOC(RenderingTest); 70 USING_FAST_MALLOC(RenderingTest);
71 71
72 public: 72 public:
73 virtual FrameSettingOverrideFunction settingOverrider() const { 73 virtual FrameSettingOverrideFunction settingOverrider() const {
74 return nullptr; 74 return nullptr;
75 } 75 }
76 virtual ChromeClient& chromeClient() const;
76 77
77 RenderingTest(FrameLoaderClient* = nullptr); 78 RenderingTest(FrameLoaderClient* = nullptr);
78 79
79 protected: 80 protected:
80 void SetUp() override; 81 void SetUp() override;
81 void TearDown() override; 82 void TearDown() override;
82 83
83 Document& document() const { return m_pageHolder->document(); } 84 Document& document() const { return m_pageHolder->document(); }
84 LayoutView& layoutView() const { 85 LayoutView& layoutView() const {
85 return *toLayoutView( 86 return *toLayoutView(
(...skipping 26 matching lines...) Expand all
112 } 113 }
113 114
114 private: 115 private:
115 Persistent<FrameLoaderClient> m_frameLoaderClient; 116 Persistent<FrameLoaderClient> m_frameLoaderClient;
116 std::unique_ptr<DummyPageHolder> m_pageHolder; 117 std::unique_ptr<DummyPageHolder> m_pageHolder;
117 }; 118 };
118 119
119 } // namespace blink 120 } // namespace blink
120 121
121 #endif // LayoutTestHelper_h 122 #endif // LayoutTestHelper_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameViewTest.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698