OLD | NEW |
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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/process/kill.h" | 13 #include "base/process/kill.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 15 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "net/base/load_states.h" | 17 #include "net/base/load_states.h" |
18 #include "third_party/WebKit/public/web/WebPopupType.h" | 18 #include "third_party/WebKit/public/web/WebPopupType.h" |
19 #include "ui/base/window_open_disposition.h" | 19 #include "ui/base/window_open_disposition.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 class SkBitmap; | |
23 struct FrameHostMsg_DidCommitProvisionalLoad_Params; | |
24 | |
25 namespace base { | |
26 class ListValue; | |
27 class TimeTicks; | |
28 } | |
29 | 22 |
30 namespace IPC { | 23 namespace IPC { |
31 class Message; | 24 class Message; |
32 } | 25 } |
33 | 26 |
34 namespace gfx { | 27 namespace gfx { |
35 class Rect; | 28 class Rect; |
36 class Size; | 29 class Size; |
37 } | 30 } |
38 | 31 |
39 namespace content { | 32 namespace content { |
40 | 33 |
41 class BrowserContext; | 34 class BrowserContext; |
42 class CrossSiteTransferringRequest; | |
43 class FrameTree; | 35 class FrameTree; |
44 class PageState; | 36 class PageState; |
45 class RenderViewHost; | 37 class RenderViewHost; |
46 class RenderViewHostDelegateView; | 38 class RenderViewHostDelegateView; |
47 class SessionStorageNamespace; | 39 class SessionStorageNamespace; |
48 class SiteInstance; | 40 class SiteInstance; |
49 class WebContents; | 41 class WebContents; |
50 class WebContentsImpl; | |
51 struct FileChooserParams; | |
52 struct GlobalRequestID; | |
53 struct NativeWebKeyboardEvent; | |
54 struct Referrer; | |
55 struct RendererPreferences; | 42 struct RendererPreferences; |
56 struct WebPreferences; | |
57 | 43 |
58 namespace mojom { | 44 namespace mojom { |
59 class CreateNewWindowParams; | 45 class CreateNewWindowParams; |
60 } | 46 } |
61 | 47 |
62 // | 48 // |
63 // RenderViewHostDelegate | 49 // RenderViewHostDelegate |
64 // | 50 // |
65 // An interface implemented by an object interested in knowing about the state | 51 // An interface implemented by an object interested in knowing about the state |
66 // of the RenderViewHost. | 52 // of the RenderViewHost. |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 // Whether download UI should be hidden. | 230 // Whether download UI should be hidden. |
245 virtual bool HideDownloadUI() const; | 231 virtual bool HideDownloadUI() const; |
246 | 232 |
247 protected: | 233 protected: |
248 virtual ~RenderViewHostDelegate() {} | 234 virtual ~RenderViewHostDelegate() {} |
249 }; | 235 }; |
250 | 236 |
251 } // namespace content | 237 } // namespace content |
252 | 238 |
253 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 239 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |