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

Side by Side Diff: content/browser/web_contents/web_contents_view_guest.cc

Issue 11953084: Browser Plugin: Removed spammy NOTIMPLEMENTED() messages in RWHVG/WCVG (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed more NOTIMPLEMENTED() Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_guest.cc ('k') | 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 (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 #include "content/browser/web_contents/web_contents_view_guest.h" 5 #include "content/browser/web_contents/web_contents_view_guest.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/browser/renderer_host/render_view_host_factory.h" 8 #include "content/browser/renderer_host/render_view_host_factory.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/browser/renderer_host/render_widget_host_view_guest.h" 10 #include "content/browser/renderer_host/render_widget_host_view_guest.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 Focus(); 94 Focus();
95 } 95 }
96 96
97 gfx::Rect WebContentsViewGuest::GetViewBounds() const { 97 gfx::Rect WebContentsViewGuest::GetViewBounds() const {
98 gfx::Rect rect(0, 0, requested_size_.width(), requested_size_.height()); 98 gfx::Rect rect(0, 0, requested_size_.width(), requested_size_.height());
99 return rect; 99 return rect;
100 } 100 }
101 101
102 #if defined(OS_MACOSX) 102 #if defined(OS_MACOSX)
103 void WebContentsViewGuest::SetAllowOverlappingViews(bool overlapping) { 103 void WebContentsViewGuest::SetAllowOverlappingViews(bool overlapping) {
104 NOTIMPLEMENTED();
105 } 104 }
106 #endif 105 #endif
107 106
108 WebContents* WebContentsViewGuest::web_contents() { 107 WebContents* WebContentsViewGuest::web_contents() {
109 return web_contents_; 108 return web_contents_;
110 } 109 }
111 110
112 void WebContentsViewGuest::RenderViewCreated(RenderViewHost* host) { 111 void WebContentsViewGuest::RenderViewCreated(RenderViewHost* host) {
113 } 112 }
114 113
115 bool WebContentsViewGuest::IsEventTracking() const { 114 bool WebContentsViewGuest::IsEventTracking() const {
116 return false; 115 return false;
117 } 116 }
118 117
119 void WebContentsViewGuest::RestoreFocus() { 118 void WebContentsViewGuest::RestoreFocus() {
120 SetInitialFocus(); 119 SetInitialFocus();
121 } 120 }
122 121
123 void WebContentsViewGuest::SetPageTitle(const string16& title) { 122 void WebContentsViewGuest::SetPageTitle(const string16& title) {
124 NOTIMPLEMENTED();
125 } 123 }
126 124
127 void WebContentsViewGuest::OnTabCrashed(base::TerminationStatus status, 125 void WebContentsViewGuest::OnTabCrashed(base::TerminationStatus status,
128 int error_code) { 126 int error_code) {
129 NOTIMPLEMENTED();
130 } 127 }
131 128
132 void WebContentsViewGuest::Focus() { 129 void WebContentsViewGuest::Focus() {
133 NOTIMPLEMENTED();
134 } 130 }
135 131
136 void WebContentsViewGuest::StoreFocus() { 132 void WebContentsViewGuest::StoreFocus() {
137 NOTIMPLEMENTED();
138 } 133 }
139 134
140 WebDropData* WebContentsViewGuest::GetDropData() const { 135 WebDropData* WebContentsViewGuest::GetDropData() const {
141 NOTIMPLEMENTED(); 136 NOTIMPLEMENTED();
142 return NULL; 137 return NULL;
143 } 138 }
144 139
145 void WebContentsViewGuest::CloseTabAfterEventTracking() { 140 void WebContentsViewGuest::CloseTabAfterEventTracking() {
146 NOTIMPLEMENTED();
147 } 141 }
148 142
149 void WebContentsViewGuest::UpdateDragCursor(WebDragOperation operation) { 143 void WebContentsViewGuest::UpdateDragCursor(WebDragOperation operation) {
150 NOTIMPLEMENTED(); 144 NOTIMPLEMENTED();
151 } 145 }
152 146
153 void WebContentsViewGuest::GotFocus() { 147 void WebContentsViewGuest::GotFocus() {
154 NOTIMPLEMENTED();
155 } 148 }
156 149
157 void WebContentsViewGuest::TakeFocus(bool reverse) { 150 void WebContentsViewGuest::TakeFocus(bool reverse) {
158 NOTIMPLEMENTED();
159 } 151 }
160 152
161 void WebContentsViewGuest::ShowContextMenu( 153 void WebContentsViewGuest::ShowContextMenu(
162 const ContextMenuParams& params, 154 const ContextMenuParams& params,
163 ContextMenuSourceType type) { 155 ContextMenuSourceType type) {
164 NOTIMPLEMENTED(); 156 NOTIMPLEMENTED();
165 } 157 }
166 158
167 void WebContentsViewGuest::ShowPopupMenu(const gfx::Rect& bounds, 159 void WebContentsViewGuest::ShowPopupMenu(const gfx::Rect& bounds,
168 int item_height, 160 int item_height,
169 double item_font_size, 161 double item_font_size,
170 int selected_item, 162 int selected_item,
171 const std::vector<WebMenuItem>& items, 163 const std::vector<WebMenuItem>& items,
172 bool right_aligned, 164 bool right_aligned,
173 bool allow_multiple_selection) { 165 bool allow_multiple_selection) {
174 // External popup menus are only used on Mac and Android. 166 // External popup menus are only used on Mac and Android.
175 NOTIMPLEMENTED(); 167 NOTIMPLEMENTED();
176 } 168 }
177 169
178 void WebContentsViewGuest::StartDragging( 170 void WebContentsViewGuest::StartDragging(
179 const WebDropData& drop_data, 171 const WebDropData& drop_data,
180 WebDragOperationsMask ops, 172 WebDragOperationsMask ops,
181 const gfx::ImageSkia& image, 173 const gfx::ImageSkia& image,
182 const gfx::Vector2d& image_offset, 174 const gfx::Vector2d& image_offset,
183 const DragEventSourceInfo& event_info) { 175 const DragEventSourceInfo& event_info) {
184 NOTIMPLEMENTED(); 176 NOTIMPLEMENTED();
185 } 177 }
186 178
187 } // namespace content 179 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_guest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698