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

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

Issue 10795013: Rename bounds accessors to be intuitive and consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/window.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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 #endif // defined(TOOLKIT_GTK) 230 #endif // defined(TOOLKIT_GTK)
231 231
232 #if defined(OS_WIN) && !defined(USE_AURA) 232 #if defined(OS_WIN) && !defined(USE_AURA)
233 virtual void WillWmDestroy() = 0; 233 virtual void WillWmDestroy() = 0;
234 #endif 234 #endif
235 235
236 #if defined(OS_POSIX) || defined(USE_AURA) 236 #if defined(OS_POSIX) || defined(USE_AURA)
237 static void GetDefaultScreenInfo( 237 static void GetDefaultScreenInfo(
238 WebKit::WebScreenInfo* results); 238 WebKit::WebScreenInfo* results);
239 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; 239 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0;
240 virtual gfx::Rect GetRootWindowBounds() = 0; 240 virtual gfx::Rect GetBoundsInRootWindow() = 0;
241 #endif 241 #endif
242 242
243 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; 243 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0;
244 244
245 // Because the associated remote WebKit instance can asynchronously 245 // Because the associated remote WebKit instance can asynchronously
246 // prevent-default on a dispatched touch event, the touch events are queued in 246 // prevent-default on a dispatched touch event, the touch events are queued in
247 // the GestureRecognizer until invocation of ProcessTouchAck releases it to be 247 // the GestureRecognizer until invocation of ProcessTouchAck releases it to be
248 // processed (when |processed| is false) or ignored (when |processed| is true) 248 // processed (when |processed| is false) or ignored (when |processed| is true)
249 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, 249 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type,
250 bool processed) = 0; 250 bool processed) = 0;
(...skipping 16 matching lines...) Expand all
267 virtual BrowserAccessibilityManager* 267 virtual BrowserAccessibilityManager*
268 GetBrowserAccessibilityManager() const = 0; 268 GetBrowserAccessibilityManager() const = 0;
269 virtual void OnAccessibilityNotifications( 269 virtual void OnAccessibilityNotifications(
270 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 270 const std::vector<AccessibilityHostMsg_NotificationParams>& params) {
271 } 271 }
272 }; 272 };
273 273
274 } // namespace content 274 } // namespace content
275 275
276 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 276 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698