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

Side by Side Diff: ppapi/cpp/dev/scrollbar_group_dev.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: Get rid of ScrollbarGroup's methods and the ResizeClient interface 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 #include "ppapi/cpp/dev/scrollbar_group_dev.h"
6
7 #include "ppapi/cpp/instance.h"
8 #include "ppapi/cpp/module.h"
9 #include "ppapi/cpp/module_impl.h"
10
11 namespace pp {
12
13 namespace {
14
15 template <> const char* interface_name<PPB_ScrollbarGroup_Dev>() {
16 return PPB_SCROLLBAR_GROUP_DEV_INTERFACE;
17 }
18
19 } // namespace
20
21 ScrollbarGroup_Dev::ScrollbarGroup_Dev(PP_Resource resource)
22 : Resource(resource) {
23 }
24
25 ScrollbarGroup_Dev::ScrollbarGroup_Dev(const Instance& instance) {
26 if (!has_interface<PPB_ScrollbarGroup_Dev>())
27 return;
28 PassRefFromConstructor(get_interface<PPB_ScrollbarGroup_Dev>()->Create(
29 instance.pp_instance()));
30 }
31
32 ScrollbarGroup_Dev::ScrollbarGroup_Dev(const ScrollbarGroup_Dev& other)
33 : Resource(other) {
34 }
35
36 } // namespace pp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698