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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 void OnMsgRequestMove(const gfx::Rect& pos); | 420 void OnMsgRequestMove(const gfx::Rect& pos); |
421 void OnMsgDidStartLoading(); | 421 void OnMsgDidStartLoading(); |
422 void OnMsgDidStopLoading(); | 422 void OnMsgDidStopLoading(); |
423 void OnMsgDidChangeLoadProgress(double load_progress); | 423 void OnMsgDidChangeLoadProgress(double load_progress); |
424 void OnMsgDocumentAvailableInMainFrame(); | 424 void OnMsgDocumentAvailableInMainFrame(); |
425 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 425 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
426 void OnMsgContextMenu(const ContextMenuParams& params); | 426 void OnMsgContextMenu(const ContextMenuParams& params); |
427 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 427 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
428 WindowOpenDisposition disposition); | 428 WindowOpenDisposition disposition); |
429 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); | 429 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); |
430 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range); | 430 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range, |
| 431 const gfx::Point& start, const gfx::Point& end); |
431 void OnMsgPasteFromSelectionClipboard(); | 432 void OnMsgPasteFromSelectionClipboard(); |
432 void OnMsgRunJavaScriptMessage(const string16& message, | 433 void OnMsgRunJavaScriptMessage(const string16& message, |
433 const string16& default_prompt, | 434 const string16& default_prompt, |
434 const GURL& frame_url, | 435 const GURL& frame_url, |
435 const int flags, | 436 const int flags, |
436 IPC::Message* reply_msg); | 437 IPC::Message* reply_msg); |
437 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 438 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
438 const string16& message, | 439 const string16& message, |
439 IPC::Message* reply_msg); | 440 IPC::Message* reply_msg); |
440 void OnMsgStartDragging(const WebDropData& drop_data, | 441 void OnMsgStartDragging(const WebDropData& drop_data, |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 // The termination status of the last render view that terminated. | 547 // The termination status of the last render view that terminated. |
547 base::TerminationStatus render_view_termination_status_; | 548 base::TerminationStatus render_view_termination_status_; |
548 | 549 |
549 // A list of observers that filter messages. Weak references. | 550 // A list of observers that filter messages. Weak references. |
550 ObserverList<RenderViewHostObserver> observers_; | 551 ObserverList<RenderViewHostObserver> observers_; |
551 | 552 |
552 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 553 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
553 }; | 554 }; |
554 | 555 |
555 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 556 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |