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

Side by Side Diff: content/public/browser/render_view_host_delegate.h

Issue 9265018: Change grow box computation back to a method on BrowserWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 11 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/common/view_messages.h ('k') | content/public/browser/web_contents_delegate.h » ('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_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 // Return this object cast to a TabContents, if it is one. If the object is 197 // Return this object cast to a TabContents, if it is one. If the object is
198 // not a TabContents, returns NULL. DEPRECATED: Be sure to include brettw or 198 // not a TabContents, returns NULL. DEPRECATED: Be sure to include brettw or
199 // jam as reviewers before you use this method. http://crbug.com/82582 199 // jam as reviewers before you use this method. http://crbug.com/82582
200 virtual TabContents* GetAsTabContents(); 200 virtual TabContents* GetAsTabContents();
201 virtual content::WebContents* GetAsWebContents(); 201 virtual content::WebContents* GetAsWebContents();
202 202
203 // Return type of RenderView which is attached with this object. 203 // Return type of RenderView which is attached with this object.
204 virtual content::ViewType GetRenderViewType() const = 0; 204 virtual content::ViewType GetRenderViewType() const = 0;
205 205
206 // Return the rect where to display the resize corner, if any, otherwise
207 // an empty rect.
208 virtual gfx::Rect GetRootWindowResizerRect() const = 0;
209
206 // The RenderView is being constructed (message sent to the renderer process 210 // The RenderView is being constructed (message sent to the renderer process
207 // to construct a RenderView). Now is a good time to send other setup events 211 // to construct a RenderView). Now is a good time to send other setup events
208 // to the RenderView. This precedes any other commands to the RenderView. 212 // to the RenderView. This precedes any other commands to the RenderView.
209 virtual void RenderViewCreated(RenderViewHost* render_view_host) {} 213 virtual void RenderViewCreated(RenderViewHost* render_view_host) {}
210 214
211 // The RenderView has been constructed. 215 // The RenderView has been constructed.
212 virtual void RenderViewReady(RenderViewHost* render_view_host) {} 216 virtual void RenderViewReady(RenderViewHost* render_view_host) {}
213 217
214 // The RenderView died somehow (crashed or was killed by the user). 218 // The RenderView died somehow (crashed or was killed by the user).
215 virtual void RenderViewGone(RenderViewHost* render_view_host, 219 virtual void RenderViewGone(RenderViewHost* render_view_host,
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // Notification that the view has lost the mouse lock. 400 // Notification that the view has lost the mouse lock.
397 virtual void LostMouseLock() {} 401 virtual void LostMouseLock() {}
398 402
399 protected: 403 protected:
400 virtual ~RenderViewHostDelegate() {} 404 virtual ~RenderViewHostDelegate() {}
401 }; 405 };
402 406
403 } // namespace content 407 } // namespace content
404 408
405 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 409 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698