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

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

Issue 11888003: Differentiate invisible cursor mode and disabled mouse events mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 // Notifies the View that the renderer selection bounds has changed. 141 // Notifies the View that the renderer selection bounds has changed.
142 // |start_rect| and |end_rect| are the bounds end of the selection in the 142 // |start_rect| and |end_rect| are the bounds end of the selection in the
143 // coordinate system of the render view. |start_direction| and |end_direction| 143 // coordinate system of the render view. |start_direction| and |end_direction|
144 // indicates the direction at which the selection was made on touch devices. 144 // indicates the direction at which the selection was made on touch devices.
145 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, 145 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect,
146 WebKit::WebTextDirection start_direction, 146 WebKit::WebTextDirection start_direction,
147 const gfx::Rect& end_rect, 147 const gfx::Rect& end_rect,
148 WebKit::WebTextDirection end_direction) {} 148 WebKit::WebTextDirection end_direction) {}
149 149
150 // Notifies the view that the scroll offset has changed.
151 virtual void ScrollOffsetChanged() {}
152
150 // Allocate a backing store for this view. 153 // Allocate a backing store for this view.
151 virtual BackingStore* AllocBackingStore(const gfx::Size& size) = 0; 154 virtual BackingStore* AllocBackingStore(const gfx::Size& size) = 0;
152 155
153 // Copies the contents of the compositing surface into the given 156 // Copies the contents of the compositing surface into the given
154 // (uninitialized) PlatformCanvas if any. 157 // (uninitialized) PlatformCanvas if any.
155 // The rectangle region specified with |src_subrect| is copied from the 158 // The rectangle region specified with |src_subrect| is copied from the
156 // contents, scaled to |dst_size|, and written to |output|. 159 // contents, scaled to |dst_size|, and written to |output|.
157 // |callback| is invoked with true on success, false otherwise. |output| can 160 // |callback| is invoked with true on success, false otherwise. |output| can
158 // be initialized even on failure. 161 // be initialized even on failure.
159 // NOTE: |callback| is called asynchronously on Aura and synchronously on the 162 // NOTE: |callback| is called asynchronously on Aura and synchronously on the
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 virtual BrowserAccessibilityManager* 287 virtual BrowserAccessibilityManager*
285 GetBrowserAccessibilityManager() const = 0; 288 GetBrowserAccessibilityManager() const = 0;
286 virtual void OnAccessibilityNotifications( 289 virtual void OnAccessibilityNotifications(
287 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 290 const std::vector<AccessibilityHostMsg_NotificationParams>& params) {
288 } 291 }
289 }; 292 };
290 293
291 } // namespace content 294 } // namespace content
292 295
293 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 296 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698