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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 3547008: Handle resize corner layout entirely in the platform BrowserWindow*/BrowserView* code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 826
827 // Notification from the renderer host that blocked UI event occurred. 827 // Notification from the renderer host that blocked UI event occurred.
828 // This happens when there are tab-modal dialogs. In this case, the 828 // This happens when there are tab-modal dialogs. In this case, the
829 // notification is needed to let us draw attention to the dialog (i.e. 829 // notification is needed to let us draw attention to the dialog (i.e.
830 // refocus on the modal dialog, flash title etc). 830 // refocus on the modal dialog, flash title etc).
831 virtual void OnIgnoredUIEvent() {} 831 virtual void OnIgnoredUIEvent() {}
832 832
833 // Notification from the renderer that JS runs out of memory. 833 // Notification from the renderer that JS runs out of memory.
834 virtual void OnJSOutOfMemory() {} 834 virtual void OnJSOutOfMemory() {}
835 835
836 // Return the rect where to display the resize corner, if any, otherwise
837 // an empty rect.
838 virtual gfx::Rect GetRootWindowResizerRect() const;
839
840 // Notification that the renderer has become unresponsive. The 836 // Notification that the renderer has become unresponsive. The
841 // delegate can use this notification to show a warning to the user. 837 // delegate can use this notification to show a warning to the user.
842 virtual void RendererUnresponsive(RenderViewHost* render_view_host, 838 virtual void RendererUnresponsive(RenderViewHost* render_view_host,
843 bool is_during_unload) {} 839 bool is_during_unload) {}
844 840
845 // Notification that a previously unresponsive renderer has become 841 // Notification that a previously unresponsive renderer has become
846 // responsive again. The delegate can use this notification to end the 842 // responsive again. The delegate can use this notification to end the
847 // warning shown to the user. 843 // warning shown to the user.
848 virtual void RendererResponsive(RenderViewHost* render_view_host) {} 844 virtual void RendererResponsive(RenderViewHost* render_view_host) {}
849 845
(...skipping 16 matching lines...) Expand all
866 bool remember) {} 862 bool remember) {}
867 863
868 // Update the content restrictions, i.e. disable print/copy. 864 // Update the content restrictions, i.e. disable print/copy.
869 virtual void UpdateContentRestrictions(int restrictions) {} 865 virtual void UpdateContentRestrictions(int restrictions) {}
870 866
871 protected: 867 protected:
872 virtual ~RenderViewHostDelegate() {} 868 virtual ~RenderViewHostDelegate() {}
873 }; 869 };
874 870
875 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 871 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698