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

Side by Side Diff: content/public/browser/render_widget_host.h

Issue 10351002: ui: Move surface/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gpu DEPS Created 8 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 unified diff | Download patch | Annotate | Revision Log
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 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "content/public/browser/keyboard_listener.h" 11 #include "content/public/browser/keyboard_listener.h"
12 #include "content/public/browser/native_web_keyboard_event.h" 12 #include "content/public/browser/native_web_keyboard_event.h"
13 #include "ipc/ipc_channel.h" 13 #include "ipc/ipc_channel.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
16 #include "ui/gfx/size.h" 16 #include "ui/gfx/size.h"
17 #include "ui/gfx/surface/transport_dib.h" 17 #include "ui/surface/transport_dib.h"
18 18
19 #if defined(TOOLKIT_GTK) 19 #if defined(TOOLKIT_GTK)
20 #include "ui/base/x/x11_util.h" 20 #include "ui/base/x/x11_util.h"
21 #elif defined(OS_MACOSX) 21 #elif defined(OS_MACOSX)
22 #include "skia/ext/platform_device.h" 22 #include "skia/ext/platform_device.h"
23 #endif 23 #endif
24 24
25 namespace gfx { 25 namespace gfx {
26 class Rect; 26 class Rect;
27 } 27 }
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // within content/. This method is necessary because 285 // within content/. This method is necessary because
286 // RenderWidgetHost is the root of a diamond inheritance pattern, so 286 // RenderWidgetHost is the root of a diamond inheritance pattern, so
287 // subclasses inherit it virtually, which removes our ability to 287 // subclasses inherit it virtually, which removes our ability to
288 // static_cast to the subclass. 288 // static_cast to the subclass.
289 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0; 289 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0;
290 }; 290 };
291 291
292 } // namespace content 292 } // namespace content
293 293
294 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 294 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/common/common_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698