OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 virtual bool HandleContextMenu( | 74 virtual bool HandleContextMenu( |
75 const content::ContextMenuParams& params) OVERRIDE; | 75 const content::ContextMenuParams& params) OVERRIDE; |
76 | 76 |
77 // GuestDelegate implementation. | 77 // GuestDelegate implementation. |
78 virtual void AddMessageToConsole(int32 level, | 78 virtual void AddMessageToConsole(int32 level, |
79 const base::string16& message, | 79 const base::string16& message, |
80 int32 line_no, | 80 int32 line_no, |
81 const base::string16& source_id) OVERRIDE; | 81 const base::string16& source_id) OVERRIDE; |
82 virtual void LoadProgressed(double progress) OVERRIDE; | 82 virtual void LoadProgressed(double progress) OVERRIDE; |
83 virtual void Close() OVERRIDE; | 83 virtual void Close() OVERRIDE; |
84 virtual void DidAttach() OVERRIDE; | 84 virtual void DidAttach(const base::DictionaryValue& extra_params) OVERRIDE; |
85 virtual void EmbedderDestroyed() OVERRIDE; | 85 virtual void EmbedderDestroyed() OVERRIDE; |
86 virtual void FindReply(int request_id, | 86 virtual void FindReply(int request_id, |
87 int number_of_matches, | 87 int number_of_matches, |
88 const gfx::Rect& selection_rect, | 88 const gfx::Rect& selection_rect, |
89 int active_match_ordinal, | 89 int active_match_ordinal, |
90 bool final_update) OVERRIDE; | 90 bool final_update) OVERRIDE; |
91 virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE; | 91 virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE; |
92 virtual void HandleKeyboardEvent( | 92 virtual void HandleKeyboardEvent( |
93 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 93 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
94 virtual bool IsDragAndDropEnabled() OVERRIDE; | 94 virtual bool IsDragAndDropEnabled() OVERRIDE; |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 name(name) {} | 427 name(name) {} |
428 }; | 428 }; |
429 | 429 |
430 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; | 430 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; |
431 PendingWindowMap pending_new_windows_; | 431 PendingWindowMap pending_new_windows_; |
432 | 432 |
433 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 433 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
434 }; | 434 }; |
435 | 435 |
436 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 436 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
OLD | NEW |