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

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

Issue 8491058: Fix NOTIMPLEMENTEDs in RenderMessageFilterAura... use the same codepath POSIX does. (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 26 matching lines...) Expand all
37 class Rect; 37 class Rect;
38 class Size; 38 class Size;
39 } 39 }
40 40
41 namespace webkit { 41 namespace webkit {
42 namespace npapi { 42 namespace npapi {
43 struct WebPluginGeometry; 43 struct WebPluginGeometry;
44 } 44 }
45 } 45 }
46 46
47 #if defined(OS_POSIX) 47 #if defined(OS_POSIX) || defined(USE_AURA)
48 namespace WebKit { 48 namespace WebKit {
49 struct WebScreenInfo; 49 struct WebScreenInfo;
50 } 50 }
51 #endif 51 #endif
52 52
53 // RenderWidgetHostView is an interface implemented by an object that acts as 53 // RenderWidgetHostView is an interface implemented by an object that acts as
54 // the "View" portion of a RenderWidgetHost. The RenderWidgetHost and its 54 // the "View" portion of a RenderWidgetHost. The RenderWidgetHost and its
55 // associated RenderProcessHost own the "Model" in this case which is the 55 // associated RenderProcessHost own the "Model" in this case which is the
56 // child renderer process. The View is responsible for receiving events from 56 // child renderer process. The View is responsible for receiving events from
57 // the surrounding environment and passing them to the RenderWidgetHost, and 57 // the surrounding environment and passing them to the RenderWidgetHost, and
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
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) || defined(USE_AURA)
279 static void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); 279 static void GetDefaultScreenInfo(WebKit::WebScreenInfo* results);
280 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; 280 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0;
281 virtual gfx::Rect GetRootWindowBounds() = 0; 281 virtual gfx::Rect GetRootWindowBounds() = 0;
282 #endif 282 #endif
283 283
284 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0; 284 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0;
285 285
286 // Toggles visual muting of the render view area. This is on when a 286 // 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 287 // 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 288 // the overlay that covers the render view. If |animate| is true, the overlay
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 size_t selection_text_offset_; 355 size_t selection_text_offset_;
356 356
357 // The current selection range relative to the start of the web page. 357 // The current selection range relative to the start of the web page.
358 ui::Range selection_range_; 358 ui::Range selection_range_;
359 359
360 private: 360 private:
361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
362 }; 362 };
363 363
364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698