| 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 void OnMsgRequestMove(const gfx::Rect& pos); | 407 void OnMsgRequestMove(const gfx::Rect& pos); |
| 408 void OnMsgDidStartLoading(); | 408 void OnMsgDidStartLoading(); |
| 409 void OnMsgDidStopLoading(); | 409 void OnMsgDidStopLoading(); |
| 410 void OnMsgDidChangeLoadProgress(double load_progress); | 410 void OnMsgDidChangeLoadProgress(double load_progress); |
| 411 void OnMsgDocumentAvailableInMainFrame(); | 411 void OnMsgDocumentAvailableInMainFrame(); |
| 412 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 412 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
| 413 void OnMsgContextMenu(const ContextMenuParams& params); | 413 void OnMsgContextMenu(const ContextMenuParams& params); |
| 414 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 414 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
| 415 WindowOpenDisposition disposition); | 415 WindowOpenDisposition disposition); |
| 416 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); | 416 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 417 void OnMsgSetTooltipText(const std::wstring& tooltip_text, | |
| 418 WebKit::WebTextDirection text_direction_hint); | |
| 419 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range); | 417 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range); |
| 420 void OnMsgPasteFromSelectionClipboard(); | 418 void OnMsgPasteFromSelectionClipboard(); |
| 421 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 419 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
| 422 const std::wstring& default_prompt, | 420 const std::wstring& default_prompt, |
| 423 const GURL& frame_url, | 421 const GURL& frame_url, |
| 424 const int flags, | 422 const int flags, |
| 425 IPC::Message* reply_msg); | 423 IPC::Message* reply_msg); |
| 426 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 424 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
| 427 const std::wstring& message, | 425 const std::wstring& message, |
| 428 IPC::Message* reply_msg); | 426 IPC::Message* reply_msg); |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 // The termination status of the last render view that terminated. | 528 // The termination status of the last render view that terminated. |
| 531 base::TerminationStatus render_view_termination_status_; | 529 base::TerminationStatus render_view_termination_status_; |
| 532 | 530 |
| 533 // A list of observers that filter messages. Weak references. | 531 // A list of observers that filter messages. Weak references. |
| 534 ObserverList<RenderViewHostObserver> observers_; | 532 ObserverList<RenderViewHostObserver> observers_; |
| 535 | 533 |
| 536 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 534 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 537 }; | 535 }; |
| 538 | 536 |
| 539 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 537 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |