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

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

Issue 257963003: Remove scroll_offset argument from MovePluginWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Notifies the View that it has become visible. 79 // Notifies the View that it has become visible.
80 virtual void WasShown() = 0; 80 virtual void WasShown() = 0;
81 81
82 // Notifies the View that it has been hidden. 82 // Notifies the View that it has been hidden.
83 virtual void WasHidden() = 0; 83 virtual void WasHidden() = 0;
84 84
85 // Moves all plugin windows as described in the given list. 85 // Moves all plugin windows as described in the given list.
86 // |scroll_offset| is the scroll offset of the render view. 86 // |scroll_offset| is the scroll offset of the render view.
87 virtual void MovePluginWindows( 87 virtual void MovePluginWindows(
88 const gfx::Vector2d& scroll_offset,
89 const std::vector<WebPluginGeometry>& moves) = 0; 88 const std::vector<WebPluginGeometry>& moves) = 0;
90 89
91 // Take focus from the associated View component. 90 // Take focus from the associated View component.
92 virtual void Blur() = 0; 91 virtual void Blur() = 0;
93 92
94 // Sets the cursor to the one associated with the specified cursor_type 93 // Sets the cursor to the one associated with the specified cursor_type
95 virtual void UpdateCursor(const WebCursor& cursor) = 0; 94 virtual void UpdateCursor(const WebCursor& cursor) = 0;
96 95
97 // Indicates whether the page has finished loading. 96 // Indicates whether the page has finished loading.
98 virtual void SetIsLoading(bool is_loading) = 0; 97 virtual void SetIsLoading(bool is_loading) = 0;
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 352
354 // Returns an HWND that's given as the parent window for windowless Flash to 353 // Returns an HWND that's given as the parent window for windowless Flash to
355 // workaround crbug.com/301548. 354 // workaround crbug.com/301548.
356 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; 355 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0;
357 #endif 356 #endif
358 }; 357 };
359 358
360 } // namespace content 359 } // namespace content
361 360
362 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 361 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698