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

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

Issue 854943002: Remove RenderViewObserver::Resized (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test compile Created 5 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
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual void DidUpdateLayout() {} 82 virtual void DidUpdateLayout() {}
83 83
84 // These match the RenderView methods. 84 // These match the RenderView methods.
85 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {} 85 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {}
86 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {} 86 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {}
87 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {} 87 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {}
88 88
89 // These match incoming IPCs. 89 // These match incoming IPCs.
90 virtual void Navigate(const GURL& url) {} 90 virtual void Navigate(const GURL& url) {}
91 virtual void ClosePage() {} 91 virtual void ClosePage() {}
92 virtual void Resized() {}
93 92
94 virtual void OnStop() {} 93 virtual void OnStop() {}
95 94
96 // IPC::Listener implementation. 95 // IPC::Listener implementation.
97 bool OnMessageReceived(const IPC::Message& message) override; 96 bool OnMessageReceived(const IPC::Message& message) override;
98 97
99 // IPC::Sender implementation. 98 // IPC::Sender implementation.
100 bool Send(IPC::Message* message) override; 99 bool Send(IPC::Message* message) override;
101 100
102 RenderView* render_view() const; 101 RenderView* render_view() const;
(...skipping 19 matching lines...) Expand all
122 RenderView* render_view_; 121 RenderView* render_view_;
123 // The routing ID of the associated RenderView. 122 // The routing ID of the associated RenderView.
124 int routing_id_; 123 int routing_id_;
125 124
126 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 125 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
127 }; 126 };
128 127
129 } // namespace content 128 } // namespace content
130 129
131 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 130 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698