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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 149803008: Reland r247589:<webview>: Fix text selection features in mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 52 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
53 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; 53 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE;
54 virtual void SetSize(const gfx::Size& size) OVERRIDE; 54 virtual void SetSize(const gfx::Size& size) OVERRIDE;
55 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; 55 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE;
56 virtual gfx::NativeView GetNativeView() const OVERRIDE; 56 virtual gfx::NativeView GetNativeView() const OVERRIDE;
57 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; 57 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
58 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 58 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
59 virtual gfx::Rect GetViewBounds() const OVERRIDE; 59 virtual gfx::Rect GetViewBounds() const OVERRIDE;
60 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 60 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
61 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; 61 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
62 virtual base::string16 GetSelectedText() const OVERRIDE;
62 63
63 // RenderWidgetHostViewPort implementation. 64 // RenderWidgetHostViewPort implementation.
64 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 65 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
65 const gfx::Rect& pos) OVERRIDE; 66 const gfx::Rect& pos) OVERRIDE;
66 virtual void InitAsFullscreen( 67 virtual void InitAsFullscreen(
67 RenderWidgetHostView* reference_host_view) OVERRIDE; 68 RenderWidgetHostView* reference_host_view) OVERRIDE;
68 virtual void WasShown() OVERRIDE; 69 virtual void WasShown() OVERRIDE;
69 virtual void WasHidden() OVERRIDE; 70 virtual void WasHidden() OVERRIDE;
70 virtual void MovePluginWindows( 71 virtual void MovePluginWindows(
71 const gfx::Vector2d& scroll_offset, 72 const gfx::Vector2d& scroll_offset,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 RenderWidgetHostViewPort* platform_view_; 183 RenderWidgetHostViewPort* platform_view_;
183 #if defined(OS_WIN) || defined(USE_AURA) 184 #if defined(OS_WIN) || defined(USE_AURA)
184 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 185 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
185 #endif // defined(OS_WIN) || defined(USE_AURA) 186 #endif // defined(OS_WIN) || defined(USE_AURA)
186 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 187 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
187 }; 188 };
188 189
189 } // namespace content 190 } // namespace content
190 191
191 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 192 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698