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_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 int selected_item, | 101 int selected_item, |
102 const std::vector<WebMenuItem>& items, | 102 const std::vector<WebMenuItem>& items, |
103 bool right_aligned) {} | 103 bool right_aligned) {} |
104 virtual void StartDragging(const WebDropData& drop_data, | 104 virtual void StartDragging(const WebDropData& drop_data, |
105 WebKit::WebDragOperationsMask allowed_operations, | 105 WebKit::WebDragOperationsMask allowed_operations, |
106 const SkBitmap& image, | 106 const SkBitmap& image, |
107 const gfx::Point& image_offset) {} | 107 const gfx::Point& image_offset) {} |
108 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} | 108 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} |
109 virtual void GotFocus() {} | 109 virtual void GotFocus() {} |
110 virtual void TakeFocus(bool reverse) {} | 110 virtual void TakeFocus(bool reverse) {} |
111 virtual void UpdatePreferredSize(const gfx::Size& new_size) {} | |
112 | 111 |
113 // NotificationObserver | 112 // NotificationObserver |
114 virtual void Observe(int type, | 113 virtual void Observe(int type, |
115 const NotificationSource& source, | 114 const NotificationSource& source, |
116 const NotificationDetails& details); | 115 const NotificationDetails& details); |
117 | 116 |
118 // Overridden from JavaScriptDialogDelegate: | 117 // Overridden from JavaScriptDialogDelegate: |
119 virtual void OnDialogClosed(IPC::Message* reply_msg, | 118 virtual void OnDialogClosed(IPC::Message* reply_msg, |
120 bool success, | 119 bool success, |
121 const string16& user_input) OVERRIDE; | 120 const string16& user_input) OVERRIDE; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 BackgroundContents* contents; | 155 BackgroundContents* contents; |
157 | 156 |
158 // The name of the parent frame for these contents. | 157 // The name of the parent frame for these contents. |
159 const string16& frame_name; | 158 const string16& frame_name; |
160 | 159 |
161 // The ID of the parent application (if any). | 160 // The ID of the parent application (if any). |
162 const string16& application_id; | 161 const string16& application_id; |
163 }; | 162 }; |
164 | 163 |
165 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 164 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
OLD | NEW |