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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 68 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
69 69
70 // Overridden from RenderWidgetHostViewPort: 70 // Overridden from RenderWidgetHostViewPort:
71 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 71 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
72 const gfx::Rect& pos) OVERRIDE; 72 const gfx::Rect& pos) OVERRIDE;
73 virtual void InitAsFullscreen( 73 virtual void InitAsFullscreen(
74 RenderWidgetHostView* reference_host_view) OVERRIDE; 74 RenderWidgetHostView* reference_host_view) OVERRIDE;
75 virtual void WasShown() OVERRIDE; 75 virtual void WasShown() OVERRIDE;
76 virtual void WasHidden() OVERRIDE; 76 virtual void WasHidden() OVERRIDE;
77 virtual void MovePluginWindows( 77 virtual void MovePluginWindows(
78 const gfx::Point& scroll_offset, 78 const gfx::Vector2d& scroll_offset,
79 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; 79 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
80 virtual void Focus() OVERRIDE; 80 virtual void Focus() OVERRIDE;
81 virtual void Blur() OVERRIDE; 81 virtual void Blur() OVERRIDE;
82 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 82 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
83 virtual void SetIsLoading(bool is_loading) OVERRIDE; 83 virtual void SetIsLoading(bool is_loading) OVERRIDE;
84 virtual void TextInputStateChanged( 84 virtual void TextInputStateChanged(
85 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; 85 const ViewHostMsg_TextInputState_Params& params) OVERRIDE;
86 virtual void ImeCancelComposition() OVERRIDE; 86 virtual void ImeCancelComposition() OVERRIDE;
87 virtual void ImeCompositionRangeChanged( 87 virtual void ImeCompositionRangeChanged(
88 const ui::Range& range, 88 const ui::Range& range,
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 NO_PENDING_COMMIT, 403 NO_PENDING_COMMIT,
404 }; 404 };
405 CanLockCompositorState can_lock_compositor_; 405 CanLockCompositorState can_lock_compositor_;
406 406
407 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 407 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
408 }; 408 };
409 409
410 } // namespace content 410 } // namespace content
411 411
412 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 412 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698