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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view.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_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // Tells the View to size itself to the specified size. 64 // Tells the View to size itself to the specified size.
65 virtual void SetSize(const gfx::Size& size) = 0; 65 virtual void SetSize(const gfx::Size& size) = 0;
66 66
67 // Retrieves the native view used to contain plugins and identify the 67 // Retrieves the native view used to contain plugins and identify the
68 // renderer in IPC messages. 68 // renderer in IPC messages.
69 virtual gfx::NativeView GetNativeView() = 0; 69 virtual gfx::NativeView GetNativeView() = 0;
70 70
71 // Moves all plugin windows as described in the given list. 71 // Moves all plugin windows as described in the given list.
72 virtual void MovePluginWindows( 72 virtual void MovePluginWindows(
73 const std::vector<WebPluginGeometry>& plugin_window_moves) = 0; 73 const std::vector<webkit_glue::WebPluginGeometry>& moves) = 0;
74 74
75 // Actually set/take focus to/from the associated View component. 75 // Actually set/take focus to/from the associated View component.
76 virtual void Focus() = 0; 76 virtual void Focus() = 0;
77 virtual void Blur() = 0; 77 virtual void Blur() = 0;
78 78
79 // Returns true if the View currently has the focus. 79 // Returns true if the View currently has the focus.
80 virtual bool HasFocus() = 0; 80 virtual bool HasFocus() = 0;
81 81
82 // Shows/hides the view. These must always be called together in pairs. 82 // Shows/hides the view. These must always be called together in pairs.
83 // It is not legal to call Hide() multiple times in a row. 83 // It is not legal to call Hide() multiple times in a row.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // A custom background to paint behind the web content. This will be tiled 188 // A custom background to paint behind the web content. This will be tiled
189 // horizontally. Can be null, in which case we fall back to painting white. 189 // horizontally. Can be null, in which case we fall back to painting white.
190 SkBitmap background_; 190 SkBitmap background_;
191 191
192 private: 192 private:
193 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 193 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
194 }; 194 };
195 195
196 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 196 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698