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

Side by Side Diff: content/test/mock_render_process.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 "content/test/mock_render_process.h" 5 #include "content/test/mock_render_process.h"
6 6
7 #include "ui/gfx/rect.h" 7 #include "ui/gfx/geometry/rect.h"
8 #include "ui/surface/transport_dib.h" 8 #include "ui/surface/transport_dib.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 MockRenderProcess::MockRenderProcess() 12 MockRenderProcess::MockRenderProcess()
13 : enabled_bindings_(0) { 13 : enabled_bindings_(0) {
14 } 14 }
15 15
16 MockRenderProcess::~MockRenderProcess() { 16 MockRenderProcess::~MockRenderProcess() {
17 } 17 }
18 18
19 void MockRenderProcess::AddBindings(int bindings) { 19 void MockRenderProcess::AddBindings(int bindings) {
20 enabled_bindings_ |= bindings; 20 enabled_bindings_ |= bindings;
21 } 21 }
22 22
23 int MockRenderProcess::GetEnabledBindings() const { 23 int MockRenderProcess::GetEnabledBindings() const {
24 return enabled_bindings_; 24 return enabled_bindings_;
25 } 25 }
26 26
27 } // namespace content 27 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/layout_test/webkit_test_runner.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698