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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_gtk.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_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 7
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 66 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
67 67
68 // RenderWidgetHostViewPort implementation. 68 // RenderWidgetHostViewPort implementation.
69 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 69 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
70 const gfx::Rect& pos) OVERRIDE; 70 const gfx::Rect& pos) OVERRIDE;
71 virtual void InitAsFullscreen( 71 virtual void InitAsFullscreen(
72 RenderWidgetHostView* reference_host_view) OVERRIDE; 72 RenderWidgetHostView* reference_host_view) OVERRIDE;
73 virtual void WasShown() OVERRIDE; 73 virtual void WasShown() OVERRIDE;
74 virtual void WasHidden() OVERRIDE; 74 virtual void WasHidden() OVERRIDE;
75 virtual void MovePluginWindows( 75 virtual void MovePluginWindows(
76 const gfx::Point& scroll_offset, 76 const gfx::Vector2d& scroll_offset,
77 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; 77 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
78 virtual void Focus() OVERRIDE; 78 virtual void Focus() OVERRIDE;
79 virtual void Blur() OVERRIDE; 79 virtual void Blur() OVERRIDE;
80 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 80 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
81 virtual void SetIsLoading(bool is_loading) OVERRIDE; 81 virtual void SetIsLoading(bool is_loading) OVERRIDE;
82 virtual void TextInputStateChanged( 82 virtual void TextInputStateChanged(
83 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; 83 const ViewHostMsg_TextInputState_Params& params) OVERRIDE;
84 virtual void ImeCancelComposition() OVERRIDE; 84 virtual void ImeCancelComposition() OVERRIDE;
85 virtual void DidUpdateBackingStore( 85 virtual void DidUpdateBackingStore(
86 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 86 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // Instance of accessibility information for the root of the AtkObject 314 // Instance of accessibility information for the root of the AtkObject
315 // tree representation of the WebKit render tree. 315 // tree representation of the WebKit render tree.
316 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 316 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
317 317
318 ui::GtkSignalRegistrar signals_; 318 ui::GtkSignalRegistrar signals_;
319 }; 319 };
320 320
321 } // namespace content 321 } // namespace content
322 322
323 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 323 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698