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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 bool* is_keyboard_shortcut); | 113 bool* is_keyboard_shortcut); |
114 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} | 114 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} |
115 virtual void HandleMouseMove() {} | 115 virtual void HandleMouseMove() {} |
116 virtual void HandleMouseDown() {} | 116 virtual void HandleMouseDown() {} |
117 virtual void HandleMouseLeave() {} | 117 virtual void HandleMouseLeave() {} |
118 virtual void HandleMouseUp() {} | 118 virtual void HandleMouseUp() {} |
119 virtual void HandleMouseActivate() {} | 119 virtual void HandleMouseActivate() {} |
120 virtual void UpdatePreferredSize(const gfx::Size& new_size) {} | 120 virtual void UpdatePreferredSize(const gfx::Size& new_size) {} |
121 | 121 |
122 // NotificationObserver | 122 // NotificationObserver |
123 virtual void Observe(NotificationType type, | 123 virtual void Observe(int type, |
124 const NotificationSource& source, | 124 const NotificationSource& source, |
125 const NotificationDetails& details); | 125 const NotificationDetails& details); |
126 | 126 |
127 // Overridden from JavaScriptDialogDelegate: | 127 // Overridden from JavaScriptDialogDelegate: |
128 virtual void OnDialogClosed(IPC::Message* reply_msg, | 128 virtual void OnDialogClosed(IPC::Message* reply_msg, |
129 bool success, | 129 bool success, |
130 const string16& user_input) OVERRIDE; | 130 const string16& user_input) OVERRIDE; |
131 virtual gfx::NativeWindow GetDialogRootWindow() OVERRIDE; | 131 virtual gfx::NativeWindow GetDialogRootWindow() OVERRIDE; |
132 | 132 |
133 virtual void UpdateInspectorSetting(const std::string& key, | 133 virtual void UpdateInspectorSetting(const std::string& key, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 BackgroundContents* contents; | 169 BackgroundContents* contents; |
170 | 170 |
171 // The name of the parent frame for these contents. | 171 // The name of the parent frame for these contents. |
172 const string16& frame_name; | 172 const string16& frame_name; |
173 | 173 |
174 // The ID of the parent application (if any). | 174 // The ID of the parent application (if any). |
175 const string16& application_id; | 175 const string16& application_id; |
176 }; | 176 }; |
177 | 177 |
178 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 178 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
OLD | NEW |