Infobar material design refresh: bg color
[chromium-blink-merge.git] / content / test / mock_render_process.cc
blob03706e227a78613fb05ecc1d2f11a6c5115f8bf5
1 // Copyright (c) 2012 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.
5 #include "content/test/mock_render_process.h"
7 #include "ui/gfx/geometry/rect.h"
8 #include "ui/surface/transport_dib.h"
10 namespace content {
12 MockRenderProcess::MockRenderProcess()
13 : enabled_bindings_(0) {
16 MockRenderProcess::~MockRenderProcess() {
19 void MockRenderProcess::AddBindings(int bindings) {
20 enabled_bindings_ |= bindings;
23 int MockRenderProcess::GetEnabledBindings() const {
24 return enabled_bindings_;
27 } // namespace content