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

Side by Side Diff: content/shell/renderer/test_runner/test_plugin.h

Issue 1009763002: Remove override of updateFocus(bool) in TestPlugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual bool initialize(blink::WebPluginContainer* container); 62 virtual bool initialize(blink::WebPluginContainer* container);
63 virtual void destroy(); 63 virtual void destroy();
64 virtual NPObject* scriptableObject(); 64 virtual NPObject* scriptableObject();
65 virtual bool canProcessDrag() const; 65 virtual bool canProcessDrag() const;
66 virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) {} 66 virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) {}
67 virtual void updateGeometry( 67 virtual void updateGeometry(
68 const blink::WebRect& frame_rect, 68 const blink::WebRect& frame_rect,
69 const blink::WebRect& clip_rect, 69 const blink::WebRect& clip_rect,
70 const blink::WebVector<blink::WebRect>& cut_outs_rects, 70 const blink::WebVector<blink::WebRect>& cut_outs_rects,
71 bool is_visible); 71 bool is_visible);
72 virtual void updateFocus(bool focus) {} 72 virtual void updateFocus(bool focus, blink::WebFocusType focus_type) {}
73 virtual void updateVisibility(bool visibility) {} 73 virtual void updateVisibility(bool visibility) {}
74 virtual bool acceptsInputEvents(); 74 virtual bool acceptsInputEvents();
75 virtual bool handleInputEvent(const blink::WebInputEvent& event, 75 virtual bool handleInputEvent(const blink::WebInputEvent& event,
76 blink::WebCursorInfo& info); 76 blink::WebCursorInfo& info);
77 virtual bool handleDragStatusUpdate(blink::WebDragStatus drag_status, 77 virtual bool handleDragStatusUpdate(blink::WebDragStatus drag_status,
78 const blink::WebDragData& data, 78 const blink::WebDragData& data,
79 blink::WebDragOperationsMask mask, 79 blink::WebDragOperationsMask mask,
80 const blink::WebPoint& position, 80 const blink::WebPoint& position,
81 const blink::WebPoint& screen_position); 81 const blink::WebPoint& screen_position);
82 virtual void didReceiveResponse(const blink::WebURLResponse& response) {} 82 virtual void didReceiveResponse(const blink::WebURLResponse& response) {}
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 bool is_persistent_; 173 bool is_persistent_;
174 bool can_create_without_renderer_; 174 bool can_create_without_renderer_;
175 175
176 DISALLOW_COPY_AND_ASSIGN(TestPlugin); 176 DISALLOW_COPY_AND_ASSIGN(TestPlugin);
177 }; 177 };
178 178
179 } // namespace content 179 } // namespace content
180 180
181 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ 181 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698