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

Side by Side Diff: chrome/browser/gpu_process_host_ui_shim.cc

Issue 6722026: Refactor: Move app/gfx/gl ==> ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try removing a dep. Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gpu_data_manager.cc ('k') | chrome/browser/media_uitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // TODO(jam): move this file to src/content once we have an interface that the 1 // TODO(jam): move this file to src/content once we have an interface that the
2 // embedder provides. We can then use it to get the resource and resize the 2 // embedder provides. We can then use it to get the resource and resize the
3 // window. 3 // window.
4 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 4 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be 5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file. 6 // found in the LICENSE file.
7 7
8 #include "chrome/browser/gpu_process_host_ui_shim.h" 8 #include "chrome/browser/gpu_process_host_ui_shim.h"
9 9
10 #include "app/gfx/gl/gl_context.h"
11 #include "base/command_line.h" 10 #include "base/command_line.h"
12 #include "base/id_map.h" 11 #include "base/id_map.h"
13 #include "base/process_util.h" 12 #include "base/process_util.h"
14 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/gpu_data_manager.h" 14 #include "chrome/browser/gpu_data_manager.h"
16 #include "chrome/browser/io_thread.h" 15 #include "chrome/browser/io_thread.h"
17 #include "content/browser/browser_thread.h" 16 #include "content/browser/browser_thread.h"
18 #include "content/browser/gpu_process_host.h" 17 #include "content/browser/gpu_process_host.h"
19 #include "content/browser/renderer_host/render_process_host.h" 18 #include "content/browser/renderer_host/render_process_host.h"
20 #include "content/browser/renderer_host/render_view_host.h" 19 #include "content/browser/renderer_host/render_view_host.h"
21 #include "content/browser/renderer_host/render_widget_host_view.h" 20 #include "content/browser/renderer_host/render_widget_host_view.h"
22 #include "content/common/content_switches.h" 21 #include "content/common/content_switches.h"
23 #include "content/common/gpu_messages.h" 22 #include "content/common/gpu_messages.h"
24 #include "gpu/common/gpu_trace_event.h" 23 #include "gpu/common/gpu_trace_event.h"
24 #include "ui/gfx/gl/gl_context.h"
25 25
26 #if defined(OS_LINUX) 26 #if defined(OS_LINUX)
27 // These two #includes need to come after gpu_messages.h. 27 // These two #includes need to come after gpu_messages.h.
28 #include <gdk/gdkwindow.h> // NOLINT 28 #include <gdk/gdkwindow.h> // NOLINT
29 #include <gdk/gdkx.h> // NOLINT 29 #include <gdk/gdkx.h> // NOLINT
30 #include "ui/base/x/x11_util.h" 30 #include "ui/base/x/x11_util.h"
31 #include "ui/gfx/gtk_native_view_id_manager.h" 31 #include "ui/gfx/gtk_native_view_id_manager.h"
32 #include "ui/gfx/size.h" 32 #include "ui/gfx/size.h"
33 #endif // defined(OS_LINUX) 33 #endif // defined(OS_LINUX)
34 namespace { 34 namespace {
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 int render_view_id) { 664 int render_view_id) {
665 RenderViewHost* host = RenderViewHost::FromID(renderer_id, 665 RenderViewHost* host = RenderViewHost::FromID(renderer_id,
666 render_view_id); 666 render_view_id);
667 if (!host) { 667 if (!host) {
668 return; 668 return;
669 } 669 }
670 host->ScheduleComposite(); 670 host->ScheduleComposite();
671 } 671 }
672 672
673 #endif 673 #endif
OLDNEW
« no previous file with comments | « chrome/browser/gpu_data_manager.cc ('k') | chrome/browser/media_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698