| OLD | NEW |
| 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 // WebCore provides hooks for several kinds of functionality, allowing separate | 5 // WebCore provides hooks for several kinds of functionality, allowing separate |
| 6 // classes termed "delegates" to receive notifications (in the form of direct | 6 // classes termed "delegates" to receive notifications (in the form of direct |
| 7 // function calls) when certain events are about to occur or have just occurred. | 7 // function calls) when certain events are about to occur or have just occurred. |
| 8 // In some cases, the delegate implements the needed functionality; in others, | 8 // In some cases, the delegate implements the needed functionality; in others, |
| 9 // the delegate has some control over the behavior but doesn't actually | 9 // the delegate has some control over the behavior but doesn't actually |
| 10 // implement it. For example, the UI delegate is responsible for showing a | 10 // implement it. For example, the UI delegate is responsible for showing a |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 // the needed functionality of the WebKit UIDelegate, ContextMenuDelegate, | 21 // the needed functionality of the WebKit UIDelegate, ContextMenuDelegate, |
| 22 // PolicyDelegate, FrameLoadDelegate, and EditorDelegate; additional portions | 22 // PolicyDelegate, FrameLoadDelegate, and EditorDelegate; additional portions |
| 23 // of ChromeClient and FrameLoaderClient not delegated in the WebKit | 23 // of ChromeClient and FrameLoaderClient not delegated in the WebKit |
| 24 // implementation; and some WebView additions. | 24 // implementation; and some WebView additions. |
| 25 | 25 |
| 26 #ifndef WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ | 26 #ifndef WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ |
| 27 #define WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ | 27 #define WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ |
| 28 | 28 |
| 29 #include <vector> | 29 #include <vector> |
| 30 | 30 |
| 31 #include "base/file_path.h" |
| 31 #include "webkit/glue/context_menu.h" | 32 #include "webkit/glue/context_menu.h" |
| 32 #include "webkit/glue/webdatasource.h" | 33 #include "webkit/glue/webdatasource.h" |
| 33 #include "webkit/glue/webwidget_delegate.h" | 34 #include "webkit/glue/webwidget_delegate.h" |
| 34 | 35 |
| 35 namespace gfx { | 36 namespace gfx { |
| 36 class Point; | 37 class Point; |
| 37 class Rect; | 38 class Rect; |
| 38 } | 39 } |
| 39 | 40 |
| 40 namespace webkit_glue { | 41 namespace webkit_glue { |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 virtual void DidAddHistoryItem() { } | 791 virtual void DidAddHistoryItem() { } |
| 791 | 792 |
| 792 WebViewDelegate() { } | 793 WebViewDelegate() { } |
| 793 virtual ~WebViewDelegate() { } | 794 virtual ~WebViewDelegate() { } |
| 794 | 795 |
| 795 private: | 796 private: |
| 796 DISALLOW_COPY_AND_ASSIGN(WebViewDelegate); | 797 DISALLOW_COPY_AND_ASSIGN(WebViewDelegate); |
| 797 }; | 798 }; |
| 798 | 799 |
| 799 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ | 800 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |