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

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

Issue 12623031: Pass the overdraw value to the browser w/ frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Interface for test file Created 7 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
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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 302
303 #if defined(OS_ANDROID) 303 #if defined(OS_ANDROID)
304 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 304 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
305 const SkBitmap& zoomed_bitmap) = 0; 305 const SkBitmap& zoomed_bitmap) = 0;
306 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, 306 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset,
307 float page_scale_factor, 307 float page_scale_factor,
308 const gfx::Vector2dF& page_scale_factor_limits, 308 const gfx::Vector2dF& page_scale_factor_limits,
309 const gfx::SizeF& content_size, 309 const gfx::SizeF& content_size,
310 const gfx::SizeF& viewport_size, 310 const gfx::SizeF& viewport_size,
311 const gfx::Vector2dF& controls_offset, 311 const gfx::Vector2dF& controls_offset,
312 const gfx::Vector2dF& content_offset) = 0; 312 const gfx::Vector2dF& content_offset,
313 float overdraw_bottom_height) = 0;
313 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; 314 virtual void HasTouchEventHandlers(bool need_touch_events) = 0;
314 #endif 315 #endif
315 316
316 #if defined(OS_WIN) && !defined(USE_AURA) 317 #if defined(OS_WIN) && !defined(USE_AURA)
317 virtual void WillWmDestroy() = 0; 318 virtual void WillWmDestroy() = 0;
318 #endif 319 #endif
319 }; 320 };
320 321
321 } // namespace content 322 } // namespace content
322 323
323 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 324 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/common/cc_messages.h ('k') | content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698