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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/ChromeClient.cpp
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.cpp b/third_party/WebKit/Source/core/page/ChromeClient.cpp
index e1bc2306f4a1029dc9887b4374e5f40d31e65361..05238fe1cbbfb262c462aad2cbaf99cee8da6f50 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.cpp
+++ b/third_party/WebKit/Source/core/page/ChromeClient.cpp
@@ -180,7 +180,7 @@ void ChromeClient::setToolTip(LocalFrame& frame, const HitTestResult& result) {
// implementations don't use text direction information for
// ChromeClient::setToolTip. We'll work on tooltip text
// direction during bidi cleanup in form inputs.
- toolTipDirection = LTR;
+ toolTipDirection = TextDirection::Ltr;
}
}
}
@@ -196,7 +196,7 @@ void ChromeClient::setToolTip(LocalFrame& frame, const HitTestResult& result) {
void ChromeClient::clearToolTip(LocalFrame& frame) {
// Do not check m_lastToolTip* and do not update them intentionally.
// We don't want to show tooltips with same content after clearToolTip().
- setToolTip(frame, String(), LTR);
+ setToolTip(frame, String(), TextDirection::Ltr);
}
bool ChromeClient::print(LocalFrame* frame) {

Powered by Google App Engine
This is Rietveld 408576698