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

Side by Side Diff: content/renderer/render_view_impl.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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 bool is_fullscreen) OVERRIDE; 731 bool is_fullscreen) OVERRIDE;
732 virtual void WillInitiatePaint() OVERRIDE; 732 virtual void WillInitiatePaint() OVERRIDE;
733 virtual void DidInitiatePaint() OVERRIDE; 733 virtual void DidInitiatePaint() OVERRIDE;
734 virtual void DidFlushPaint() OVERRIDE; 734 virtual void DidFlushPaint() OVERRIDE;
735 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 735 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
736 const gfx::Rect& paint_bounds, 736 const gfx::Rect& paint_bounds,
737 TransportDIB** dib, 737 TransportDIB** dib,
738 gfx::Rect* location, 738 gfx::Rect* location,
739 gfx::Rect* clip, 739 gfx::Rect* clip,
740 float* scale_factor) OVERRIDE; 740 float* scale_factor) OVERRIDE;
741 virtual gfx::Point GetScrollOffset() OVERRIDE; 741 virtual gfx::Vector2d GetScrollOffset() OVERRIDE;
742 virtual void DidHandleKeyEvent() OVERRIDE; 742 virtual void DidHandleKeyEvent() OVERRIDE;
743 virtual bool WillHandleMouseEvent( 743 virtual bool WillHandleMouseEvent(
744 const WebKit::WebMouseEvent& event) OVERRIDE; 744 const WebKit::WebMouseEvent& event) OVERRIDE;
745 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; 745 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE;
746 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; 746 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE;
747 virtual void OnSetFocus(bool enable) OVERRIDE; 747 virtual void OnSetFocus(bool enable) OVERRIDE;
748 virtual void OnWasHidden() OVERRIDE; 748 virtual void OnWasHidden() OVERRIDE;
749 virtual void OnWasShown(bool needs_repainting) OVERRIDE; 749 virtual void OnWasShown(bool needs_repainting) OVERRIDE;
750 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; 750 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE;
751 virtual bool ForceCompositingModeEnabled() OVERRIDE; 751 virtual bool ForceCompositingModeEnabled() OVERRIDE;
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 // use the Observer interface to filter IPC messages and receive frame change 1541 // use the Observer interface to filter IPC messages and receive frame change
1542 // notifications. 1542 // notifications.
1543 // --------------------------------------------------------------------------- 1543 // ---------------------------------------------------------------------------
1544 1544
1545 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1545 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1546 }; 1546 };
1547 1547
1548 } // namespace content 1548 } // namespace content
1549 1549
1550 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1550 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698