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. 4 5 #include "content/test/mock_render_process.h" 6 7 #include "ui/gfx/rect.h" 8 #include "ui/surface/transport_dib.h" 9 10 namespace content { 11 MockRenderProcess()12MockRenderProcess::MockRenderProcess() 13 : enabled_bindings_(0) { 14 } 15 ~MockRenderProcess()16MockRenderProcess::~MockRenderProcess() { 17 } 18 AddBindings(int bindings)19void MockRenderProcess::AddBindings(int bindings) { 20 enabled_bindings_ |= bindings; 21 } 22 GetEnabledBindings() const23int MockRenderProcess::GetEnabledBindings() const { 24 return enabled_bindings_; 25 } 26 27 } // namespace content 28