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

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

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderText fixup Created 8 years, 1 month 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) 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 220 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
221 221
222 // Implementation of RenderWidgetHostViewPort. 222 // Implementation of RenderWidgetHostViewPort.
223 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 223 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
224 const gfx::Rect& pos) OVERRIDE; 224 const gfx::Rect& pos) OVERRIDE;
225 virtual void InitAsFullscreen( 225 virtual void InitAsFullscreen(
226 RenderWidgetHostView* reference_host_view) OVERRIDE; 226 RenderWidgetHostView* reference_host_view) OVERRIDE;
227 virtual void WasShown() OVERRIDE; 227 virtual void WasShown() OVERRIDE;
228 virtual void WasHidden() OVERRIDE; 228 virtual void WasHidden() OVERRIDE;
229 virtual void MovePluginWindows( 229 virtual void MovePluginWindows(
230 const gfx::Point& scroll_offset, 230 const gfx::Vector2d& scroll_offset,
231 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; 231 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
232 virtual void Focus() OVERRIDE; 232 virtual void Focus() OVERRIDE;
233 virtual void Blur() OVERRIDE; 233 virtual void Blur() OVERRIDE;
234 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 234 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
235 virtual void SetIsLoading(bool is_loading) OVERRIDE; 235 virtual void SetIsLoading(bool is_loading) OVERRIDE;
236 virtual void TextInputStateChanged( 236 virtual void TextInputStateChanged(
237 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; 237 const ViewHostMsg_TextInputState_Params& params) OVERRIDE;
238 virtual void SelectionBoundsChanged( 238 virtual void SelectionBoundsChanged(
239 const gfx::Rect& start_rect, 239 const gfx::Rect& start_rect,
240 WebKit::WebTextDirection start_direction, 240 WebKit::WebTextDirection start_direction,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 474
475 // The current caret bounds. 475 // The current caret bounds.
476 gfx::Rect caret_rect_; 476 gfx::Rect caret_rect_;
477 477
478 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 478 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
479 }; 479 };
480 480
481 } // namespace content 481 } // namespace content
482 482
483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698