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

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

Issue 287093002: Remove ViewMsg_SetZoomLevel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revised as per comments. Created 6 years, 6 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 bool user_gesture); 481 bool user_gesture);
482 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); 482 void OnShowWidget(int route_id, const gfx::Rect& initial_pos);
483 void OnShowFullscreenWidget(int route_id); 483 void OnShowFullscreenWidget(int route_id);
484 void OnRunModal(int opener_id, IPC::Message* reply_msg); 484 void OnRunModal(int opener_id, IPC::Message* reply_msg);
485 void OnRenderViewReady(); 485 void OnRenderViewReady();
486 void OnRenderProcessGone(int status, int error_code); 486 void OnRenderProcessGone(int status, int error_code);
487 void OnUpdateState(int32 page_id, const PageState& state); 487 void OnUpdateState(int32 page_id, const PageState& state);
488 void OnUpdateTargetURL(int32 page_id, const GURL& url); 488 void OnUpdateTargetURL(int32 page_id, const GURL& url);
489 void OnClose(); 489 void OnClose();
490 void OnRequestMove(const gfx::Rect& pos); 490 void OnRequestMove(const gfx::Rect& pos);
491 void OnDocumentAvailableInMainFrame(); 491 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level);
492 void OnToggleFullscreen(bool enter_fullscreen); 492 void OnToggleFullscreen(bool enter_fullscreen);
493 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); 493 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size);
494 void OnDidChangeScrollOffset(); 494 void OnDidChangeScrollOffset();
495 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 495 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
496 bool is_pinned_to_right); 496 bool is_pinned_to_right);
497 void OnDidChangeNumWheelEvents(int count); 497 void OnDidChangeNumWheelEvents(int count);
498 #if defined(OS_ANDROID) 498 #if defined(OS_ANDROID)
499 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); 499 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds);
500 #endif 500 #endif
501 void OnPasteFromSelectionClipboard(); 501 void OnPasteFromSelectionClipboard();
502 void OnRouteCloseEvent(); 502 void OnRouteCloseEvent();
503 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); 503 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
504 void OnStartDragging(const DropData& drop_data, 504 void OnStartDragging(const DropData& drop_data,
505 blink::WebDragOperationsMask operations_allowed, 505 blink::WebDragOperationsMask operations_allowed,
506 const SkBitmap& bitmap, 506 const SkBitmap& bitmap,
507 const gfx::Vector2d& bitmap_offset_in_dip, 507 const gfx::Vector2d& bitmap_offset_in_dip,
508 const DragEventSourceInfo& event_info); 508 const DragEventSourceInfo& event_info);
509 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); 509 void OnUpdateDragCursor(blink::WebDragOperation drag_operation);
510 void OnTargetDropACK(); 510 void OnTargetDropACK();
511 void OnTakeFocus(bool reverse); 511 void OnTakeFocus(bool reverse);
512 void OnFocusedNodeChanged(bool is_editable_node); 512 void OnFocusedNodeChanged(bool is_editable_node);
513 void OnUpdateInspectorSetting(const std::string& key, 513 void OnUpdateInspectorSetting(const std::string& key,
514 const std::string& value); 514 const std::string& value);
515 void OnClosePageACK(); 515 void OnClosePageACK();
516 void OnAccessibilityEvents( 516 void OnAccessibilityEvents(
517 const std::vector<AccessibilityHostMsg_EventParams>& params); 517 const std::vector<AccessibilityHostMsg_EventParams>& params);
518 void OnAccessibilityLocationChanges( 518 void OnAccessibilityLocationChanges(
519 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); 519 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params);
520 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); 520 void OnDidCreateDocument(bool is_plugin_document);
521 void OnDidZoomURL(double zoom_level, const GURL& url);
521 void OnRunFileChooser(const FileChooserParams& params); 522 void OnRunFileChooser(const FileChooserParams& params);
522 void OnFocusedNodeTouched(bool editable); 523 void OnFocusedNodeTouched(bool editable);
523 524
524 #if defined(OS_MACOSX) || defined(OS_ANDROID) 525 #if defined(OS_MACOSX) || defined(OS_ANDROID)
525 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params); 526 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params);
526 void OnHidePopup(); 527 void OnHidePopup();
527 #endif 528 #endif
528 529
529 private: 530 private:
530 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate 531 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 649 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
649 }; 650 };
650 651
651 #if defined(COMPILER_MSVC) 652 #if defined(COMPILER_MSVC)
652 #pragma warning(pop) 653 #pragma warning(pop)
653 #endif 654 #endif
654 655
655 } // namespace content 656 } // namespace content
656 657
657 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 658 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698