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

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: latest update 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
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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 const gfx::Point& screen_pt); 772 const gfx::Point& screen_pt);
773 void OnDragTargetDragEnter(const WebDropData& drop_data, 773 void OnDragTargetDragEnter(const WebDropData& drop_data,
774 const gfx::Point& client_pt, 774 const gfx::Point& client_pt,
775 const gfx::Point& screen_pt, 775 const gfx::Point& screen_pt,
776 WebKit::WebDragOperationsMask operations_allowed); 776 WebKit::WebDragOperationsMask operations_allowed);
777 void OnDragTargetDragLeave(); 777 void OnDragTargetDragLeave();
778 void OnDragTargetDragOver(const gfx::Point& client_pt, 778 void OnDragTargetDragOver(const gfx::Point& client_pt,
779 const gfx::Point& screen_pt, 779 const gfx::Point& screen_pt,
780 WebKit::WebDragOperationsMask operations_allowed); 780 WebKit::WebDragOperationsMask operations_allowed);
781 void OnEnablePreferredSizeChangedMode(); 781 void OnEnablePreferredSizeChangedMode();
782 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
782 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); 783 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths);
783 void OnExecuteEditCommand(const std::string& name, const std::string& value); 784 void OnExecuteEditCommand(const std::string& name, const std::string& value);
784 void OnFileChooserResponse(const std::vector<FilePath>& paths); 785 void OnFileChooserResponse(const std::vector<FilePath>& paths);
785 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 786 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
786 void OnFindReplyAck(); 787 void OnFindReplyAck();
787 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 788 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
788 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 789 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
789 const std::vector<GURL>& links, 790 const std::vector<GURL>& links,
790 const std::vector<FilePath>& local_paths, 791 const std::vector<FilePath>& local_paths,
791 const FilePath& local_directory_name); 792 const FilePath& local_directory_name);
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 // bunch of stuff, you should probably create a helper class and put your 1220 // bunch of stuff, you should probably create a helper class and put your
1220 // data and methods on that to avoid bloating RenderView more. You can 1221 // data and methods on that to avoid bloating RenderView more. You can
1221 // use the Observer interface to filter IPC messages and receive frame change 1222 // use the Observer interface to filter IPC messages and receive frame change
1222 // notifications. 1223 // notifications.
1223 // --------------------------------------------------------------------------- 1224 // ---------------------------------------------------------------------------
1224 1225
1225 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1226 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1226 }; 1227 };
1227 1228
1228 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1229 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698