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

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

Issue 8704005: Add autoresize capability to chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Standardize on resize everywhere. Created 9 years 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_impl.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_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_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 const gfx::Point& screen_pt); 778 const gfx::Point& screen_pt);
779 void OnDragTargetDragEnter(const WebDropData& drop_data, 779 void OnDragTargetDragEnter(const WebDropData& drop_data,
780 const gfx::Point& client_pt, 780 const gfx::Point& client_pt,
781 const gfx::Point& screen_pt, 781 const gfx::Point& screen_pt,
782 WebKit::WebDragOperationsMask operations_allowed); 782 WebKit::WebDragOperationsMask operations_allowed);
783 void OnDragTargetDragLeave(); 783 void OnDragTargetDragLeave();
784 void OnDragTargetDragOver(const gfx::Point& client_pt, 784 void OnDragTargetDragOver(const gfx::Point& client_pt,
785 const gfx::Point& screen_pt, 785 const gfx::Point& screen_pt,
786 WebKit::WebDragOperationsMask operations_allowed); 786 WebKit::WebDragOperationsMask operations_allowed);
787 void OnEnablePreferredSizeChangedMode(); 787 void OnEnablePreferredSizeChangedMode();
788 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
788 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); 789 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths);
789 void OnExecuteEditCommand(const std::string& name, const std::string& value); 790 void OnExecuteEditCommand(const std::string& name, const std::string& value);
790 void OnFileChooserResponse(const std::vector<FilePath>& paths); 791 void OnFileChooserResponse(const std::vector<FilePath>& paths);
791 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 792 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
792 void OnFindReplyAck(); 793 void OnFindReplyAck();
793 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 794 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
794 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 795 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
795 const std::vector<GURL>& links, 796 const std::vector<GURL>& links,
796 const std::vector<FilePath>& local_paths, 797 const std::vector<FilePath>& local_paths,
797 const FilePath& local_directory_name); 798 const FilePath& local_directory_name);
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 // bunch of stuff, you should probably create a helper class and put your 1226 // bunch of stuff, you should probably create a helper class and put your
1226 // data and methods on that to avoid bloating RenderView more. You can 1227 // data and methods on that to avoid bloating RenderView more. You can
1227 // use the Observer interface to filter IPC messages and receive frame change 1228 // use the Observer interface to filter IPC messages and receive frame change
1228 // notifications. 1229 // notifications.
1229 // --------------------------------------------------------------------------- 1230 // ---------------------------------------------------------------------------
1230 1231
1231 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1232 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1232 }; 1233 };
1233 1234
1234 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1235 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698