clang-format chromium_src

This commit is contained in:
Shelley Vohr 2018-04-17 21:47:44 -04:00
parent c090dd2f81
commit 8cc81509d7
No known key found for this signature in database
GPG key ID: F13993A75599653C
38 changed files with 202 additions and 231 deletions

View file

@ -23,7 +23,7 @@ namespace ppapi {
namespace proxy {
struct SerializedFontDescription;
}
}
} // namespace ppapi
class PepperFlashFontFileHost : public ppapi::host::ResourceHost {
public:

View file

@ -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 {

View file

@ -22,7 +22,7 @@ namespace ppapi {
namespace proxy {
struct PPBFlash_DrawGlyphs_Params;
}
}
} // namespace ppapi
namespace content {
class RendererPpapiHost;

View file

@ -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

View file

@ -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_;

View file

@ -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;