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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 12321005: Enable touch based selection and editing for webpages behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 10 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class CONTENT_EXPORT RenderWidgetHostViewBase 42 class CONTENT_EXPORT RenderWidgetHostViewBase
43 : public RenderWidgetHostViewPort { 43 : public RenderWidgetHostViewPort {
44 public: 44 public:
45 virtual ~RenderWidgetHostViewBase(); 45 virtual ~RenderWidgetHostViewBase();
46 46
47 // RenderWidgetHostViewPort implementation. 47 // RenderWidgetHostViewPort implementation.
48 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 48 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
49 virtual void SelectionChanged(const string16& text, 49 virtual void SelectionChanged(const string16& text,
50 size_t offset, 50 size_t offset,
51 const ui::Range& range) OVERRIDE; 51 const ui::Range& range) OVERRIDE;
52 virtual void TouchEditingHandlesVisibilityChanged(bool visible) OVERRIDE;
52 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 53 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
53 virtual const SkBitmap& GetBackground() OVERRIDE; 54 virtual const SkBitmap& GetBackground() OVERRIDE;
54 virtual bool IsShowingContextMenu() const OVERRIDE; 55 virtual bool IsShowingContextMenu() const OVERRIDE;
55 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; 56 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE;
56 virtual string16 GetSelectedText() const OVERRIDE; 57 virtual string16 GetSelectedText() const OVERRIDE;
57 virtual bool IsMouseLocked() OVERRIDE; 58 virtual bool IsMouseLocked() OVERRIDE;
58 virtual void UnhandledWheelEvent( 59 virtual void UnhandledWheelEvent(
59 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 60 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
60 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; 61 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE;
61 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; 62 virtual WebKit::WebPopupType GetPopupType() OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 gfx::Rect current_display_area_; 133 gfx::Rect current_display_area_;
133 float current_device_scale_factor_; 134 float current_device_scale_factor_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 136 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
136 }; 137 };
137 138
138 } // namespace content 139 } // namespace content
139 140
140 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 141 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698