| 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 14 matching lines...) Expand all Loading... |
| 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 <string> | 29 #include <string> |
| 30 #include <vector> | 30 #include <vector> |
| 31 | 31 |
| 32 #include "base/basictypes.h" | 32 #include "base/basictypes.h" |
| 33 #include "base/logging.h" | 33 #include "base/logging.h" |
| 34 #include "googleurl/src/gurl.h" | 34 #include "googleurl/src/gurl.h" |
| 35 #include "webkit/glue/context_node_types.h" | 35 #include "webkit/glue/context_menu.h" |
| 36 #include "webkit/glue/webwidget_delegate.h" | 36 #include "webkit/glue/webwidget_delegate.h" |
| 37 #include "webkit/glue/window_open_disposition.h" | 37 #include "webkit/glue/window_open_disposition.h" |
| 38 | 38 |
| 39 namespace gfx { | 39 namespace gfx { |
| 40 class Point; | 40 class Point; |
| 41 class Rect; | 41 class Rect; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace webkit_glue { | 44 namespace webkit_glue { |
| 45 class WebMediaPlayerDelegate; | 45 class WebMediaPlayerDelegate; |
| (...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 | 770 |
| 771 WebViewDelegate() { } | 771 WebViewDelegate() { } |
| 772 virtual ~WebViewDelegate() { } | 772 virtual ~WebViewDelegate() { } |
| 773 | 773 |
| 774 private: | 774 private: |
| 775 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate); | 775 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate); |
| 776 }; | 776 }; |
| 777 | 777 |
| 778 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__ | 778 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__ |
| 779 | 779 |
| OLD | NEW |