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

Side by Side Diff: chrome/renderer/render_view.h

Issue 7320: Rename various text zoom related stuff to be more generic, since we now can... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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 | « chrome/common/text_zoom.h ('k') | chrome/renderer/render_view.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) 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 #ifndef CHROME_RENDERER_RENDER_VIEW_H__ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H__ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/scoped_handle.h" 12 #include "base/scoped_handle.h"
13 #include "base/gfx/point.h" 13 #include "base/gfx/point.h"
14 #include "base/gfx/rect.h" 14 #include "base/gfx/rect.h"
15 #include "base/timer.h" 15 #include "base/timer.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/common/page_zoom.h"
17 #include "chrome/common/resource_dispatcher.h" 18 #include "chrome/common/resource_dispatcher.h"
18 #ifdef CHROME_PERSONALIZATION 19 #ifdef CHROME_PERSONALIZATION
19 #include "chrome/personalization/personalization.h" 20 #include "chrome/personalization/personalization.h"
20 #endif 21 #endif
21 #include "chrome/renderer/automation/dom_automation_controller.h" 22 #include "chrome/renderer/automation/dom_automation_controller.h"
22 #include "chrome/renderer/dom_ui_bindings.h" 23 #include "chrome/renderer/dom_ui_bindings.h"
23 #include "chrome/renderer/external_host_bindings.h" 24 #include "chrome/renderer/external_host_bindings.h"
24 #include "chrome/renderer/external_js_object.h" 25 #include "chrome/renderer/external_js_object.h"
25 #include "chrome/renderer/render_process.h" 26 #include "chrome/renderer/render_process.h"
26 #include "chrome/renderer/render_widget.h" 27 #include "chrome/renderer/render_widget.h"
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 void OnCopy(); 366 void OnCopy();
366 void OnPaste(); 367 void OnPaste();
367 void OnReplace(const std::wstring& text); 368 void OnReplace(const std::wstring& text);
368 void OnDelete(); 369 void OnDelete();
369 void OnSelectAll(); 370 void OnSelectAll();
370 void OnCopyImageAt(int x, int y); 371 void OnCopyImageAt(int x, int y);
371 void OnInspectElement(int x, int y); 372 void OnInspectElement(int x, int y);
372 void OnShowJavaScriptConsole(); 373 void OnShowJavaScriptConsole();
373 void OnCancelDownload(int32 download_id); 374 void OnCancelDownload(int32 download_id);
374 void OnFind(const FindInPageRequest& request); 375 void OnFind(const FindInPageRequest& request);
375 void OnAlterTextSize(int size); 376 void OnZoom(int function);
376 void OnSetPageEncoding(const std::wstring& encoding_name); 377 void OnSetPageEncoding(const std::wstring& encoding_name);
377 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 378 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
378 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 379 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
379 const std::vector<std::wstring>& links, 380 const std::vector<std::wstring>& links,
380 const std::vector<std::wstring>& local_paths, 381 const std::vector<std::wstring>& local_paths,
381 const std::wstring& local_directory_name); 382 const std::wstring& local_directory_name);
382 void OnUploadFileRequest(const ViewMsg_UploadFile_Params& p); 383 void OnUploadFileRequest(const ViewMsg_UploadFile_Params& p);
383 void OnFormFill(const FormData& form); 384 void OnFormFill(const FormData& form);
384 void OnFillPasswordForm(const PasswordFormDomManager::FillData& form_data); 385 void OnFillPasswordForm(const PasswordFormDomManager::FillData& form_data);
385 void OnDragTargetDragEnter(const WebDropData& drop_data, 386 void OnDragTargetDragEnter(const WebDropData& drop_data,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 // True if pop-up blocking is disabled. False by default. 614 // True if pop-up blocking is disabled. False by default.
614 bool disable_popup_blocking_; 615 bool disable_popup_blocking_;
615 616
616 // True if the page has any frame-level unload or beforeunload listeners. 617 // True if the page has any frame-level unload or beforeunload listeners.
617 bool has_unload_listener_; 618 bool has_unload_listener_;
618 619
619 // Handles accessibility requests into the renderer side, as well as 620 // Handles accessibility requests into the renderer side, as well as
620 // maintains the cache and other features of the accessibility tree. 621 // maintains the cache and other features of the accessibility tree.
621 scoped_ptr<GlueAccessibility> glue_accessibility_; 622 scoped_ptr<GlueAccessibility> glue_accessibility_;
622 623
623 DISALLOW_EVIL_CONSTRUCTORS(RenderView); 624 DISALLOW_COPY_AND_ASSIGN(RenderView);
624 }; 625 };
625 626
626 #endif // CHROME_RENDERER_RENDER_VIEW_H__ 627 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/text_zoom.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698