Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 virtual void ShowCreatedWidget(int route_id, | 82 virtual void ShowCreatedWidget(int route_id, |
| 83 const gfx::Rect& initial_pos) {} | 83 const gfx::Rect& initial_pos) {} |
| 84 virtual void ShowCreatedFullscreenWidget(int route_id) {} | 84 virtual void ShowCreatedFullscreenWidget(int route_id) {} |
| 85 virtual void ShowContextMenu(const ContextMenuParams& params) {} | 85 virtual void ShowContextMenu(const ContextMenuParams& params) {} |
| 86 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 86 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| 87 int item_height, | 87 int item_height, |
| 88 double item_font_size, | 88 double item_font_size, |
| 89 int selected_item, | 89 int selected_item, |
| 90 const std::vector<WebMenuItem>& items, | 90 const std::vector<WebMenuItem>& items, |
| 91 bool right_aligned) {} | 91 bool right_aligned) {} |
| 92 virtual void StartDragging(const WebDropData& drop_data, | |
|
Aaron Boodman
2011/02/22 21:49:01
rebase needed?
dcheng
2011/02/23 02:33:37
The original patch modified lines in this file and
| |
| 93 WebKit::WebDragOperationsMask allowed_ops) {} | |
| 94 virtual void StartDragging(const WebDropData&, | 92 virtual void StartDragging(const WebDropData&, |
| 95 WebKit::WebDragOperationsMask, | 93 WebKit::WebDragOperationsMask, |
| 96 const SkBitmap&, | 94 const SkBitmap&, |
| 97 const gfx::Point&) {} | 95 const gfx::Point&) {} |
| 98 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} | 96 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} |
| 99 virtual void GotFocus() {} | 97 virtual void GotFocus() {} |
| 100 virtual void TakeFocus(bool reverse) {} | 98 virtual void TakeFocus(bool reverse) {} |
| 101 virtual void LostCapture() {} | 99 virtual void LostCapture() {} |
| 102 virtual void Activate() {} | 100 virtual void Activate() {} |
| 103 virtual void Deactivate() {} | 101 virtual void Deactivate() {} |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 // rendering a page from an extension. | 152 // rendering a page from an extension. |
| 155 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 153 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
| 156 | 154 |
| 157 // A flag to enable Web UI. | 155 // A flag to enable Web UI. |
| 158 bool enable_web_ui_; | 156 bool enable_web_ui_; |
| 159 | 157 |
| 160 NotificationRegistrar registrar_; | 158 NotificationRegistrar registrar_; |
| 161 }; | 159 }; |
| 162 | 160 |
| 163 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 161 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
| OLD | NEW |