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

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

Issue 10890054: Reign in print throttling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase only Created 8 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 | Annotate | Revision Log
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const WebKit::WebURL& from) {} 69 const WebKit::WebURL& from) {}
70 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {} 70 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {}
71 virtual void FrameCreated(WebKit::WebFrame* parent, 71 virtual void FrameCreated(WebKit::WebFrame* parent,
72 WebKit::WebFrame* frame) {} 72 WebKit::WebFrame* frame) {}
73 virtual void FrameDetached(WebKit::WebFrame* frame) {} 73 virtual void FrameDetached(WebKit::WebFrame* frame) {}
74 virtual void FrameWillClose(WebKit::WebFrame* frame) {} 74 virtual void FrameWillClose(WebKit::WebFrame* frame) {}
75 virtual void WillSubmitForm(WebKit::WebFrame* frame, 75 virtual void WillSubmitForm(WebKit::WebFrame* frame,
76 const WebKit::WebFormElement& form) {} 76 const WebKit::WebFormElement& form) {}
77 virtual void DidCreateDataSource(WebKit::WebFrame* frame, 77 virtual void DidCreateDataSource(WebKit::WebFrame* frame,
78 WebKit::WebDataSource* ds) {} 78 WebKit::WebDataSource* ds) {}
79 virtual void PrintPage(WebKit::WebFrame* frame) {} 79 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {}
80 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} 80 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {}
81 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, 81 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame,
82 WebKit::WebMediaPlayerClient* client) {} 82 WebKit::WebMediaPlayerClient* client) {}
83 virtual void ZoomLevelChanged() {}; 83 virtual void ZoomLevelChanged() {};
84 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} 84 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {}
85 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) {} 85 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) {}
86 86
87 // These match the RenderView methods. 87 // These match the RenderView methods.
88 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} 88 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {}
89 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} 89 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
(...skipping 27 matching lines...) Expand all
117 RenderView* render_view_; 117 RenderView* render_view_;
118 // The routing ID of the associated RenderView. 118 // The routing ID of the associated RenderView.
119 int routing_id_; 119 int routing_id_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 121 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
122 }; 122 };
123 123
124 } // namespace content 124 } // namespace content
125 125
126 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 126 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/print_web_view_helper_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698