OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 25 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
26 #include "content/common/content_export.h" | 26 #include "content/common/content_export.h" |
27 #include "content/public/browser/ax_event_notification_details.h" | 27 #include "content/public/browser/ax_event_notification_details.h" |
28 #include "content/public/browser/color_chooser.h" | 28 #include "content/public/browser/color_chooser.h" |
29 #include "content/public/browser/notification_observer.h" | 29 #include "content/public/browser/notification_observer.h" |
30 #include "content/public/browser/notification_registrar.h" | 30 #include "content/public/browser/notification_registrar.h" |
31 #include "content/public/browser/web_contents.h" | 31 #include "content/public/browser/web_contents.h" |
32 #include "content/public/common/page_transition_types.h" | 32 #include "content/public/common/page_transition_types.h" |
33 #include "content/public/common/renderer_preferences.h" | 33 #include "content/public/common/renderer_preferences.h" |
34 #include "content/public/common/three_d_api_types.h" | 34 #include "content/public/common/three_d_api_types.h" |
| 35 #include "content/public/common/widget_visible_state.h" |
35 #include "net/base/load_states.h" | 36 #include "net/base/load_states.h" |
36 #include "third_party/WebKit/public/web/WebDragOperation.h" | 37 #include "third_party/WebKit/public/web/WebDragOperation.h" |
37 #include "ui/gfx/rect_f.h" | 38 #include "ui/gfx/rect_f.h" |
38 #include "ui/gfx/size.h" | 39 #include "ui/gfx/size.h" |
39 #include "webkit/common/resource_type.h" | 40 #include "webkit/common/resource_type.h" |
40 | 41 |
41 struct BrowserPluginHostMsg_ResizeGuest_Params; | 42 struct BrowserPluginHostMsg_ResizeGuest_Params; |
42 struct ViewHostMsg_DateTimeDialogValue_Params; | 43 struct ViewHostMsg_DateTimeDialogValue_Params; |
43 struct ViewMsg_PostMessage_Params; | 44 struct ViewMsg_PostMessage_Params; |
44 | 45 |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 void OnFirstVisuallyNonEmptyPaint(); | 756 void OnFirstVisuallyNonEmptyPaint(); |
756 void OnMediaPlayingNotification(int64 player_cookie, | 757 void OnMediaPlayingNotification(int64 player_cookie, |
757 bool has_video, | 758 bool has_video, |
758 bool has_audio); | 759 bool has_audio); |
759 void OnMediaPausedNotification(int64 player_cookie); | 760 void OnMediaPausedNotification(int64 player_cookie); |
760 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, | 761 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, |
761 const base::string16& main_text, | 762 const base::string16& main_text, |
762 const base::string16& sub_text); | 763 const base::string16& sub_text); |
763 void OnHideValidationMessage(); | 764 void OnHideValidationMessage(); |
764 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); | 765 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); |
765 | 766 void OnWidgetVisibleStateChanged(WidgetVisibleState widget_visible_state); |
766 | 767 |
767 // Called by derived classes to indicate that we're no longer waiting for a | 768 // Called by derived classes to indicate that we're no longer waiting for a |
768 // response. This won't actually update the throbber, but it will get picked | 769 // response. This won't actually update the throbber, but it will get picked |
769 // up at the next animation step if the throbber is going. | 770 // up at the next animation step if the throbber is going. |
770 void SetNotWaitingForResponse() { waiting_for_response_ = false; } | 771 void SetNotWaitingForResponse() { waiting_for_response_ = false; } |
771 | 772 |
772 // Navigation helpers -------------------------------------------------------- | 773 // Navigation helpers -------------------------------------------------------- |
773 // | 774 // |
774 // These functions are helpers for Navigate() and DidNavigate(). | 775 // These functions are helpers for Navigate() and DidNavigate(). |
775 | 776 |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 bool last_dialog_suppressed_; | 1099 bool last_dialog_suppressed_; |
1099 | 1100 |
1100 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1101 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
1101 | 1102 |
1102 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1103 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1103 }; | 1104 }; |
1104 | 1105 |
1105 } // namespace content | 1106 } // namespace content |
1106 | 1107 |
1107 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1108 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |