clang-format chromium_src
This commit is contained in:
parent
c090dd2f81
commit
8cc81509d7
38 changed files with 202 additions and 231 deletions
|
@ -23,7 +23,7 @@ namespace ppapi {
|
|||
namespace proxy {
|
||||
struct SerializedFontDescription;
|
||||
}
|
||||
}
|
||||
} // namespace ppapi
|
||||
|
||||
class PepperFlashFontFileHost : public ppapi::host::ResourceHost {
|
||||
public:
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
namespace content {
|
||||
class RendererPpapiHost;
|
||||
struct MenuItem;
|
||||
}
|
||||
} // namespace content
|
||||
|
||||
namespace ppapi {
|
||||
namespace proxy {
|
||||
class SerializedFlashMenu;
|
||||
}
|
||||
}
|
||||
} // namespace ppapi
|
||||
|
||||
class PepperFlashMenuHost : public ppapi::host::ResourceHost,
|
||||
public content::ContextMenuClient {
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace ppapi {
|
|||
namespace proxy {
|
||||
struct PPBFlash_DrawGlyphs_Params;
|
||||
}
|
||||
}
|
||||
} // namespace ppapi
|
||||
|
||||
namespace content {
|
||||
class RendererPpapiHost;
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace ppapi {
|
|||
namespace proxy {
|
||||
class SerializedHandle;
|
||||
}
|
||||
}
|
||||
} // namespace ppapi
|
||||
|
||||
// Implements the backend for shared memory messages from a plugin process.
|
||||
class PepperSharedMemoryMessageFilter
|
||||
|
|
|
@ -106,7 +106,6 @@ class PrintWebViewHelper
|
|||
#endif // !DISABLE_BASIC_PRINTING
|
||||
void OnPrintPreview(const base::DictionaryValue& settings);
|
||||
|
||||
|
||||
// Get |page_size| and |content_area| information from
|
||||
// |page_layout_in_points|.
|
||||
void GetPageSizeAndContentAreaFromPageLayout(
|
||||
|
@ -131,7 +130,6 @@ class PrintWebViewHelper
|
|||
bool RenderPreviewPage(int page_number,
|
||||
const PrintMsg_Print_Params& print_params);
|
||||
|
||||
|
||||
// Initialize the print preview document.
|
||||
bool CreatePreviewDocument();
|
||||
|
||||
|
@ -154,10 +152,11 @@ class PrintWebViewHelper
|
|||
const base::string16& device_name = base::string16());
|
||||
|
||||
// Calculate number of pages in source document.
|
||||
bool CalculateNumberOfPages(blink::WebLocalFrame* frame,
|
||||
const blink::WebNode& node,
|
||||
int* number_of_pages,
|
||||
const base::string16& device_name = base::string16());
|
||||
bool CalculateNumberOfPages(
|
||||
blink::WebLocalFrame* frame,
|
||||
const blink::WebNode& node,
|
||||
int* number_of_pages,
|
||||
const base::string16& device_name = base::string16());
|
||||
|
||||
// Update the current print settings with new |passed_job_settings|.
|
||||
// |passed_job_settings| dictionary contains print job details such as printer
|
||||
|
@ -166,7 +165,6 @@ class PrintWebViewHelper
|
|||
const blink::WebNode& node,
|
||||
const base::DictionaryValue& passed_job_settings);
|
||||
|
||||
|
||||
// Get final print settings from the user.
|
||||
// Return false if the user cancels or on error.
|
||||
bool GetPrintSettingsFromUser(blink::WebLocalFrame* frame,
|
||||
|
@ -373,7 +371,6 @@ class PrintWebViewHelper
|
|||
State state_;
|
||||
};
|
||||
|
||||
|
||||
bool print_node_in_progress_;
|
||||
bool is_loading_;
|
||||
bool is_scripted_preview_delayed_;
|
||||
|
|
|
@ -25,9 +25,8 @@ struct TtsVoice;
|
|||
// itself when deleted. There can be multiple TtsDispatchers alive at once,
|
||||
// so each one routes IPC messages to its WebSpeechSynthesizerClient only if
|
||||
// the utterance id (which is globally unique) matches.
|
||||
class TtsDispatcher
|
||||
: public blink::WebSpeechSynthesizer,
|
||||
public content::RenderThreadObserver {
|
||||
class TtsDispatcher : public blink::WebSpeechSynthesizer,
|
||||
public content::RenderThreadObserver {
|
||||
public:
|
||||
explicit TtsDispatcher(blink::WebSpeechSynthesizerClient* client);
|
||||
virtual ~TtsDispatcher();
|
||||
|
@ -38,8 +37,8 @@ class TtsDispatcher
|
|||
|
||||
// blink::WebSpeechSynthesizer implementation.
|
||||
virtual void UpdateVoiceList() override;
|
||||
virtual void Speak(const blink::WebSpeechSynthesisUtterance& utterance)
|
||||
override;
|
||||
virtual void Speak(
|
||||
const blink::WebSpeechSynthesisUtterance& utterance) override;
|
||||
virtual void Pause() override;
|
||||
virtual void Resume() override;
|
||||
virtual void Cancel() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue