| Index: chrome/browser/renderer_host/render_widget_host_view_views.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_widget_host_view_views.h (revision 95703)
|
| +++ chrome/browser/renderer_host/render_widget_host_view_views.h (working copy)
|
| @@ -18,7 +18,6 @@
|
| #include "views/controls/native/native_view_host.h"
|
| #include "views/events/event.h"
|
| #include "views/ime/text_input_client.h"
|
| -#include "views/touchui/touch_selection_controller.h"
|
| #include "views/view.h"
|
| #include "webkit/glue/webcursor.h"
|
|
|
| @@ -36,7 +35,7 @@
|
| // See comments in render_widget_host_view.h about this class and its members.
|
| // -----------------------------------------------------------------------------
|
| class RenderWidgetHostViewViews : public RenderWidgetHostView,
|
| - public views::TouchSelectionClientView,
|
| + public views::View,
|
| public views::TextInputClient {
|
| public:
|
| // Internal class name.
|
| @@ -80,9 +79,7 @@
|
| virtual void Destroy() OVERRIDE;
|
| virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE;
|
| virtual void SelectionChanged(const std::string& text,
|
| - const ui::Range& range,
|
| - const gfx::Point& start,
|
| - const gfx::Point& end) OVERRIDE;
|
| + const ui::Range& range) OVERRIDE;
|
| virtual void ShowingContextMenu(bool showing) OVERRIDE;
|
| virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
|
| virtual void SetBackground(const SkBitmap& background) OVERRIDE;
|
| @@ -101,18 +98,6 @@
|
| #endif
|
| virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE;
|
|
|
| - // Overridden from views::TouchSelectionClientView.
|
| - virtual void SelectRect(const gfx::Point& start,
|
| - const gfx::Point& end) OVERRIDE;
|
| -
|
| - // Overridden from ui::SimpleMenuModel::Delegate.
|
| - virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
|
| - virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
|
| - virtual bool GetAcceleratorForCommandId(
|
| - int command_id,
|
| - ui::Accelerator* accelerator) OVERRIDE;
|
| - virtual void ExecuteCommand(int command_id) OVERRIDE;
|
| -
|
| // Overridden from views::View.
|
| virtual std::string GetClassName() const OVERRIDE;
|
| virtual gfx::NativeCursor GetCursor(const views::MouseEvent& event) OVERRIDE;
|
| @@ -255,8 +240,6 @@
|
|
|
| string16 tooltip_text_;
|
|
|
| - scoped_ptr<views::TouchSelectionController> touch_selection_controller_;
|
| -
|
| #if defined(TOUCH_UI)
|
| std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> >
|
| accelerated_surface_containers_;
|
|
|