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

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: '' 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
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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 int id, 793 int id,
794 bool notify_result); 794 bool notify_result);
795 void OnSelectAll(); 795 void OnSelectAll();
796 void OnSetAccessibilityFocus(int acc_obj_id); 796 void OnSetAccessibilityFocus(int acc_obj_id);
797 void OnSetActive(bool active); 797 void OnSetActive(bool active);
798 void OnSetAltErrorPageURL(const GURL& gurl); 798 void OnSetAltErrorPageURL(const GURL& gurl);
799 void OnSetBackground(const SkBitmap& background); 799 void OnSetBackground(const SkBitmap& background);
800 void OnSetWebUIProperty(const std::string& name, const std::string& value); 800 void OnSetWebUIProperty(const std::string& name, const std::string& value);
801 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 801 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
802 void OnSetInitialFocus(bool reverse); 802 void OnSetInitialFocus(bool reverse);
803 #if defined(OS_MACOSX)
804 void OnSetInLiveResize(bool in_live_resize);
805 #endif
803 void OnScrollFocusedEditableNodeIntoView(); 806 void OnScrollFocusedEditableNodeIntoView();
804 void OnSetPageEncoding(const std::string& encoding_name); 807 void OnSetPageEncoding(const std::string& encoding_name);
805 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 808 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
806 #if defined(OS_MACOSX) 809 #if defined(OS_MACOSX)
807 void OnSetWindowVisibility(bool visible); 810 void OnSetWindowVisibility(bool visible);
808 #endif 811 #endif
809 void OnSetZoomLevel(double zoom_level); 812 void OnSetZoomLevel(double zoom_level);
810 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 813 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
811 void OnShouldClose(); 814 void OnShouldClose();
812 void OnStop(); 815 void OnStop();
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 // bunch of stuff, you should probably create a helper class and put your 1168 // bunch of stuff, you should probably create a helper class and put your
1166 // data and methods on that to avoid bloating RenderView more. You can use 1169 // data and methods on that to avoid bloating RenderView more. You can use
1167 // the Observer interface to filter IPC messages and receive frame change 1170 // the Observer interface to filter IPC messages and receive frame change
1168 // notifications. 1171 // notifications.
1169 // --------------------------------------------------------------------------- 1172 // ---------------------------------------------------------------------------
1170 1173
1171 DISALLOW_COPY_AND_ASSIGN(RenderView); 1174 DISALLOW_COPY_AND_ASSIGN(RenderView);
1172 }; 1175 };
1173 1176
1174 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1177 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698