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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 224733018: Changes to content/ to facilitate new zoom extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 6 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 | Annotate | Revision Log
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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; 397 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE;
398 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( 398 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
399 size_t width, 399 size_t width,
400 size_t height, 400 size_t height,
401 unsigned internalformat) OVERRIDE; 401 unsigned internalformat) OVERRIDE;
402 402
403 void Init(); 403 void Init();
404 404
405 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 405 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
406 const std::string& host, 406 const std::string& host,
407 double zoom_level); 407 double zoom_level,
408 const std::set<int>& exceptions);
408 void OnCreateNewView(const ViewMsg_New_Params& params); 409 void OnCreateNewView(const ViewMsg_New_Params& params);
409 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 410 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
410 void OnPurgePluginListCache(bool reload_pages); 411 void OnPurgePluginListCache(bool reload_pages);
411 void OnNetworkStateChanged(bool online); 412 void OnNetworkStateChanged(bool online);
412 void OnGetAccessibilityTree(); 413 void OnGetAccessibilityTree();
413 void OnTempCrashWithData(const GURL& data); 414 void OnTempCrashWithData(const GURL& data);
414 void OnUpdateTimezone(); 415 void OnUpdateTimezone();
415 void OnMemoryPressure( 416 void OnMemoryPressure(
416 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); 417 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level);
417 #if defined(OS_ANDROID) 418 #if defined(OS_ANDROID)
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 bool is_low_res_tiling_enabled_; 541 bool is_low_res_tiling_enabled_;
541 bool is_lcd_text_enabled_; 542 bool is_lcd_text_enabled_;
542 bool is_map_image_enabled_; 543 bool is_map_image_enabled_;
543 544
544 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 545 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
545 }; 546 };
546 547
547 } // namespace content 548 } // namespace content
548 549
549 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 550 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698