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); | |
433 void OnMsgPasteFromSelectionClipboard(); | 432 void OnMsgPasteFromSelectionClipboard(); |
434 void OnMsgRunJavaScriptMessage(const string16& message, | 433 void OnMsgRunJavaScriptMessage(const string16& message, |
435 const string16& default_prompt, | 434 const string16& default_prompt, |
436 const GURL& frame_url, | 435 const GURL& frame_url, |
437 const int flags, | 436 const int flags, |
438 IPC::Message* reply_msg); | 437 IPC::Message* reply_msg); |
439 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 438 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
440 const string16& message, | 439 const string16& message, |
441 IPC::Message* reply_msg); | 440 IPC::Message* reply_msg); |
442 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... |
548 // The termination status of the last render view that terminated. | 547 // The termination status of the last render view that terminated. |
549 base::TerminationStatus render_view_termination_status_; | 548 base::TerminationStatus render_view_termination_status_; |
550 | 549 |
551 // A list of observers that filter messages. Weak references. | 550 // A list of observers that filter messages. Weak references. |
552 ObserverList<RenderViewHostObserver> observers_; | 551 ObserverList<RenderViewHostObserver> observers_; |
553 | 552 |
554 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 553 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
555 }; | 554 }; |
556 | 555 |
557 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 556 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |