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

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

Issue 2164483006: [MacViews] Implemented text context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for tapted 3 Created 4 years 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_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 RenderWidgetHostViewBase* target_view, 141 RenderWidgetHostViewBase* target_view,
142 gfx::Point* transformed_point) override; 142 gfx::Point* transformed_point) override;
143 143
144 bool IsRenderWidgetHostViewChildFrame() override; 144 bool IsRenderWidgetHostViewChildFrame() override;
145 145
146 #if defined(OS_MACOSX) 146 #if defined(OS_MACOSX)
147 // RenderWidgetHostView implementation. 147 // RenderWidgetHostView implementation.
148 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 148 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
149 void SetActive(bool active) override; 149 void SetActive(bool active) override;
150 void ShowDefinitionForSelection() override; 150 void ShowDefinitionForSelection() override;
151 bool SupportsSpeech() const override;
152 void SpeakSelection() override; 151 void SpeakSelection() override;
153 bool IsSpeaking() const override;
154 void StopSpeaking() override;
155 #endif // defined(OS_MACOSX) 152 #endif // defined(OS_MACOSX)
156 153
157 // RenderWidgetHostViewBase implementation. 154 // RenderWidgetHostViewBase implementation.
158 void LockCompositingSurface() override; 155 void LockCompositingSurface() override;
159 void UnlockCompositingSurface() override; 156 void UnlockCompositingSurface() override;
160 157
161 InputEventAckState FilterInputEvent( 158 InputEventAckState FilterInputEvent(
162 const blink::WebInputEvent& input_event) override; 159 const blink::WebInputEvent& input_event) override;
163 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 160 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
164 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 161 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // The surface client ID of the parent RenderWidgetHostView. 0 if none. 251 // The surface client ID of the parent RenderWidgetHostView. 0 if none.
255 cc::FrameSinkId parent_frame_sink_id_; 252 cc::FrameSinkId parent_frame_sink_id_;
256 253
257 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 254 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
258 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 255 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
259 }; 256 };
260 257
261 } // namespace content 258 } // namespace content
262 259
263 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 260 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698