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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 1412393006: Remove unused function OnSnapshot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 void OnWindowlessPluginDummyWindowCreated( 619 void OnWindowlessPluginDummyWindowCreated(
620 gfx::NativeViewId dummy_activation_window); 620 gfx::NativeViewId dummy_activation_window);
621 void OnWindowlessPluginDummyWindowDestroyed( 621 void OnWindowlessPluginDummyWindowDestroyed(
622 gfx::NativeViewId dummy_activation_window); 622 gfx::NativeViewId dummy_activation_window);
623 #endif 623 #endif
624 void OnSelectionChanged(const base::string16& text, 624 void OnSelectionChanged(const base::string16& text,
625 size_t offset, 625 size_t offset,
626 const gfx::Range& range); 626 const gfx::Range& range);
627 void OnSelectionBoundsChanged( 627 void OnSelectionBoundsChanged(
628 const ViewHostMsg_SelectionBounds_Params& params); 628 const ViewHostMsg_SelectionBounds_Params& params);
629 void OnSnapshot(bool success, const SkBitmap& bitmap);
630 629
631 // Called (either immediately or asynchronously) after we're done with our 630 // Called (either immediately or asynchronously) after we're done with our
632 // BackingStore and can send an ACK to the renderer so it can paint onto it 631 // BackingStore and can send an ACK to the renderer so it can paint onto it
633 // again. 632 // again.
634 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params, 633 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params,
635 const base::TimeTicks& paint_start); 634 const base::TimeTicks& paint_start);
636 635
637 // Give key press listeners a chance to handle this key press. This allow 636 // Give key press listeners a chance to handle this key press. This allow
638 // widgets that don't have focus to still handle key presses. 637 // widgets that don't have focus to still handle key presses.
639 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); 638 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event);
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; 858 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_;
860 859
861 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 860 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
862 861
863 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 862 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
864 }; 863 };
865 864
866 } // namespace content 865 } // namespace content
867 866
868 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 867 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698