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