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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_views.h

Issue 7206055: Add an option to run Chrome in the views desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_widget_host_view_views.h
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_views.h (revision 89890)
+++ chrome/browser/renderer_host/render_widget_host_view_views.h (working copy)
@@ -21,9 +21,11 @@
#include "views/view.h"
#include "webkit/glue/webcursor.h"
+#if defined(TOUCH_UI)
namespace ui {
enum TouchStatus;
}
+#endif
class RenderWidgetHost;
struct NativeWebKeyboardEvent;
@@ -80,12 +82,20 @@
virtual void ShowingContextMenu(bool showing) OVERRIDE;
virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
virtual void SetBackground(const SkBitmap& background) OVERRIDE;
+#if defined(TOOLKIT_USES_GTK)
virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
+#endif
virtual void SetVisuallyDeemphasized(const SkColor* color,
bool animate) OVERRIDE;
virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE;
+#if defined(TOOLKIT_USES_GTK)
virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE;
+#endif
+#if defined(OS_WIN)
+ virtual void WillWmDestroy() OVERRIDE;
+ virtual void ShowCompositorHostWindow(bool show) OVERRIDE;
+#endif
virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE;
// On some systems, there can be two native views, where an outer native view
@@ -102,7 +112,9 @@
virtual void OnMouseMoved(const views::MouseEvent& event) OVERRIDE;
virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE;
virtual void OnMouseExited(const views::MouseEvent& event) OVERRIDE;
+#if defined(TOUCH_UI)
virtual ui::TouchStatus OnTouchEvent(const views::TouchEvent& event) OVERRIDE;
+#endif
virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE;
virtual bool OnKeyReleased(const views::KeyEvent& event) OVERRIDE;
virtual bool OnMouseWheel(const views::MouseWheelEvent& event) OVERRIDE;
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698