Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 18768: POSIX: gfx::NativeViewId and CrossProcessEvent (Closed)
Patch Set: Addressing Brett's comments Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDER_VIEW_HOST_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "chrome/browser/renderer_host/render_view_host_delegate.h" 12 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
13 #include "chrome/browser/renderer_host/render_widget_host.h" 13 #include "chrome/browser/renderer_host/render_widget_host.h"
14 #include "chrome/common/modal_dialog_event.h"
14 #include "chrome/common/page_zoom.h" 15 #include "chrome/common/page_zoom.h"
15 #ifdef CHROME_PERSONALIZATION 16 #ifdef CHROME_PERSONALIZATION
16 #include "chrome/personalization/personalization.h" 17 #include "chrome/personalization/personalization.h"
17 #endif 18 #endif
18 #include "webkit/glue/password_form_dom_manager.h" 19 #include "webkit/glue/password_form_dom_manager.h"
19 #include "webkit/glue/autofill_form.h" 20 #include "webkit/glue/autofill_form.h"
20 21
21 enum ConsoleMessageLevel; 22 enum ConsoleMessageLevel;
22 class NavigationEntry; 23 class NavigationEntry;
23 class RenderViewHostDelegate; 24 class RenderViewHostDelegate;
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 virtual bool CanBlur() const; 410 virtual bool CanBlur() const;
410 411
411 protected: 412 protected:
412 // RenderWidgetHost protected overrides. 413 // RenderWidgetHost protected overrides.
413 virtual void UnhandledInputEvent(const WebInputEvent& event); 414 virtual void UnhandledInputEvent(const WebInputEvent& event);
414 virtual void OnEnterOrSpace(); 415 virtual void OnEnterOrSpace();
415 virtual void NotifyRendererUnresponsive(); 416 virtual void NotifyRendererUnresponsive();
416 virtual void NotifyRendererResponsive(); 417 virtual void NotifyRendererResponsive();
417 418
418 // IPC message handlers. 419 // IPC message handlers.
419 void OnMsgCreateWindow(int route_id, HANDLE modal_dialog_event); 420 void OnMsgCreateWindow(int route_id, ModalDialogEvent modal_dialog_event);
420 void OnMsgCreateWidget(int route_id, bool activatable); 421 void OnMsgCreateWidget(int route_id, bool activatable);
421 void OnMsgShowView(int route_id, 422 void OnMsgShowView(int route_id,
422 WindowOpenDisposition disposition, 423 WindowOpenDisposition disposition,
423 const gfx::Rect& initial_pos, 424 const gfx::Rect& initial_pos,
424 bool user_gesture); 425 bool user_gesture);
425 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); 426 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos);
426 void OnMsgRunModal(IPC::Message* reply_msg); 427 void OnMsgRunModal(IPC::Message* reply_msg);
427 void OnMsgRendererReady(); 428 void OnMsgRendererReady();
428 void OnMsgRendererGone(); 429 void OnMsgRendererGone();
429 void OnMsgNavigate(const IPC::Message& msg); 430 void OnMsgNavigate(const IPC::Message& msg);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 virtual ~RenderViewHostFactory() {} 614 virtual ~RenderViewHostFactory() {}
614 615
615 virtual RenderViewHost* CreateRenderViewHost( 616 virtual RenderViewHost* CreateRenderViewHost(
616 SiteInstance* instance, 617 SiteInstance* instance,
617 RenderViewHostDelegate* delegate, 618 RenderViewHostDelegate* delegate,
618 int routing_id, 619 int routing_id,
619 base::WaitableEvent* modal_dialog_event) = 0; 620 base::WaitableEvent* modal_dialog_event) = 0;
620 }; 621 };
621 622
622 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ 623 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__
OLDNEW
« no previous file with comments | « chrome/browser/download/download_file.h ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698