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

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: remove SizeOfVector 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 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 bool is_fullscreen) OVERRIDE; 759 bool is_fullscreen) OVERRIDE;
760 virtual void WillInitiatePaint() OVERRIDE; 760 virtual void WillInitiatePaint() OVERRIDE;
761 virtual void DidInitiatePaint() OVERRIDE; 761 virtual void DidInitiatePaint() OVERRIDE;
762 virtual void DidFlushPaint() OVERRIDE; 762 virtual void DidFlushPaint() OVERRIDE;
763 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 763 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
764 const gfx::Rect& paint_bounds, 764 const gfx::Rect& paint_bounds,
765 TransportDIB** dib, 765 TransportDIB** dib,
766 gfx::Rect* location, 766 gfx::Rect* location,
767 gfx::Rect* clip, 767 gfx::Rect* clip,
768 float* scale_factor) OVERRIDE; 768 float* scale_factor) OVERRIDE;
769 virtual gfx::Point GetScrollOffset() OVERRIDE; 769 virtual gfx::Vector2d GetScrollOffset() OVERRIDE;
770 virtual void DidHandleKeyEvent() OVERRIDE; 770 virtual void DidHandleKeyEvent() OVERRIDE;
771 virtual bool WillHandleMouseEvent( 771 virtual bool WillHandleMouseEvent(
772 const WebKit::WebMouseEvent& event) OVERRIDE; 772 const WebKit::WebMouseEvent& event) OVERRIDE;
773 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; 773 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE;
774 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; 774 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE;
775 virtual void OnSetFocus(bool enable) OVERRIDE; 775 virtual void OnSetFocus(bool enable) OVERRIDE;
776 virtual void OnWasHidden() OVERRIDE; 776 virtual void OnWasHidden() OVERRIDE;
777 virtual void OnWasShown(bool needs_repainting) OVERRIDE; 777 virtual void OnWasShown(bool needs_repainting) OVERRIDE;
778 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; 778 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE;
779 virtual void OnImeSetComposition( 779 virtual void OnImeSetComposition(
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 // use the Observer interface to filter IPC messages and receive frame change 1586 // use the Observer interface to filter IPC messages and receive frame change
1587 // notifications. 1587 // notifications.
1588 // --------------------------------------------------------------------------- 1588 // ---------------------------------------------------------------------------
1589 1589
1590 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1590 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1591 }; 1591 };
1592 1592
1593 } // namespace content 1593 } // namespace content
1594 1594
1595 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1595 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698