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

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

Issue 10411086: Makes the browser send pixels to the GPU process where it should (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/port/browser/render_widget_host_view_port.h ('k') | ui/compositor/layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(TOOLKIT_GTK) 9 #include "base/basictypes.h"
10 #include <gdk/gdk.h>
11 #endif
12
13 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
14 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
15 #include "third_party/skia/include/core/SkRegion.h" 12 #include "third_party/skia/include/core/SkRegion.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
17 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
18 15
16 #if defined(TOOLKIT_GTK)
17 #include <gdk/gdk.h>
18 #endif
19
19 class BrowserAccessibilityManager; 20 class BrowserAccessibilityManager;
20 21
21 namespace gfx { 22 namespace gfx {
22 class Rect; 23 class Rect;
23 class Size; 24 class Size;
24 } 25 }
25 26
26 namespace content { 27 namespace content {
27 28
28 class RenderWidgetHost; 29 class RenderWidgetHost;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // Return value indicates whether the mouse is locked successfully or not. 143 // Return value indicates whether the mouse is locked successfully or not.
143 virtual bool LockMouse() = 0; 144 virtual bool LockMouse() = 0;
144 virtual void UnlockMouse() = 0; 145 virtual void UnlockMouse() = 0;
145 // Returns true if the mouse pointer is currently locked. 146 // Returns true if the mouse pointer is currently locked.
146 virtual bool IsMouseLocked() = 0; 147 virtual bool IsMouseLocked() = 0;
147 }; 148 };
148 149
149 } // namespace content 150 } // namespace content
150 151
151 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ 152 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW
« no previous file with comments | « content/port/browser/render_widget_host_view_port.h ('k') | ui/compositor/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698