| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/renderer/mock_render_process.h" | 5 #include "chrome/renderer/mock_render_process.h" |
| 6 | 6 |
| 7 #include "app/surface/transport_dib.h" | 7 #include "app/surface/transport_dib.h" |
| 8 #include "gfx/rect.h" | 8 #include "ui/gfx/rect.h" |
| 9 | 9 |
| 10 MockRenderProcess::MockRenderProcess() | 10 MockRenderProcess::MockRenderProcess() |
| 11 : transport_dib_next_sequence_number_(0) { | 11 : transport_dib_next_sequence_number_(0) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 MockRenderProcess::~MockRenderProcess() { | 14 MockRenderProcess::~MockRenderProcess() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 skia::PlatformCanvas* MockRenderProcess::GetDrawingCanvas( | 17 skia::PlatformCanvas* MockRenderProcess::GetDrawingCanvas( |
| 18 TransportDIB** memory, | 18 TransportDIB** memory, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 bool MockRenderProcess::UseInProcessPlugins() const { | 36 bool MockRenderProcess::UseInProcessPlugins() const { |
| 37 return true; | 37 return true; |
| 38 } | 38 } |
| 39 | 39 |
| 40 bool MockRenderProcess::HasInitializedMediaLibrary() const { | 40 bool MockRenderProcess::HasInitializedMediaLibrary() const { |
| 41 return false; | 41 return false; |
| 42 } | 42 } |
| 43 | 43 |
| 44 | 44 |
| OLD | NEW |