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

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: Remove some unnecessary bits after addressing comments. 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 float minimum_scale, 376 float minimum_scale,
377 float maximum_scale) { 377 float maximum_scale) {
378 NOTIMPLEMENTED(); 378 NOTIMPLEMENTED();
379 } 379 }
380 380
381 void RenderWidgetHostViewGuest::UpdateFrameInfo( 381 void RenderWidgetHostViewGuest::UpdateFrameInfo(
382 const gfx::Vector2d& scroll_offset, 382 const gfx::Vector2d& scroll_offset,
383 float page_scale_factor, 383 float page_scale_factor,
384 float min_page_scale_factor, 384 float min_page_scale_factor,
385 float max_page_scale_factor, 385 float max_page_scale_factor,
386 const gfx::Size& content_size) { 386 const gfx::Size& content_size,
387 const gfx::Vector2dF& controls_offset,
388 const gfx::Vector2dF& content_offset) {
387 NOTIMPLEMENTED(); 389 NOTIMPLEMENTED();
388 } 390 }
389 391
390 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { 392 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) {
391 NOTIMPLEMENTED(); 393 NOTIMPLEMENTED();
392 } 394 }
393 #endif // defined(OS_ANDROID) 395 #endif // defined(OS_ANDROID)
394 396
395 #if defined(TOOLKIT_GTK) 397 #if defined(TOOLKIT_GTK)
396 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { 398 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() {
(...skipping 23 matching lines...) Expand all
420 } 422 }
421 #endif 423 #endif
422 424
423 #if defined(OS_POSIX) || defined(USE_AURA) 425 #if defined(OS_POSIX) || defined(USE_AURA)
424 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) { 426 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) {
425 NOTIMPLEMENTED(); 427 NOTIMPLEMENTED();
426 } 428 }
427 #endif // defined(OS_POSIX) || defined(USE_AURA) 429 #endif // defined(OS_POSIX) || defined(USE_AURA)
428 430
429 } // namespace content 431 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698