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 #include <vector> | 10 #include <vector> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 WebKit::WebDragOperationsMask, | 86 WebKit::WebDragOperationsMask, |
87 const SkBitmap&, | 87 const SkBitmap&, |
88 const gfx::Point&) {} | 88 const gfx::Point&) {} |
89 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} | 89 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} |
90 virtual void GotFocus() {} | 90 virtual void GotFocus() {} |
91 virtual void TakeFocus(bool reverse) {} | 91 virtual void TakeFocus(bool reverse) {} |
92 virtual void LostCapture() {} | 92 virtual void LostCapture() {} |
93 virtual void Activate() {} | 93 virtual void Activate() {} |
94 virtual void Deactivate() {} | 94 virtual void Deactivate() {} |
95 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 95 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
96 bool* is_keyboard_shortcut) { | 96 bool* is_keyboard_shortcut); |
97 return false; | |
98 } | |
99 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} | 97 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} |
100 virtual void HandleMouseMove() {} | 98 virtual void HandleMouseMove() {} |
101 virtual void HandleMouseDown(); | 99 virtual void HandleMouseDown(); |
102 virtual void HandleMouseLeave() {} | 100 virtual void HandleMouseLeave() {} |
103 virtual void HandleMouseUp() {} | 101 virtual void HandleMouseUp() {} |
104 virtual void HandleMouseActivate() {} | 102 virtual void HandleMouseActivate() {} |
105 virtual void UpdatePreferredSize(const gfx::Size& pref_size); | 103 virtual void UpdatePreferredSize(const gfx::Size& pref_size); |
106 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 104 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
107 | 105 |
108 // Enable DOM UI. This has to be called before renderer is created. | 106 // Enable DOM UI. This has to be called before renderer is created. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 146 |
149 // Handles requests to extension APIs. Will only be non-NULL if we are | 147 // Handles requests to extension APIs. Will only be non-NULL if we are |
150 // rendering a page from an extension. | 148 // rendering a page from an extension. |
151 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 149 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
152 | 150 |
153 // A flag to enable DOM UI. | 151 // A flag to enable DOM UI. |
154 bool enable_dom_ui_; | 152 bool enable_dom_ui_; |
155 }; | 153 }; |
156 | 154 |
157 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 155 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
OLD | NEW |