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