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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_mock.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder_mock.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
index ba4dc7fe0a8316be0ef186876dba3352574fe8d7..dd451591214565d0fb043a07c1548fafd644fa47 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
@@ -19,7 +19,7 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "ui/gfx/geometry/size.h"
-namespace gfx {
+namespace gl {
class GLContext;
class GLSurface;
}
@@ -45,14 +45,14 @@ class MockGLES2Decoder : public GLES2Decoder {
int* entries_processed);
MOCK_METHOD6(Initialize,
- bool(const scoped_refptr<gfx::GLSurface>& surface,
- const scoped_refptr<gfx::GLContext>& context,
+ bool(const scoped_refptr<gl::GLSurface>& surface,
+ const scoped_refptr<gl::GLContext>& context,
bool offscreen,
const gfx::Size& size,
const DisallowedFeatures& disallowed_features,
const ContextCreationAttribHelper& attrib_helper));
MOCK_METHOD1(Destroy, void(bool have_context));
- MOCK_METHOD1(SetSurface, void(const scoped_refptr<gfx::GLSurface>& surface));
+ MOCK_METHOD1(SetSurface, void(const scoped_refptr<gl::GLSurface>& surface));
MOCK_METHOD0(ReleaseSurface, void());
MOCK_METHOD1(TakeFrontBuffer, void(const Mailbox& mailbox));
MOCK_METHOD2(ReturnFrontBuffer, void(const Mailbox& mailbox, bool is_lost));
@@ -62,8 +62,8 @@ class MockGLES2Decoder : public GLES2Decoder {
MOCK_METHOD0(MakeCurrent, bool());
MOCK_METHOD1(GetServiceIdForTesting, uint32_t(uint32_t client_id));
MOCK_METHOD0(GetGLES2Util, GLES2Util*());
- MOCK_METHOD0(GetGLSurface, gfx::GLSurface*());
- MOCK_METHOD0(GetGLContext, gfx::GLContext*());
+ MOCK_METHOD0(GetGLSurface, gl::GLSurface*());
+ MOCK_METHOD0(GetGLContext, gl::GLContext*());
MOCK_METHOD0(GetContextGroup, ContextGroup*());
MOCK_METHOD0(GetContextState, const ContextState*());
MOCK_METHOD0(GetCapabilities, Capabilities());
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698