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

Side by Side Diff: content/public/renderer/render_view_observer.h

Issue 23007021: Report Javascript Runtime Errors to the Error Console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ec_feldman
Patch Set: Created 7 years, 3 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) 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_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void DidRequestShowContextMenu( 83 virtual void DidRequestShowContextMenu(
84 WebKit::WebFrame* frame, 84 WebKit::WebFrame* frame,
85 const WebKit::WebContextMenuData& data) {} 85 const WebKit::WebContextMenuData& data) {}
86 virtual void DidCommitCompositorFrame() {} 86 virtual void DidCommitCompositorFrame() {}
87 87
88 // These match the RenderView methods. 88 // These match the RenderView methods.
89 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} 89 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {}
90 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} 90 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
91 virtual void DidHandleGestureEvent(const WebKit::WebGestureEvent& event) {} 91 virtual void DidHandleGestureEvent(const WebKit::WebGestureEvent& event) {}
92 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {} 92 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {}
93 virtual void OnDetailedConsoleMessageAdded(const base::string16& message,
jam 2013/08/30 16:04:39 this doesn't match this block (i.e. it doesn't mat
Devlin 2013/08/30 16:33:37 Separated, commented (with semantics for stack tra
94 const base::string16& source,
95 const base::string16& stack_trace,
96 int32 line_number,
97 int32 severity_level) {}
93 98
94 // These match incoming IPCs. 99 // These match incoming IPCs.
95 virtual void Navigate(const GURL& url) {} 100 virtual void Navigate(const GURL& url) {}
96 virtual void ClosePage() {} 101 virtual void ClosePage() {}
97 virtual void OrientationChangeEvent(int orientation) {} 102 virtual void OrientationChangeEvent(int orientation) {}
98 103
99 // IPC::Listener implementation. 104 // IPC::Listener implementation.
100 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 105 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
101 106
102 // IPC::Sender implementation. 107 // IPC::Sender implementation.
(...skipping 16 matching lines...) Expand all
119 RenderView* render_view_; 124 RenderView* render_view_;
120 // The routing ID of the associated RenderView. 125 // The routing ID of the associated RenderView.
121 int routing_id_; 126 int routing_id_;
122 127
123 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 128 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
124 }; 129 };
125 130
126 } // namespace content 131 } // namespace content
127 132
128 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 133 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698