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

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

Issue 9517010: Change panels to be able to turn off autoresize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix assert at the end of RenderWidget::Resize which fixes the tests on OSX. Created 8 years, 9 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/public/browser/web_contents_delegate.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) 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_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 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 void OnDragTargetDragEnter(const WebDropData& drop_data, 815 void OnDragTargetDragEnter(const WebDropData& drop_data,
816 const gfx::Point& client_pt, 816 const gfx::Point& client_pt,
817 const gfx::Point& screen_pt, 817 const gfx::Point& screen_pt,
818 WebKit::WebDragOperationsMask operations_allowed); 818 WebKit::WebDragOperationsMask operations_allowed);
819 void OnDragTargetDragLeave(); 819 void OnDragTargetDragLeave();
820 void OnDragTargetDragOver(const gfx::Point& client_pt, 820 void OnDragTargetDragOver(const gfx::Point& client_pt,
821 const gfx::Point& screen_pt, 821 const gfx::Point& screen_pt,
822 WebKit::WebDragOperationsMask operations_allowed); 822 WebKit::WebDragOperationsMask operations_allowed);
823 void OnEnablePreferredSizeChangedMode(); 823 void OnEnablePreferredSizeChangedMode();
824 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 824 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
825 void OnDisableAutoResize(const gfx::Size& new_size);
825 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); 826 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths);
826 void OnExecuteEditCommand(const std::string& name, const std::string& value); 827 void OnExecuteEditCommand(const std::string& name, const std::string& value);
827 void OnFileChooserResponse(const std::vector<FilePath>& paths); 828 void OnFileChooserResponse(const std::vector<FilePath>& paths);
828 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 829 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
829 void OnFindReplyAck(); 830 void OnFindReplyAck();
830 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 831 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
831 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 832 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
832 const std::vector<GURL>& links, 833 const std::vector<GURL>& links,
833 const std::vector<FilePath>& local_paths, 834 const std::vector<FilePath>& local_paths,
834 const FilePath& local_directory_name); 835 const FilePath& local_directory_name);
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 // bunch of stuff, you should probably create a helper class and put your 1289 // bunch of stuff, you should probably create a helper class and put your
1289 // data and methods on that to avoid bloating RenderView more. You can 1290 // data and methods on that to avoid bloating RenderView more. You can
1290 // use the Observer interface to filter IPC messages and receive frame change 1291 // use the Observer interface to filter IPC messages and receive frame change
1291 // notifications. 1292 // notifications.
1292 // --------------------------------------------------------------------------- 1293 // ---------------------------------------------------------------------------
1293 1294
1294 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1295 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1295 }; 1296 };
1296 1297
1297 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1298 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698