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

Unified Diff: views/controls/scrollbar/native_scroll_bar_win.cc

Issue 6480001: Migrate Event API methods to Google Style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: views/controls/scrollbar/native_scroll_bar_win.cc
===================================================================
--- views/controls/scrollbar/native_scroll_bar_win.cc (revision 74326)
+++ views/controls/scrollbar/native_scroll_bar_win.cc (working copy)
@@ -230,7 +230,7 @@
if (!sb_container_.get())
return false;
int code = -1;
- switch (event.GetKeyCode()) {
+ switch (event.key_code()) {
case ui::VKEY_UP:
if (!native_scroll_bar_->IsHorizontal())
code = SB_LINEUP;
@@ -272,7 +272,7 @@
bool NativeScrollBarWin::OnMouseWheel(const MouseWheelEvent& e) {
if (!sb_container_.get())
return false;
- sb_container_->ScrollWithOffset(e.GetOffset());
+ sb_container_->ScrollWithOffset(e.offset());
return true;
}

Powered by Google App Engine
This is Rietveld 408576698