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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host.cc

Issue 62129: Find should allow keyboard scrolling while Find bar has focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/renderer_host/render_widget_host.h" 5 #include "chrome/browser/renderer_host/render_widget_host.h"
6 6
7 #include "base/gfx/native_widget_types.h" 7 #include "base/gfx/native_widget_types.h"
8 #include "base/histogram.h" 8 #include "base/histogram.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/keyboard_codes.h" 10 #include "base/keyboard_codes.h"
11 #include "chrome/browser/renderer_host/backing_store.h" 11 #include "chrome/browser/renderer_host/backing_store.h"
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 683
684 // TODO(darin): do we need to do something else if our backing store is not 684 // TODO(darin): do we need to do something else if our backing store is not
685 // the same size as the advertised view? maybe we just assume there is a 685 // the same size as the advertised view? maybe we just assume there is a
686 // full paint on its way? 686 // full paint on its way?
687 BackingStore* backing_store = BackingStoreManager::Lookup(this); 687 BackingStore* backing_store = BackingStoreManager::Lookup(this);
688 if (!backing_store || (backing_store->size() != view_size)) 688 if (!backing_store || (backing_store->size() != view_size))
689 return; 689 return;
690 backing_store->ScrollRect(process_->process().handle(), bitmap, bitmap_rect, 690 backing_store->ScrollRect(process_->process().handle(), bitmap, bitmap_rect,
691 dx, dy, clip_rect, view_size); 691 dx, dy, clip_rect, view_size);
692 } 692 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.h ('k') | chrome/browser/views/bookmark_editor_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698