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

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

Issue 21039: Revert my change to get the tree green. Not sure why the tests became flaky.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "chrome/browser/autofill_manager.h" 12 #include "chrome/browser/autofill_manager.h"
13 #include "chrome/common/render_messages.h"
13 #include "net/base/load_states.h" 14 #include "net/base/load_states.h"
14 #include "webkit/glue/webpreferences.h" 15 #include "webkit/glue/webpreferences.h"
15 #include "webkit/glue/window_open_disposition.h"
16 16
17 class NavigationEntry; 17 class NavigationEntry;
18 class Profile; 18 class Profile;
19 class RenderProcessHost; 19 class RenderProcessHost;
20 class RenderViewHost; 20 class RenderViewHost;
21 class SkBitmap; 21 class SkBitmap;
22 class WebContents; 22 class WebContents;
23 class WebKeyboardEvent;
24 struct ThumbnailScore;
25 struct ViewHostMsg_ContextMenu_Params;
26 struct ViewHostMsg_DidPrintPage_Params;
27 struct ViewHostMsg_FrameNavigate_Params;
28 struct WebDropData; 23 struct WebDropData;
24 enum WindowOpenDisposition;
29 25
30 namespace base { 26 namespace base {
31 class WaitableEvent; 27 class WaitableEvent;
32 } 28 }
33 29
34 namespace IPC { 30 namespace IPC {
35 class Message; 31 class Message;
36 } 32 }
37 33
38 namespace gfx { 34 namespace gfx {
39 class Rect; 35 class Rect;
40 } 36 }
41 37
42 namespace webkit_glue {
43 struct WebApplicationInfo;
44 }
45
46 // 38 //
47 // RenderViewHostDelegate 39 // RenderViewHostDelegate
48 // 40 //
49 // An interface implemented by an object interested in knowing about the state 41 // An interface implemented by an object interested in knowing about the state
50 // of the RenderViewHost. 42 // of the RenderViewHost.
51 // 43 //
52 // This interface currently encompasses every type of message that was 44 // This interface currently encompasses every type of message that was
53 // previously being sent by WebContents itself. Some of these notifications 45 // previously being sent by WebContents itself. Some of these notifications
54 // may not be relevant to all users of RenderViewHost and we should consider 46 // may not be relevant to all users of RenderViewHost and we should consider
55 // exposing a more generic Send function on RenderViewHost and a response 47 // exposing a more generic Send function on RenderViewHost and a response
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // page. This is used to avoid uninitiated user downloads (aka carpet 384 // page. This is used to avoid uninitiated user downloads (aka carpet
393 // bombing), see DownloadRequestManager for details. 385 // bombing), see DownloadRequestManager for details.
394 virtual void OnEnterOrSpace() { } 386 virtual void OnEnterOrSpace() { }
395 387
396 // If this view can be terminated without any side effects 388 // If this view can be terminated without any side effects
397 virtual bool CanTerminate() const { return true; } 389 virtual bool CanTerminate() const { return true; }
398 }; 390 };
399 391
400 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 392 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
401 393
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698