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

Side by Side Diff: ppapi/cpp/dev/resize_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: Redo by adding ScrollbarGroup to pepper and WebKit 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_DEV_RESIZE_CLIENT_DEV_H_
6 #define PPAPI_CPP_DEV_RESIZE_CLIENT_DEV_H_
7
8 #include "ppapi/c/pp_stdint.h"
9
10 namespace pp {
11
12 class Instance;
13
14 // This class provides a C++ interface for callbacks to know when a full-frame
15 // plugin starts and stops resizing. Only plugins that use the ScrollGroup API
16 // need to listen to this.
17 class ResizeClient_Dev {
18 public:
19 ResizeClient_Dev(Instance* instance);
20 virtual ~ResizeClient_Dev();
21
22 /**
23 * Notification that the resizing for this full frame plugin has started.
24 */
25 virtual void WillStartLiveResize() = 0;
26
27 /**
28 * Notification that the resizing for this full frame plugin has stopped.
29 */
30 virtual void WillEndLiveResize() = 0;
31
32 private:
33 Instance* associated_instance_;
34 };
35
36 } // namespace pp
37
38 #endif // PPAPI_CPP_DEV_RESIZE_CLIENT_DEV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698