The Blink Rename
Identifiers in Blink now largely follow the standard Chrome style
conventions, with several additional rules:
- web-exposed methods remain namedLikeThis() for consistency with
Javascript bindings.
- method names are never named_in_hacker_case()
- enumerator names are kNamedLikeThis.
This commit was generated by the following process.
1. Running //tools/clang/rewrite_to_chrome_style across the codebase.
2. Apply manual fixes.
3. git cl format
BUG=578344
[email protected]
[email protected]
Change-Id: Ide5d397d3c6a5d973fd0a6f81dccf82561d4bb71
Reviewed-on: https://chromium-review.googlesource.com/472192
Reviewed-by: Blink Reformat <[email protected]>
Cr-Commit-Position: refs/heads/master@{#463139}
diff --git a/chrome/browser/devtools/devtools_sanity_browsertest.cc b/chrome/browser/devtools/devtools_sanity_browsertest.cc
index 8eb6afb1..e396c4c3 100644
--- a/chrome/browser/devtools/devtools_sanity_browsertest.cc
+++ b/chrome/browser/devtools/devtools_sanity_browsertest.cc
@@ -1961,13 +1961,13 @@
DispatchAndWait("startTimeline");
for (int i = 0; i < 3; ++i) {
- SimulateMouseEvent(web_contents, blink::WebInputEvent::MouseMove,
+ SimulateMouseEvent(web_contents, blink::WebInputEvent::kMouseMove,
gfx::Point(30, 60));
DispatchInPageAndWait("waitForEvent", "mousemove");
}
SimulateMouseClickAt(web_contents, 0,
- blink::WebPointerProperties::Button::Left,
+ blink::WebPointerProperties::Button::kLeft,
gfx::Point(30, 60));
DispatchInPageAndWait("waitForEvent", "click");