blob: 03706e227a78613fb05ecc1d2f11a6c5115f8bf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/test/mock_render_process.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/surface/transport_dib.h"
namespace content {
MockRenderProcess::MockRenderProcess()
: enabled_bindings_(0) {
}
MockRenderProcess::~MockRenderProcess() {
}
void MockRenderProcess::AddBindings(int bindings) {
enabled_bindings_ |= bindings;
}
int MockRenderProcess::GetEnabledBindings() const {
return enabled_bindings_;
}
} // namespace content
|