OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 void OnRenderAutoResized(const gfx::Size& size) override; | 327 void OnRenderAutoResized(const gfx::Size& size) override; |
328 void RequestToLockMouse(bool user_gesture, | 328 void RequestToLockMouse(bool user_gesture, |
329 bool last_unlocked_by_target) override; | 329 bool last_unlocked_by_target) override; |
330 bool IsFullscreen() const override; | 330 bool IsFullscreen() const override; |
331 void OnFocus() override; | 331 void OnFocus() override; |
332 void OnBlur() override; | 332 void OnBlur() override; |
333 | 333 |
334 // IPC message handlers. | 334 // IPC message handlers. |
335 void OnShowView(int route_id, | 335 void OnShowView(int route_id, |
336 WindowOpenDisposition disposition, | 336 WindowOpenDisposition disposition, |
337 const gfx::Rect& initial_pos, | 337 const gfx::Rect& initial_rect, |
338 bool user_gesture); | 338 bool user_gesture); |
339 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 339 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); |
340 void OnShowFullscreenWidget(int route_id); | 340 void OnShowFullscreenWidget(int route_id); |
341 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 341 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
342 void OnRenderViewReady(); | 342 void OnRenderViewReady(); |
343 void OnRenderProcessGone(int status, int error_code); | 343 void OnRenderProcessGone(int status, int error_code); |
344 void OnUpdateState(int32 page_id, const PageState& state); | 344 void OnUpdateState(int32 page_id, const PageState& state); |
345 void OnUpdateTargetURL(const GURL& url); | 345 void OnUpdateTargetURL(const GURL& url); |
346 void OnClose(); | 346 void OnClose(); |
347 void OnRequestMove(const gfx::Rect& pos); | 347 void OnRequestMove(const gfx::Rect& pos); |
348 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); | 348 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); |
349 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 349 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 462 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
463 }; | 463 }; |
464 | 464 |
465 #if defined(COMPILER_MSVC) | 465 #if defined(COMPILER_MSVC) |
466 #pragma warning(pop) | 466 #pragma warning(pop) |
467 #endif | 467 #endif |
468 | 468 |
469 } // namespace content | 469 } // namespace content |
470 | 470 |
471 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 471 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |