OLD | NEW |
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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 418 |
419 // mojo::ShellClient implementation: | 419 // mojo::ShellClient implementation: |
420 virtual void AcceptConnection( | 420 virtual void AcceptConnection( |
421 const mojo::String& service_name, | 421 const mojo::String& service_name, |
422 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; | 422 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; |
423 | 423 |
424 void Init(); | 424 void Init(); |
425 | 425 |
426 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 426 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
427 const std::string& host, | 427 const std::string& host, |
428 double zoom_level); | 428 double zoom_level, |
| 429 const std::set<int>& exceptions); |
429 void OnCreateNewView(const ViewMsg_New_Params& params); | 430 void OnCreateNewView(const ViewMsg_New_Params& params); |
430 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 431 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
431 void OnPurgePluginListCache(bool reload_pages); | 432 void OnPurgePluginListCache(bool reload_pages); |
432 void OnNetworkStateChanged(bool online); | 433 void OnNetworkStateChanged(bool online); |
433 void OnGetAccessibilityTree(); | 434 void OnGetAccessibilityTree(); |
434 void OnTempCrashWithData(const GURL& data); | 435 void OnTempCrashWithData(const GURL& data); |
435 void OnUpdateTimezone(); | 436 void OnUpdateTimezone(); |
436 void OnMemoryPressure( | 437 void OnMemoryPressure( |
437 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); | 438 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); |
438 #if defined(OS_ANDROID) | 439 #if defined(OS_ANDROID) |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 bool is_distance_field_text_enabled_; | 563 bool is_distance_field_text_enabled_; |
563 bool is_zero_copy_enabled_; | 564 bool is_zero_copy_enabled_; |
564 bool is_one_copy_enabled_; | 565 bool is_one_copy_enabled_; |
565 | 566 |
566 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 567 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
567 }; | 568 }; |
568 | 569 |
569 } // namespace content | 570 } // namespace content |
570 | 571 |
571 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 572 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |