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

Side by Side Diff: chrome/browser/tab_contents/web_contents_view_mac.mm

Issue 67044: Fix missing backing store in Linux. (Closed)
Patch Set: Delete unnecessary member variable. Created 11 years, 8 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/browser/tab_contents/web_contents_view_mac.h" 5 #include "chrome/browser/tab_contents/web_contents_view_mac.h"
6 6
7 #include "chrome/browser/browser.h" // TODO(beng): this dependency is awful. 7 #include "chrome/browser/browser.h" // TODO(beng): this dependency is awful.
8 #include "chrome/browser/cocoa/sad_tab_view.h" 8 #include "chrome/browser/cocoa/sad_tab_view.h"
9 #include "chrome/browser/renderer_host/render_widget_host.h" 9 #include "chrome/browser/renderer_host/render_widget_host.h"
10 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h" 10 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 150 }
151 151
152 void WebContentsViewMac::StoreFocus() { 152 void WebContentsViewMac::StoreFocus() {
153 // TODO(port) 153 // TODO(port)
154 } 154 }
155 155
156 void WebContentsViewMac::RestoreFocus() { 156 void WebContentsViewMac::RestoreFocus() {
157 // TODO(port) 157 // TODO(port)
158 } 158 }
159 159
160 void WebContentsView::SetChildSize(RenderWidgetHostView* rwh_view) {
161 rwh_view->SetSize(GetContainerSize());
162 }
163
160 void WebContentsViewMac::UpdateDragCursor(bool is_drop_target) { 164 void WebContentsViewMac::UpdateDragCursor(bool is_drop_target) {
161 NOTIMPLEMENTED(); 165 NOTIMPLEMENTED();
162 } 166 }
163 167
164 void WebContentsViewMac::TakeFocus(bool reverse) { 168 void WebContentsViewMac::TakeFocus(bool reverse) {
165 [cocoa_view_.get() becomeFirstResponder]; 169 [cocoa_view_.get() becomeFirstResponder];
166 } 170 }
167 171
168 void WebContentsViewMac::HandleKeyboardEvent( 172 void WebContentsViewMac::HandleKeyboardEvent(
169 const NativeWebKeyboardEvent& event) { 173 const NativeWebKeyboardEvent& event) {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 } 285 }
282 286
283 - (void)paste:(id)sender { 287 - (void)paste:(id)sender {
284 webContentsView_->web_contents()->Paste(); 288 webContentsView_->web_contents()->Paste();
285 } 289 }
286 290
287 // Tons of stuff goes here, where we grab events going on in Cocoaland and send 291 // Tons of stuff goes here, where we grab events going on in Cocoaland and send
288 // them into the C++ system. TODO(avi): all that jazz 292 // them into the C++ system. TODO(avi): all that jazz
289 293
290 @end 294 @end
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_contents_view_mac.h ('k') | chrome/browser/tab_contents/web_contents_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698