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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_mac.h

Issue 7570001: Implement touch selection for RWHVV. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: sync Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual void ImeCancelComposition() OVERRIDE; 199 virtual void ImeCancelComposition() OVERRIDE;
200 virtual void ImeCompositionRangeChanged(const ui::Range& range) OVERRIDE; 200 virtual void ImeCompositionRangeChanged(const ui::Range& range) OVERRIDE;
201 virtual void DidUpdateBackingStore( 201 virtual void DidUpdateBackingStore(
202 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 202 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
203 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 203 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
204 virtual void RenderViewGone(base::TerminationStatus status, 204 virtual void RenderViewGone(base::TerminationStatus status,
205 int error_code) OVERRIDE; 205 int error_code) OVERRIDE;
206 virtual void Destroy() OVERRIDE; 206 virtual void Destroy() OVERRIDE;
207 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; 207 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE;
208 virtual void SelectionChanged(const std::string& text, 208 virtual void SelectionChanged(const std::string& text,
209 const ui::Range& range) OVERRIDE; 209 const ui::Range& range,
210 const gfx::Point& start,
211 const gfx::Point& end) OVERRIDE;
210 virtual void ShowingContextMenu(bool showing) OVERRIDE; 212 virtual void ShowingContextMenu(bool showing) OVERRIDE;
211 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 213 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
212 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; 214 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE;
213 // See comment in RenderWidgetHostView! 215 // See comment in RenderWidgetHostView!
214 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; 216 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE;
215 virtual gfx::Rect GetRootWindowRect() OVERRIDE; 217 virtual gfx::Rect GetRootWindowRect() OVERRIDE;
216 virtual void SetActive(bool active) OVERRIDE; 218 virtual void SetActive(bool active) OVERRIDE;
217 virtual void SetWindowVisibility(bool visible) OVERRIDE; 219 virtual void SetWindowVisibility(bool visible) OVERRIDE;
218 virtual void WindowFrameChanged() OVERRIDE; 220 virtual void WindowFrameChanged() OVERRIDE;
219 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 221 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 // hidden until the software backing store has been updated. This variable is 390 // hidden until the software backing store has been updated. This variable is
389 // set when the gpu widget needs to be hidden once a paint is completed. 391 // set when the gpu widget needs to be hidden once a paint is completed.
390 bool needs_gpu_visibility_update_after_repaint_; 392 bool needs_gpu_visibility_update_after_repaint_;
391 393
392 gfx::PluginWindowHandle compositing_surface_; 394 gfx::PluginWindowHandle compositing_surface_;
393 395
394 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 396 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
395 }; 397 };
396 398
397 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 399 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698