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

Side by Side Diff: content/renderer/render_view.h

Issue 6998002: Send live resize messages to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed comment Created 9 years, 7 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view.cc » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 int id, 778 int id,
779 bool notify_result); 779 bool notify_result);
780 void OnSelectAll(); 780 void OnSelectAll();
781 void OnSetAccessibilityFocus(int acc_obj_id); 781 void OnSetAccessibilityFocus(int acc_obj_id);
782 void OnSetActive(bool active); 782 void OnSetActive(bool active);
783 void OnSetAltErrorPageURL(const GURL& gurl); 783 void OnSetAltErrorPageURL(const GURL& gurl);
784 void OnSetBackground(const SkBitmap& background); 784 void OnSetBackground(const SkBitmap& background);
785 void OnSetWebUIProperty(const std::string& name, const std::string& value); 785 void OnSetWebUIProperty(const std::string& name, const std::string& value);
786 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 786 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
787 void OnSetInitialFocus(bool reverse); 787 void OnSetInitialFocus(bool reverse);
788 #if defined(OS_MACOSX)
789 void OnSetInLiveResize(bool in_live_resize);
790 #endif
788 void OnScrollFocusedEditableNodeIntoView(); 791 void OnScrollFocusedEditableNodeIntoView();
789 void OnSetPageEncoding(const std::string& encoding_name); 792 void OnSetPageEncoding(const std::string& encoding_name);
790 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 793 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
791 #if defined(OS_MACOSX) 794 #if defined(OS_MACOSX)
792 void OnSetWindowVisibility(bool visible); 795 void OnSetWindowVisibility(bool visible);
793 #endif 796 #endif
794 void OnSetZoomLevel(double zoom_level); 797 void OnSetZoomLevel(double zoom_level);
795 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 798 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
796 void OnShouldClose(); 799 void OnShouldClose();
797 void OnStop(); 800 void OnStop();
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 // bunch of stuff, you should probably create a helper class and put your 1150 // bunch of stuff, you should probably create a helper class and put your
1148 // data and methods on that to avoid bloating RenderView more. You can use 1151 // data and methods on that to avoid bloating RenderView more. You can use
1149 // the Observer interface to filter IPC messages and receive frame change 1152 // the Observer interface to filter IPC messages and receive frame change
1150 // notifications. 1153 // notifications.
1151 // --------------------------------------------------------------------------- 1154 // ---------------------------------------------------------------------------
1152 1155
1153 DISALLOW_COPY_AND_ASSIGN(RenderView); 1156 DISALLOW_COPY_AND_ASSIGN(RenderView);
1154 }; 1157 };
1155 1158
1156 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1159 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698