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

Side by Side Diff: ppapi/cpp/dev/widget_client_dev.h

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/cpp/dev/scrollbar_dev.cc ('k') | ppapi/cpp/dev/widget_client_dev.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 PPAPI_CPP_DEV_WIDGET_CLIENT_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_WIDGET_CLIENT_DEV_H_
6 #define PPAPI_CPP_DEV_WIDGET_CLIENT_DEV_H_ 6 #define PPAPI_CPP_DEV_WIDGET_CLIENT_DEV_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 9
10 namespace pp { 10 namespace pp {
(...skipping 17 matching lines...) Expand all
28 */ 28 */
29 virtual void InvalidateWidget(Widget_Dev widget, const Rect& dirty_rect) = 0; 29 virtual void InvalidateWidget(Widget_Dev widget, const Rect& dirty_rect) = 0;
30 30
31 /** 31 /**
32 * Notification that the given scrollbar should change value. This is the 32 * Notification that the given scrollbar should change value. This is the
33 * implementation for PPP_Scrollbar_Dev. 33 * implementation for PPP_Scrollbar_Dev.
34 */ 34 */
35 virtual void ScrollbarValueChanged(Scrollbar_Dev scrollbar, 35 virtual void ScrollbarValueChanged(Scrollbar_Dev scrollbar,
36 uint32_t value) = 0; 36 uint32_t value) = 0;
37 37
38 /**
39 * Notification that the given scrollbar's overlay type has changed. This is
40 * the implementation for PPP_Scrollbar_Dev.
41 */
42 virtual void ScrollbarOverlayChanged(Scrollbar_Dev scrollbar,
43 bool type) = 0;
44
38 private: 45 private:
39 Instance* associated_instance_; 46 Instance* associated_instance_;
40 }; 47 };
41 48
42 } // namespace pp 49 } // namespace pp
43 50
44 #endif // PPAPI_CPP_DEV_WIDGET_CLIENT_DEV_H_ 51 #endif // PPAPI_CPP_DEV_WIDGET_CLIENT_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/scrollbar_dev.cc ('k') | ppapi/cpp/dev/widget_client_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698