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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_mac.h

Issue 181014: Eliminate remaining WebCore dependencies from webplugin_impl.cc... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/scoped_nsobject.h" 10 #include "base/scoped_nsobject.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // Implementation of RenderWidgetHostView: 78 // Implementation of RenderWidgetHostView:
79 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 79 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
80 const gfx::Rect& pos); 80 const gfx::Rect& pos);
81 virtual RenderWidgetHost* GetRenderWidgetHost() const; 81 virtual RenderWidgetHost* GetRenderWidgetHost() const;
82 virtual void DidBecomeSelected(); 82 virtual void DidBecomeSelected();
83 virtual void WasHidden(); 83 virtual void WasHidden();
84 virtual void SetSize(const gfx::Size& size); 84 virtual void SetSize(const gfx::Size& size);
85 virtual gfx::NativeView GetNativeView(); 85 virtual gfx::NativeView GetNativeView();
86 virtual void MovePluginWindows( 86 virtual void MovePluginWindows(
87 const std::vector<WebPluginGeometry>& plugin_window_moves); 87 const std::vector<webkit_glue::WebPluginGeometry>& moves);
88 virtual void Focus(); 88 virtual void Focus();
89 virtual void Blur(); 89 virtual void Blur();
90 virtual bool HasFocus(); 90 virtual bool HasFocus();
91 virtual void Show(); 91 virtual void Show();
92 virtual void Hide(); 92 virtual void Hide();
93 virtual gfx::Rect GetViewBounds() const; 93 virtual gfx::Rect GetViewBounds() const;
94 virtual void UpdateCursor(const WebCursor& cursor); 94 virtual void UpdateCursor(const WebCursor& cursor);
95 virtual void SetIsLoading(bool is_loading); 95 virtual void SetIsLoading(bool is_loading);
96 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); 96 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect);
97 virtual void DidPaintRect(const gfx::Rect& rect); 97 virtual void DidPaintRect(const gfx::Rect& rect);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // Factory used to safely scope delayed calls to ShutdownHost(). 201 // Factory used to safely scope delayed calls to ShutdownHost().
202 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_; 202 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_;
203 203
204 // Used for positioning a popup menu. 204 // Used for positioning a popup menu.
205 BaseView* parent_view_; 205 BaseView* parent_view_;
206 206
207 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 207 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
208 }; 208 };
209 209
210 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 210 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698