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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view.h

Issue 8528019: Fix components build on Linux when toolkit_views=1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
10 #include <OpenGL/OpenGL.h> 10 #include <OpenGL/OpenGL.h>
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 #if defined(TOOLKIT_USES_GTK) 269 #if defined(TOOLKIT_USES_GTK)
270 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; 270 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
271 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 271 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
272 #endif 272 #endif
273 273
274 #if defined(OS_WIN) 274 #if defined(OS_WIN)
275 virtual void WillWmDestroy() = 0; 275 virtual void WillWmDestroy() = 0;
276 #endif 276 #endif
277 277
278 #if defined(OS_POSIX) 278 #if defined(OS_POSIX)
279 static void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); 279 static void CONTENT_EXPORT GetDefaultScreenInfo(
280 WebKit::WebScreenInfo* results);
Dirk Pranke 2011/11/11 01:52:23 Nit: same.
280 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; 281 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0;
281 virtual gfx::Rect GetRootWindowBounds() = 0; 282 virtual gfx::Rect GetRootWindowBounds() = 0;
282 #endif 283 #endif
283 284
284 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0; 285 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0;
285 286
286 // Toggles visual muting of the render view area. This is on when a 287 // Toggles visual muting of the render view area. This is on when a
287 // constrained window is showing, for example. |color| is the shade of 288 // constrained window is showing, for example. |color| is the shade of
288 // the overlay that covers the render view. If |animate| is true, the overlay 289 // the overlay that covers the render view. If |animate| is true, the overlay
289 // gradually fades in; otherwise it takes effect immediately. To remove the 290 // gradually fades in; otherwise it takes effect immediately. To remove the
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 size_t selection_text_offset_; 356 size_t selection_text_offset_;
356 357
357 // The current selection range relative to the start of the web page. 358 // The current selection range relative to the start of the web page.
358 ui::Range selection_range_; 359 ui::Range selection_range_;
359 360
360 private: 361 private:
361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
362 }; 363 };
363 364
364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698