~abreu-alexandre/oxide/add-ua-to-downloadrequested

« back to all changes in this revision

Viewing changes to shared/ozone/oxide_ozone_surface_factory.cc

  • Committer: Chris Coulson
  • Date: 2014-07-30 10:35:42 UTC
  • mfrom: (640.1.29 canary)
  • Revision ID: chris.coulson@canonical.com-20140730103542-lzdy0xv7iekidxr3
Bump Chromium rev to 38.0.2107.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
} // namespace
48
48
 
49
 
ui::SurfaceFactoryOzone::HardwareState
50
 
OzoneSurfaceFactory::InitializeHardware() {
51
 
  return ui::SurfaceFactoryOzone::INITIALIZED;
52
 
}
53
 
 
54
 
void OzoneSurfaceFactory::ShutdownHardware() {}
55
 
 
56
49
intptr_t OzoneSurfaceFactory::GetNativeDisplay() {
57
50
  return BrowserProcessMain::instance()->GetNativeDisplay();
58
51
}
59
52
 
60
 
gfx::AcceleratedWidget OzoneSurfaceFactory::GetAcceleratedWidget() {
61
 
  NOTREACHED();
62
 
  return 0;
63
 
}
64
 
 
65
53
bool OzoneSurfaceFactory::LoadEGLGLES2Bindings(
66
54
    AddGLLibraryCallback add_gl_library,
67
55
    SetGLGetProcAddressProcCallback set_gl_get_proc_address) {