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

Side by Side Diff: ppapi/tests/test_scrollbar.cc

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and take out WebKit changes Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/tests/test_scrollbar.h ('k') | ppapi/thunk/ppb_scrollbar_api.h » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "ppapi/tests/test_scrollbar.h" 5 #include "ppapi/tests/test_scrollbar.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #include "ppapi/c/dev/ppb_testing_dev.h" 9 #include "ppapi/c/dev/ppb_testing_dev.h"
10 #include "ppapi/c/pp_input_event.h" 10 #include "ppapi/c/pp_input_event.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 void TestScrollbar::InvalidateWidget(pp::Widget_Dev widget, 54 void TestScrollbar::InvalidateWidget(pp::Widget_Dev widget,
55 const pp::Rect& dirty_rect) { 55 const pp::Rect& dirty_rect) {
56 } 56 }
57 57
58 void TestScrollbar::ScrollbarValueChanged(pp::Scrollbar_Dev scrollbar, 58 void TestScrollbar::ScrollbarValueChanged(pp::Scrollbar_Dev scrollbar,
59 uint32_t value) { 59 uint32_t value) {
60 if (scrollbar == scrollbar_) 60 if (scrollbar == scrollbar_)
61 scrollbar_value_changed_ = true; 61 scrollbar_value_changed_ = true;
62 } 62 }
63
64 void TestScrollbar::ScrollbarOverlayChanged(pp::Scrollbar_Dev scrollbar,
65 bool type) {
66 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_scrollbar.h ('k') | ppapi/thunk/ppb_scrollbar_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698