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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 125082: Add Print Selection support to Chrome. This change is fairly involved since ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/renderer_host/render_view_host.h" 5 #include "chrome/browser/renderer_host/render_view_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 } 360 }
361 361
362 void RenderViewHost::Stop() { 362 void RenderViewHost::Stop() {
363 Send(new ViewMsg_Stop(routing_id())); 363 Send(new ViewMsg_Stop(routing_id()));
364 } 364 }
365 365
366 bool RenderViewHost::PrintPages() { 366 bool RenderViewHost::PrintPages() {
367 return Send(new ViewMsg_PrintPages(routing_id())); 367 return Send(new ViewMsg_PrintPages(routing_id()));
368 } 368 }
369 369
370 void RenderViewHost::PrintingDone(int document_cookie, bool success) {
371 Send(new ViewMsg_PrintingDone(routing_id(), document_cookie, success));
372 }
373
370 void RenderViewHost::StartFinding(int request_id, 374 void RenderViewHost::StartFinding(int request_id,
371 const string16& search_text, 375 const string16& search_text,
372 bool forward, 376 bool forward,
373 bool match_case, 377 bool match_case,
374 bool find_next) { 378 bool find_next) {
375 if (search_text.empty()) 379 if (search_text.empty())
376 return; 380 return;
377 381
378 WebFindOptions options; 382 WebFindOptions options;
379 options.forward = forward; 383 options.forward = forward;
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 } 1491 }
1488 1492
1489 void RenderViewHost::OnAccessibilityFocusChange(int acc_obj_id) { 1493 void RenderViewHost::OnAccessibilityFocusChange(int acc_obj_id) {
1490 #if defined(OS_WIN) 1494 #if defined(OS_WIN)
1491 BrowserAccessibilityManager::GetInstance()-> 1495 BrowserAccessibilityManager::GetInstance()->
1492 ChangeAccessibilityFocus(acc_obj_id, process()->pid(), routing_id()); 1496 ChangeAccessibilityFocus(acc_obj_id, process()->pid(), routing_id());
1493 #else 1497 #else
1494 // TODO(port): accessibility not yet implemented. See http://crbug.com/8288. 1498 // TODO(port): accessibility not yet implemented. See http://crbug.com/8288.
1495 #endif 1499 #endif
1496 } 1500 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698