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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_guest.cc

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add the changes to cc_messages.h Created 8 years 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 #include "base/bind_helpers.h" 5 #include "base/bind_helpers.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "content/browser/browser_plugin/browser_plugin_guest.h" 8 #include "content/browser/browser_plugin/browser_plugin_guest.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/browser/renderer_host/render_widget_host_view_guest.h" 10 #include "content/browser/renderer_host/render_widget_host_view_guest.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 float minimum_scale, 356 float minimum_scale,
357 float maximum_scale) { 357 float maximum_scale) {
358 NOTIMPLEMENTED(); 358 NOTIMPLEMENTED();
359 } 359 }
360 360
361 void RenderWidgetHostViewGuest::UpdateFrameInfo( 361 void RenderWidgetHostViewGuest::UpdateFrameInfo(
362 const gfx::Vector2d& scroll_offset, 362 const gfx::Vector2d& scroll_offset,
363 float page_scale_factor, 363 float page_scale_factor,
364 float min_page_scale_factor, 364 float min_page_scale_factor,
365 float max_page_scale_factor, 365 float max_page_scale_factor,
366 const gfx::Size& content_size) { 366 const gfx::Size& content_size,
367 const gfx::PointF& controls_offset,
368 const gfx::PointF& content_offset) {
367 NOTIMPLEMENTED(); 369 NOTIMPLEMENTED();
368 } 370 }
369 371
370 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { 372 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) {
371 NOTIMPLEMENTED(); 373 NOTIMPLEMENTED();
372 } 374 }
373 #endif // defined(OS_ANDROID) 375 #endif // defined(OS_ANDROID)
374 376
375 #if defined(TOOLKIT_GTK) 377 #if defined(TOOLKIT_GTK)
376 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { 378 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() {
(...skipping 23 matching lines...) Expand all
400 } 402 }
401 #endif 403 #endif
402 404
403 #if defined(OS_POSIX) || defined(USE_AURA) 405 #if defined(OS_POSIX) || defined(USE_AURA)
404 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) { 406 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) {
405 NOTIMPLEMENTED(); 407 NOTIMPLEMENTED();
406 } 408 }
407 #endif // defined(OS_POSIX) || defined(USE_AURA) 409 #endif // defined(OS_POSIX) || defined(USE_AURA)
408 410
409 } // namespace content 411 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698