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

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

Issue 9838009: Clean up a few TODO items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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/public/browser/render_widget_host.h ('k') | content/test/test_renderer_host.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_USES_GTK) 9 #if defined(TOOLKIT_USES_GTK)
10 #include <gdk/gdk.h> 10 #include <gdk/gdk.h>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 #if defined(TOOLKIT_USES_GTK) 119 #if defined(TOOLKIT_USES_GTK)
120 // Gets the event for the last mouse down. 120 // Gets the event for the last mouse down.
121 virtual GdkEventButton* GetLastMouseDown() = 0; 121 virtual GdkEventButton* GetLastMouseDown() = 0;
122 #if !defined(TOOLKIT_VIEWS) 122 #if !defined(TOOLKIT_VIEWS)
123 // Builds a submenu containing all the gtk input method commands. 123 // Builds a submenu containing all the gtk input method commands.
124 virtual gfx::NativeView BuildInputMethodsGtkMenu() = 0; 124 virtual gfx::NativeView BuildInputMethodsGtkMenu() = 0;
125 #endif // !defined(TOOLKIT_VIEWS) 125 #endif // !defined(TOOLKIT_VIEWS)
126 #endif // defined(TOOLKIT_USES_GTK) 126 #endif // defined(TOOLKIT_USES_GTK)
127 127
128 // TODO(joi): May be able to move into impl if RWHVMacDelegate stops
129 // being exposed to Chrome.
130 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0;
131
132 // Subclasses should override this method to do what is appropriate to set 128 // Subclasses should override this method to do what is appropriate to set
133 // the custom background for their platform. 129 // the custom background for their platform.
134 virtual void SetBackground(const SkBitmap& background) = 0; 130 virtual void SetBackground(const SkBitmap& background) = 0;
135 virtual const SkBitmap& GetBackground() = 0; 131 virtual const SkBitmap& GetBackground() = 0;
136 132
137 // TODO(joi): Remove this when we remove the dependency by chrome/
138 // on browser_accessibility* files in content.
139 virtual BrowserAccessibilityManager*
140 GetBrowserAccessibilityManager() const = 0;
141
142 #if defined(OS_WIN) && !defined(USE_AURA) 133 #if defined(OS_WIN) && !defined(USE_AURA)
143 // The region specified will be transparent to mouse clicks. 134 // The region specified will be transparent to mouse clicks.
144 virtual void SetClickthroughRegion(SkRegion* region) {} 135 virtual void SetClickthroughRegion(SkRegion* region) {}
145 #endif 136 #endif
146 }; 137 };
147 138
148 } // namespace content 139 } // namespace content
149 140
150 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ 141 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
151 142
152 143
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host.h ('k') | content/test/test_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698