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_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "chrome/browser/automation/automation_resource_routing_delegate.h" | 13 #include "chrome/browser/automation/automation_resource_routing_delegate.h" |
14 #include "chrome/browser/tab_contents/navigation_entry.h" | 14 #include "chrome/browser/tab_contents/navigation_entry.h" |
15 #include "chrome/common/content_settings_types.h" | 15 #include "chrome/common/content_settings_types.h" |
16 #include "chrome/common/navigation_types.h" | 16 #include "chrome/common/navigation_types.h" |
17 #include "chrome/common/page_transition_types.h" | 17 #include "chrome/common/page_transition_types.h" |
18 #include "gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
19 #include "webkit/glue/window_open_disposition.h" | 19 #include "webkit/glue/window_open_disposition.h" |
20 | 20 |
21 namespace gfx { | 21 namespace gfx { |
22 class Point; | 22 class Point; |
23 class Rect; | 23 class Rect; |
24 class Size; | 24 class Size; |
25 } | 25 } |
26 | 26 |
27 namespace history { | 27 namespace history { |
28 class HistoryAddPageArgs; | 28 class HistoryAddPageArgs; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 virtual void ContentRestrictionsChanged(TabContents* source); | 333 virtual void ContentRestrictionsChanged(TabContents* source); |
334 | 334 |
335 // Returns true if the hung renderer dialog should be shown. Default is true. | 335 // Returns true if the hung renderer dialog should be shown. Default is true. |
336 virtual bool ShouldShowHungRendererDialog(); | 336 virtual bool ShouldShowHungRendererDialog(); |
337 | 337 |
338 protected: | 338 protected: |
339 virtual ~TabContentsDelegate(); | 339 virtual ~TabContentsDelegate(); |
340 }; | 340 }; |
341 | 341 |
342 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 342 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
OLD | NEW |