OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_NOTIFICATIONS_BALLOON_HOST_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual void ShowContextMenu(const ContextMenuParams& params) {} | 96 virtual void ShowContextMenu(const ContextMenuParams& params) {} |
97 virtual void StartDragging(const WebDropData& drop_data, | 97 virtual void StartDragging(const WebDropData& drop_data, |
98 WebKit::WebDragOperationsMask allowed_ops) {} | 98 WebKit::WebDragOperationsMask allowed_ops) {} |
99 virtual void StartDragging(const WebDropData&, | 99 virtual void StartDragging(const WebDropData&, |
100 WebKit::WebDragOperationsMask, | 100 WebKit::WebDragOperationsMask, |
101 const SkBitmap&, | 101 const SkBitmap&, |
102 const gfx::Point&) {} | 102 const gfx::Point&) {} |
103 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} | 103 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} |
104 virtual void GotFocus() {} | 104 virtual void GotFocus() {} |
105 virtual void TakeFocus(bool reverse) {} | 105 virtual void TakeFocus(bool reverse) {} |
| 106 virtual void Activate() {} |
| 107 virtual void Deactivate() {} |
106 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 108 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
107 bool* is_keyboard_shortcut) { | 109 bool* is_keyboard_shortcut) { |
108 return false; | 110 return false; |
109 } | 111 } |
110 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} | 112 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} |
111 virtual void HandleMouseMove() {} | 113 virtual void HandleMouseMove() {} |
112 virtual void HandleMouseDown() {} | 114 virtual void HandleMouseDown() {} |
113 virtual void HandleMouseLeave() {} | 115 virtual void HandleMouseLeave() {} |
114 virtual void UpdatePreferredSize(const gfx::Size& pref_size); | 116 virtual void UpdatePreferredSize(const gfx::Size& pref_size); |
115 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 117 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
(...skipping 28 matching lines...) Expand all Loading... |
144 | 146 |
145 // Common implementations of some RenderViewHostDelegate::View methods. | 147 // Common implementations of some RenderViewHostDelegate::View methods. |
146 RenderViewHostDelegateViewHelper delegate_view_helper_; | 148 RenderViewHostDelegateViewHelper delegate_view_helper_; |
147 | 149 |
148 // Handles requests to extension APIs. Will only be non-NULL if we are | 150 // Handles requests to extension APIs. Will only be non-NULL if we are |
149 // rendering a page from an extension. | 151 // rendering a page from an extension. |
150 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 152 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
151 }; | 153 }; |
152 | 154 |
153 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 155 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
OLD | NEW |